想了解有关FlexCAN的配置教程,现在想把CAN通讯模块加入到BLDC的六步换向代码中,需要的组件配置以及回调函数等等问题,之前在S32DS for ARM v2.2使用过过CAN_pal组件配置,但是在这里IDE没有pal组件,这些问题是为什么呢?
Solved! Go to Solution.
Hi,
CAN_pal was part of SDK driver, there is no such in RTD driver. Use FlexCAN_Ip driver instead.
I will send you some project done by Apps team.
BR, Petr
Hi,
CAN_pal was part of SDK driver, there is no such in RTD driver. Use FlexCAN_Ip driver instead.
I will send you some project done by Apps team.
BR, Petr
Hi,
have you enable CANPHY and its supply via Aec as was shown in the example I shared?
Generally for testing CAN; check in debugger MCR, ECR,ESR1 registers to know module status and if any errors are detected after sending messages. Measuring CAN lines with scope/analyzer is also advisable.
BR, Petr