cancel
Showing results for 
Search instead for 
Did you mean: 

STM32H723 FDCAN1 AT CLASSIC MODE Not Working

JYI
Associate II

FDCAN1 Settings:

FDCAN_FRAME_CLASSIC;

FDCAN_MODE_NORMAL;

FDCAN_EXTENDED_ID;

FDCAN_FILTER_MASK;

TX/RX FIFO Enabled.

Call Functions In sequency:

MX_FDCAN1_Init();

 hfdcan1.Init.NominalPrescaler = 5;

 hfdcan1.Init.NominalSyncJumpWidth = 3;

 hfdcan1.Init.NominalTimeSeg1 = 15;

 hfdcan1.Init.NominalTimeSeg2 = 4;

TQ=50ns, Baud Rate=1000000 bit/s

HAL_FDCAN_ConfigFilter();

HAL_FDCAN_ConfigRxFifoOverwrite();

HAL_FDCAN_ConfigFifoWatermark();

HAL_FDCAN_ConfigInterruptLines();

HAL_FDCAN_ActivateNotification();

HAL_FDCAN_Start();

Afterall, nothing happened.

Pin CAN_TX stays high (3.3V).

Anything missing for setup?

Thanks.

JYI

1 REPLY 1
Imen.D
ST Employee

Hello @Community member​ ;

You can review the FDCAN example provided in STM32CubeH7 MCU package under:

\Repository\STM32Cube_FW_H7_V1.x.x\Projects\STM32H743I-EVAL\Examples\FDCAN\

You can get inspiration from this example to develop your application.

Imen

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen