2022-01-11 06:07 AM
2022-01-12 01:38 AM
from //can-newsletter.org : "Hybrid CAN and CAN FD networks":
it says: "While CAN FD controllers can interpret and transmit both CAN FD and Classical CAN messages, Classical CAN controllers will report CAN FD messages as an error. This mandates a strict separation of CAN FD and Classical CAN networks".
2022-01-12 01:15 AM
Dear @ABouk.1
If you are looking for the usage of FDCAN peripheral to communicate (in CAN FD mode) with a classical can on the same bus , you can refer to these documents they are discussing cohabitation of CAN and CAN FD in the same bus/system:
Knowing that, you can configure FDCAN peripheral in classical CAN mode.
I think the best way is to use an MCU with two FDCAN peripherals, one which communicates with CAN FD protocol and the other configured in classical mode in such way you will have a bridge between classical CAN and CAN FD.
2022-01-12 01:19 AM
@Community member you should take a lok at AN5348
page 2:
CAN-FD features
Main features of the CAN-FD protocol are listed below:
• Compatibility with the CAN protocol: CAN-FD node is able to send/receive CAN messages according to
ISO 11898-1
page5:
And this is why FDCAN supports CAN2.0, the data frames are very similar
2022-01-12 01:25 AM
@Javier Muñoz ,
This is when FDCAN peripheral is configured in classical mode so no CAN FD frame is transmitted on the bus. I think the original question is: the possibility of the cohabitation of classical CAN & CAN FD frames on the same bus which causes CAN errors from the node using classical CAN frame format according to the doc I mentioned previously in link 2.
2022-01-12 01:38 AM
from //can-newsletter.org : "Hybrid CAN and CAN FD networks":
it says: "While CAN FD controllers can interpret and transmit both CAN FD and Classical CAN messages, Classical CAN controllers will report CAN FD messages as an error. This mandates a strict separation of CAN FD and Classical CAN networks".
2022-01-12 01:49 AM
I understand that I must configure the frame Format on Classic mode in order to send/receive CAN 2.0 frames with the FDCAN controller.
There is also some configuration to set up the bus timings (Mbit/s - timeseg1 - timeseg2 ...)
2022-01-12 01:54 AM
For FDCAN in classical mode configuration, please refer to the example provided in STM32CubeH7 under the path STM32H743I-EVAL\Examples\FDCAN\FDCAN_Classic_Frame_Networking
-> No config of nominal bit time for Data phase.
2022-02-18 05:23 AM
What about the CRC length if a CAN 2.0 MCU communicate with a FDCAN MCU in classic mode ??
2022-02-18 05:49 AM
In Classic mode, FDCAN behaves as classical CAN.
See example provided in STM32CubeH7 under the path: Projects\STM32H743I-EVAL\Examples\FDCAN\FDCAN_Classic_Frame_Networking
This example shows how to send/receive classical CAN frames using FDCAN peripheral to/from STM32 MCUs featuring bxCAN like STM32F1, STM32F4 families etc ..