Porting CAN bus library from XE166/XE2000 microcontroller to XMC4500

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Not applicable
Good morning,
I have an XE166/XE2000 application with a well tested CAN bus library. I would like to port it to XMC 4500, but I didn't found any application note or information on Infineon web site.
I need Fifo/Gateway mode, so the CAN001/CAN002 Dave app is not OK.
Regards
Christophe
0 Likes
2 Replies
Not applicable
if you had used a c-library in the past, you might better to look at the XMC lib now.
0 Likes
lock attach
Attachments are accessible only for community members.
Travis
Employee
Employee
First solution authored Welcome! 500 replies posted
christopheroj wrote:
Good morning,
I have an XE166/XE2000 application with a well tested CAN bus library. I would like to port it to XMC 4500, but I didn't found any application note or information on Infineon web site.
I need Fifo/Gateway mode, so the CAN001/CAN002 Dave app is not OK.
Regards
Christophe


You can make use of DAVE2 with selected device of TC1793 and work on the CAN module which has the same CAN module as XMC4500. With the code generated from DAVE2 you can then port this to your XMC4500 software. This is an unofficial solution but it's workable (see attachment).
0 Likes