Reception of standard short CAN frames in long message buffers when using CAN LLCE

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

Reception of standard short CAN frames in long message buffers when using CAN LLCE

ソリューションへジャンプ
551件の閲覧回数
AsmId
Contributor III

Dear NXP community,

I'm currently using LLCE firmware v1.0.7 on S32G274A eval board.

When I send a CAN standard frame (8bytes), via my CAN log tool, to the LLCE, it handles it as if it is a long frame (greater than 8Bytes).So When I get the Rx descriptor table index, I found it lower than LLCE_CAN_CONFIG_MAXRXMB (1732) which corresponds to the long frames.

I should have gotten an index greater than LLCE_CAN_CONFIG_MAXRXMB because I send to LLCE only short frames.

Do you have any idea about what can cause this behavior ?

Thank you for your support.

 Best regards,

 

タグ(3)
0 件の賞賛
返信
1 解決策
524件の閲覧回数
Daniel-Aguirre
NXP TechSupport
NXP TechSupport

Hi,

Are you using any of the NXP available examples? Can you share with us the configuration for the CanHardwareObject you are using and shows the behavior? How did you configure the CanObject Payload Lenght?

For the information, there is only 2 types of messages and it is defined by the following structure:

DanielAguirre_0-1716411119765.png

Seems to be a misconfiguration of the filter at this moment.

Please, let us know.

元の投稿で解決策を見る

2 返答(返信)
525件の閲覧回数
Daniel-Aguirre
NXP TechSupport
NXP TechSupport

Hi,

Are you using any of the NXP available examples? Can you share with us the configuration for the CanHardwareObject you are using and shows the behavior? How did you configure the CanObject Payload Lenght?

For the information, there is only 2 types of messages and it is defined by the following structure:

DanielAguirre_0-1716411119765.png

Seems to be a misconfiguration of the filter at this moment.

Please, let us know.

497件の閲覧回数
AsmId
Contributor III

Hi @Daniel-Aguirre ,

Indeed you are right. I solved the problem.

The issue was due to the fact that I've not set Llce_CanRx_MbLengthType to the correct value.

Thank you for your support.

Best regards,

0 件の賞賛
返信