Part Number: TMS570LS3137
Other Parts Discussed in Thread: HALCOGEN
Hello,
TMS570 is SPI master and different chip act as SPI slave. Based on available examples I wrote simple app and am able to send requests and receive answers.
Now I would like to add some more functionality e.g. extra CAN communication, GPIOs etc.
and the question is, how TMS570 will behave when any interrupt comes (e.g. from new CAN message or GPIO) during SPI transmission? I am using spiTransmitData() and spiTransmitAndReceiveData functions generated by HalCoGen. Should be used _disable_IRQ() before and _enable_IRQ() after sending bytes over SPI?
Thank you.