Hello,
I'm starting up a new project with MPC56 and find myself lacking various resources. If anyone could help with any of the following, it would be much appreciated:
- Are there any app notes or similar describing how to port code from MSCAN to FlexCAN? Or at least some sort of detailed feature comparison between the two?
- Are there any source code and drivers for FlexCAN available?
- Any examples of how to combine FlexCAN with DMA?
- Any other app notes or resources related to FlexCAN?
I have this driver I made for MSCAN which enables pretty much evey single feature of that particular hardware peripheral. It is 100% tested and verified production quality code. Sure, I can write a similar one for FlexCAN, but I would rather prefer not to re-invent the wheel.
I have heard that it is possible to somehow use FlexCAN with the A/Ds DMA but I have not explored it.
At ecu.zeeff.com there is a development branch that has working CAN code that you can review.