S32K344 CAN FD

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

S32K344 CAN FD

990 次查看
GuanHong
Contributor II

When I use PCAN-USB pro to recieve 64 bytes data from S32K344.

PCAN-USB pro only recieved the first 8 bytes, and the remaining 56 bytes are missing.

When I use PCAN-USB pro to transemit 64 bytes data to S32K344.

S32K344 recieve 64 bytes data successfully.

螢幕擷取畫面 2025-07-14 111103.png

标记 (2)
0 项奖励
回复
6 回复数

968 次查看
PetrS
NXP TechSupport
NXP TechSupport

Hi,

have you set the tx_info parameter properly to use CAN FD frame with desired payload size?

PetrS_0-1752485679042.png

BR, Petr

 

0 项奖励
回复

957 次查看
GuanHong
Contributor II

I am using MCAL to build this project.
In the previous message, I attached my project.

0 项奖励
回复

904 次查看
PetrS
NXP TechSupport
NXP TechSupport

Hi,

I am not able to view/download project. So be sure you updated Can_PduInfo as per need.

BR, Petr

0 项奖励
回复

899 次查看
GuanHong
Contributor II

I upload file again.

0 项奖励
回复

881 次查看
PetrS
NXP TechSupport
NXP TechSupport

Hi,

try to remove Can_43_FLEXCAN_SetControllerMode calls after sending message. Not sure why you stop/start controller.

BR, Petr

0 项奖励
回复

577 次查看
GuanHong
Contributor II

Platform:S32DS3.5

SDK:PlatformSDK_S32K3_S32K344_M7-5.0.0
I connected channel 1 of the oscilloscope to the S32K344's CAN H, and channel 2 to the S32K344's CAN L, and obtained the following waveform.

9f403e21-10b8-471f-ae51-055485434878.jpg

I have already set the CAN payload to 64 bytes, but the DLC shown on the oscilloscope is still 8 instead of 64.

Can_43_FLEXCAN-CanConfigSet-CanControllerCan_43_FLEXCAN-CanConfigSet-CanControllerCan_43_FLEXCAN-CanConfigSet-TRANSMITCan_43_FLEXCAN-CanConfigSet-TRANSMITCan_43_FLEXCAN-CanConfigSet-RECEIVECan_43_FLEXCAN-CanConfigSet-RECEIVE

 

0 项奖励
回复