We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hi, I'm developing an application with CAN bus interface for the STM32F303. Are there any documents with an introduction to CMSIS CAN Bus Driver and examples? If I understood it correctly the CAN bus is not listed in the Device Family Pack (DFP). I'm develop with ARM MDK V5. Thanks !
Latest STM32F200_DFP and STM32F400 packs include respective CAN drivers as well as CAN examples, you can use any of those CAN drivers copy it into your project and correct any differences like include files and similar.
Thanks ! this works fine. Is this procedure also possible for other drivers, like UART,.. ?
Of course, as far as peripherals are same between families which usually are but if they are different then you need to tailor the drivers to suit the peripheral.
It seems to be a bit more difficult to use the UART driver from F2 or F4 for the F3, because the register structure differs. Do you know a family with the same UART as the F3 ?
Only logical thing that comes to my mind is F1 series, but you will need to go through reference manuals to find the match if there is one.