Hi,
have you set the tx_info parameter properly to use CAN FD frame with desired payload size?
BR, Petr
I am using MCAL to build this project.
In the previous message, I attached my project.
Hi,
I am not able to view/download project. So be sure you updated Can_PduInfo as per need.
BR, Petr
Hi,
try to remove Can_43_FLEXCAN_SetControllerMode calls after sending message. Not sure why you stop/start controller.
BR, Petr
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.
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-CanController
Can_43_FLEXCAN-CanConfigSet-TRANSMIT
Can_43_FLEXCAN-CanConfigSet-RECEIVE