My CAN interrupt is not getting on, Is there something I am missing?
Hi KDN,
regarding to your original problem of generating ISR code. this is normal if you use init_MSCAN component.
i suggest you use FreescaleCAN component instead.
see attached video I just made,
Have a great day,
Zhang Jun
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi KDN,
yes, you should be able to get FreescaleCAN component in "component library"
please note, FreescaleCAN is only available for professional license.
the related demo code is under: {CW5.1 install folder}\ProcessorExpert\Projects\Test projects\CAN
Have a great day,
Zhang Jun
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
What is the difference between using "FreescaleCAN" and "Init_MSCAN"?
Hi Juan
Init_MSCAN if for peripheral initialization. FreescaleCAN component includes all the feature of Init_MSCAN components, besides, it also includes selectable methods for the component runtime API.
Init_MSCAN is supported by all kinds of CW license.
FreescaleCAN is only supported by professional edition license.
Have a great day,
Zhang Jun
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi,
Try to create it again in the PE.
Otherwise I would suggest to avoid PE and write bareboard project from scratch.
It's a new project in CodeWarrior IDE.
File -> New -> Bareboard project -> and so on...
'From scratch' means start at the beginning with no advantage, start from nothing.
That means to avoid the PE generation of the source file for the CAN peripheral. Or try to recreate it again in the project, but when you will get the same result with the generation of ISR I would suggest to create the ISR source file.
This is an example of bareboard project:
FXAS21000 – Bare metal Example project
means without use of PE. This one is created in CodeWarrior 10.6
I am using this version, is this possible in it.