Hello Laurens, Please take a look a the errata for the part you are using. Hint: EXTMODE and EXTPOLAR and also the SPI have some bugs in the first LPCs. Richard. laurensswaans wrote: > 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 > > > > > > ------------------------------------------------------------------------ > YAHOO! GROUPS LINKS > > * Visit your group "lpc2000 > <http://groups.yahoo.com/group/lpc2000>" on the web. > > * To unsubscribe from this group, send an email to: > lpc2000-unsubscribe@yahoogroups.com > <mailto:lpc2000-unsubscribe@yahoogroups.com?subject=Unsubscribe> > > * Your use of Yahoo! Groups is subject to the Yahoo! Terms of > Service <http://docs.yahoo.com/info/terms/>. > > > ------------------------------------------------------------------------ >
Message
Re: [lpc2000] uC hangs when initialising external interrupt
2005-11-23 by Richard Duits
Attachments
- No local attachments were found for this message.