CANFD configuration with CAN 2.0 devices
I am using CANFD with an STM32H7 and a transceiver that is compatible with CANFD and CAN 2.0 (ISO1044BDR).
I can see that in the configuration the CANFD can be used as a CAN 2.0.
What I want to know is what is the easiest way to integrate the flexibility between choosing of using CANFD or CAN 2.0 in my project. I'm planning on using a DIP switch to signal the MCU what I'm using.
Or is there a way to keep the CANFD code and communicate with other CAN 2.0 devices - probably not as the packet is not the same and other parameters...
The second question here is can I include both functionalities (CAN 2.0 and CANFD) and choose it at run time which one I want to use?
Thanks
