Hi Support Team,
I set a PIT timer to enter the callback function once every 10ms. It base on SW32K3_RTD_4.4_2.0.0.
When I use Lpspi_Ip_SyncTransmit to send 2 bytes, the timer works fine.
But the timer doesn't work after I send 30 bytes using Lpspi_Ip_SyncTransmit.
Can you tell me why this happened?
Thanks
The synchronization operate will block the current thread until the function is executed before continuing other operations, so make sure there is enough time to complete the current transfer.
You can try extending the PIT timing time and then test again
Hi Support Team,
I try to use Pit_Ip_StartChannel to extend 1 sec but still not work.
Should I change spi transmit method to Lpspi_Ip_AsyncTransmit?
If yes, how to use Lpspi_Ip_AsyncTransmit to send data? Could you give me a example?
Thanks
I made a very simple routine, you can refer to it and test it. I did not have the problem you mentioned.
Hi Support Team,
Because you provide test project is based on RTD 3.0.0, I install it and test your project. It works fine.
Then I retry my project it works fine too without any modification.
Thank you
you can sent me your project and i will help you check it.