I am using the MSP430F5437A, TI-RTOS v2.00.01.23, CCS v6.
I am trying to get the SPI drivers to work for my project. I believe have most of the settings setup correctly except for the HWI. The user guide states that for MSP430's, an HWI needs to be created statically in order to handle interrupts for the drivers. I got this to successfully work for the I2C bus by setting the HWI ISR function to that stated in the user guide (I2CUSCIB_hwiIntFxn). However, for SPI, the user guide doesn't give a specific function to use, but instead states:
"A DMA interrupt function defined by the user must call the SPI driver's SPI_serviceISR function."
I'm not completely sure how to do that. I tried just using the SPI_serviceISR function as the ISR function for my statically created HWI, but that caused an error.
If anyone has any insight they can give me, I'd appreciate it.