Quantcast
Channel: Forums - Recent Threads
Viewing all articles
Browse latest Browse all 262198

MSP430F2012: SPI slave no interrupt?

$
0
0

Hi all,

I want to connect a Cortex-R4 RM48HDK development board (master) to a launchpad with a MSP430F2012 (slave) using SPI. When I transmit data from the master to the slave, I can correctly see those in USISR on the F2012. If I receive data afterwards without altering anything, I get my original values back at the master, which is what I expected. The problem is, no interrupt is triggered during all of this, even though the SPI interrupt is enabled in grace. If I manually set USIIFG to 1, an interrupt is triggered as expected. At startup, I did have to clear USIIFG manually before enabling interrupts, otherwise I would get flooded with false interrupts. 

I do not use CS, since only the devices mentioned are on the bus. I expected the interrupt to be triggered on the first incoming data edge, but apparently this is not the case. Am I missing something obvious?

Regards,

Tim


Viewing all articles
Browse latest Browse all 262198

Trending Articles