一、使用
1.安裝STM32CubeMX。 安裝具體方法參考:https://www.cnblogs.com/strongerHuang/p/5778216.html
2.STM32CubeMX使用教程參考:http://www.mculover666.cn/posts/578764034/
3.STM32CubeMX時鍾配置: https://blog.csdn.net/weixin_44584198/article/details/118962187
4.STM32CubeMX FDCAN 波特率計算和配置: https://www.cnblogs.com/Tuple-Joe/p/13278462.html
二、下載芯片對應的HAL庫在官網上好難找,在STM32CubeMX就很方便下載到自己想要的HAL庫。
1.打開STM32CubeMX,菜單Help 里面"Updater Settings" 查看下載過的HAL庫包存放位置。