S32K148

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

S32K148

547件の閲覧回数
AdithyaJayaram1996
Contributor III

We are currently experiencing a write timeout issue in the CAN TP layer while flashing over UDS. Initially, no data bytes were being transferred before the timeout. However, after applying certain optimizations, we now observe that some data gets transmitted before the timeout occurs.

Given this behavior, we would like to understand if there are any application examples or reference implementations that address similar scenarios, particularly in:

  • CAN0 and CAN2 synchronization issues (since CAN0 is using RxFIFO and CAN2 is FD CAN).
  • Impact of compiler optimizations on CAN communication (specifically, potential effects on ISR execution, buffer handling, or timing).
  • Debugging recommendations to confirm if the issue is related to optimization, clock synchronization, or task scheduling.
タグ(1)
0 件の賞賛
返信
1 返信

513件の閲覧回数
PetrS
NXP TechSupport
NXP TechSupport

Hi,

i am afraid there is no certain application example or ref. implementation that can help to understand compiler optimization, its impact on CAN communication and things like that. Exchanging data between CAN modules is simply user application task. If you are using higher protocol services (USD, FreeRTOS, etc.) we are not able to help on that much, this does not lay within the scope of our support.
If you are able to simplified issue, provide a very basic project that does not involve stacks, we can try to help you locate and analyze the cause of the problem.
This way any debugging recommendation is hard to give.

BR, Petr

0 件の賞賛
返信