Hi my friends, I'm starting work on new chip XC167CI and now I need work with a TwinCAN peripheral. I haven't find on network nothing... I have some question: 1)Does exist an official version of CAN.H for XC167CI with twhincam?? 2)Does exist a general example for TwinCAN?? Thanks!!
There is a small TwinCAN Example Program for the Keil MCB-XC167 board. In general this should run on any XC167 hardware, as it is configured for the on-chip Flash. http://www.keil.com/appnotes/docs/apnt_181.asp
There is not deticated header for the CAN peripheral itself, since the CAN peripheral is part of the CPU specific header file (i.e. XC167.H).
Really, there is not a dedicated header, concerning the registers. Here I mean a modification of the DAvE-created header. Sorry for misdescription. (At the time I wrote I also found no example, so I used this one). I am sure that the KEIL example will also help you with your first steps. Dear Sylvain I sent you the project. Stefan - thanks to KEIL support team for this hint and the correction
View all questions in Keil forum