My CAN interrupt is not getting on

cancel
Showing results for 
Search instead for 
Did you mean: 

My CAN interrupt is not getting on

684 Views
kdn
Contributor III

My CAN interrupt is not getting on, Is there something I am missing?

 

 

21205_21205.JPG3.JPG

Labels (1)
8 Replies

111 Views
ZhangJennie
NXP TechSupport
NXP TechSupport

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!
-----------------------------------------------------------------------------------------------------------------------

111 Views
ZhangJennie
NXP TechSupport
NXP TechSupport

Hi KDN,

yes, you should be able to get FreescaleCAN component in "component library"

2015-03-30_10-28-14.png

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!
-----------------------------------------------------------------------------------------------------------------------

111 Views
christianhdz
Contributor II

What is the difference between using "FreescaleCAN" and "Init_MSCAN"?

0 Kudos

111 Views
ZhangJennie
NXP TechSupport
NXP TechSupport

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!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos

111 Views
Martin35804
NXP Employee
NXP Employee

Hi,

Try to create it again in the PE.

Otherwise I would suggest to avoid PE and write bareboard project from scratch.

0 Kudos

111 Views
iggi
NXP Employee
NXP Employee

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.

0 Kudos

111 Views
Martin35804
NXP Employee
NXP Employee

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

0 Kudos

111 Views
kdn
Contributor III

I am using this version, is this possible in it.

5.JPG

0 Kudos