ee_gary wrote: > Long time lurker, first time poster... > > I've set the SPIE bit in the Control Register. I can see the SPIF bit > get set in the Status Register. However, I do NOT see the SPI > Interrupt bit get set in the Interrupt Register. Shouldn't this occur > as soon as the SPIF bit is set, regardless of how the VIC is set up? > I have the VIC set up "correctly", but the ISR never executes > (presumably because the SPI Interrupt never fires). I've had > interrupts working correctly for UART0 and a timer, so I know that > interrupts can work (they just aren't in this occasion). > > I can do non-interrupt SPI transmits (i.e. the 1st byte of an > interrupt-based multibye transfer) so I know the hardware is ok (SSEL > = 1). I've duplicated this on the MCB2130 and a LPC2214 dev board. > > Any insight from those that have implemented interrupt based SPI is > appreciated. > > Stumped in Seattle... > Please can you send a small portion of source code? It sounds unbelievable. Sten -- /************************************************ Do you need a tiny and efficient real time operating system (RTOS) with a preemtive multitasking for LPC2000 or AT91SAM7? http://nanortos.net-attack.de/ Or some open-source tools and code for LPC2000? http://www.net-attack.de/ ************************************************/
Message
Re: [lpc2000] SPI Interrupt not firing?
2005-10-12 by Sten
Attachments
- No local attachments were found for this message.