S32K344 CAN FD

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

S32K344 CAN FD

995 Views
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

Tags (2)
0 Kudos
Reply
6 Replies

973 Views
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 Kudos
Reply

962 Views
GuanHong
Contributor II

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

0 Kudos
Reply

909 Views
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 Kudos
Reply

904 Views
GuanHong
Contributor II

I upload file again.

0 Kudos
Reply

886 Views
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 Kudos
Reply

582 Views
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 Kudos
Reply