Hi,
I'm working on an SPI controlled motor controller using a TMS320F28069. The mainISR where the controller runs from takes about 50-60us to complete. My SPI data needs to be moved from the RxFifo to a buffer every 4 words or I will get an overflow and loose data. To prevent that I want to interrupt the mainISR with my SPI ISR. My question is this, is it a good idea to interrupt the mainISR to service the SPI? Are there certain function calls in the mainISR that should not be interrupted?
Thanks,
Kevin