Yahoo Groups archive

Lpc2000

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

Message

SPI Interrupt not firing?

2005-10-11 by ee_gary

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...

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.