I'm trying to modify the Lpspi_Ip_InternalLoopback example to create an interrupt at the end of transmission.
I can see that the Lpspi_Ip_ConfigType has a field to enable the interrupt with LPSPI_IP_INTERRUPT.
I do not see any way to enable the interrupt through the peripheral perspective for the SPI driver. Is there a way to enable the interrupt without manually editing the generated code?
Hi hns80,
Sorry for the inconvenience we bring you!
There is currently no way to enable interrupts from the SPI driver's peripheral perspective. This problem has been reported in the system.
IP driver will be in POLLING mode after initialize as default mode, if you want to change to other mode Lpspi_Ip_UpdateTransferMode() should be used.
Best Regards,
Robin
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------