What is relation between Bit-Rate and Nominal & Data parameters setting for FDCAN/CAN interface on STM32 H7xx Family?
I'm working on FDCAN & CAN interface provided on H745XI-DISCO board. I was new to these interface when I started, but now I can say I have good understanding on CAN & FDCAN Bus protocol. Using provided examples with STM32CubeIDE FW for H7 series, I was able to achieve communication over CAN & FDCAN interface; on board between two CAN/FDCAN interface and also across the board using two different DISCO boards.
But now coming to the question, I was able to understand all the init parameter required for FDCAN handle except following 8...
This is configuration I have used from FW example, and I'm able communicate over CAN/FDCAN interface, but I'd like to understand these settings thoroughly, how it impacts CAN/FDCAN Bus.
hfdcan1.Init.NominalPrescaler = 0x1;
hfdcan1.Init.NominalSyncJumpWidth = 0x8;
hfdcan1.Init.NominalTimeSeg1 = 0x1F;
hfdcan1.Init.NominalTimeSeg2 = 0x8;
hfdcan1.Init.DataPrescaler = 0x1;
hfdcan1.Init.DataSyncJumpWidth = 0x4;
hfdcan1.Init.DataTimeSeg1 = 0x5;
hfdcan1.Init.DataTimeSeg2 = 0x4;
While searching for explaination/understanding I got to know that these are required for bit-rate settings of your CAN/FDCAN bus. But it is still unclear to me how Bit-rate & these parameters are related? How bit-rate is changed using fine-tuning of these params.
Any help is appreciated. Thank you!