MCAL CAN Transmit

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

MCAL CAN Transmit

1,504 次查看
sai-bodhanapu
Contributor I

Hello, i am using S32k312 EVB and MCAL autosar drivers for CAN, i can successfully transmit the Classic CAN(without FD), i know it has pay load of 8 bytes, how to use Can_43_FLEXCAN_Write() function to send data larger than 8 bytes, when i try to send 16 bytes to this function, i received only 8 bytes at other end. i tried to use CAN FD but S32DS IDE crashed and could not generate configurations. is there any other way to send the data more than 8 bytes without CAN FD. please let me know. I am attaching the errors in the IDE when i tried to Configure CAN FD.

Screenshot 2023-08-22 163842.png

 Regards,

Sai Praveen Bodhanapu

0 项奖励
回复
1 回复

1,489 次查看
Daniel-Aguirre
NXP TechSupport
NXP TechSupport

Hi,

As per the CAN FD Specification, Classic CAN has a limit of 8 bytes per frame, as shown below:

DanielAguirre_0-1692726471118.png

For messages with more than 8 bytes per frame, CAN FD will be required. As for your error, can you share your CAN configurations under Config Tools? To understand what the error could be.

Also, are you using any example? From which RTD version? Which IDE version are you using?

Please, let us know.

0 项奖励
回复