Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Message

uC hangs when initialising external interrupt

2005-11-23 by laurensswaans

Hello,

I'm using the LPC2129 (on the MCB2100 board by Keil) to communicate 
with an ADC via SPI. The ADC sends a pulse when new data is valid on 
its output and I use this pin to trigger an external interrupt.
I've used interrupts in my designs before so I have a  
routine that works. But as soon as I add the functions (init and 
ISR) the 
microcontroller won't work anymore.

Anyone any idea how come? Has anyone experienced this before?

Besides that, The SPI interface isn't quite working as supposed. 
I've written a program that sends several bytes to the ADC (setting 
some registers). When I'm debugging the microcontroller with the 
ULINK JTAG interface it all works as supposed, but when I stop 
debugging and let the controller run on its own, the bytes that I 
sent did not reach the ADC??????

Any kind of help will be rewarded,

Thanks in advance, Laurens

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.