Hi there,
I created a Uart project using RTD5.0, If D_CACHE is enabled, and called Lpuart_Uart_Ip_AsyncReceive() before send. It will trigger UsageFault.
If i undefined the D_CACHE_ENABLE Macro, It works fine.
or,
If i comment Lpuart_Uart_Ip_AsyncReceive() , the uart can send data normally, but can not receive any data now.
so, How should I solve this problem?
Thanks!
Here is my S32DS 3.5 with RTD 5.0 project.
The root cause of this problem has been found. the thread stack is too small caused the context to be corrupted.
here is my project.