My CAN interrupt is not getting on

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

My CAN interrupt is not getting on

5,601件の閲覧回数
kdn
Contributor III

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

 

 

21205_21205.JPG3.JPG

ラベル(1)
タグ(3)
8 返答(返信)

5,022件の閲覧回数
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!
-----------------------------------------------------------------------------------------------------------------------

5,022件の閲覧回数
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!
-----------------------------------------------------------------------------------------------------------------------

5,023件の閲覧回数
christianhdz
Contributor II

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

0 件の賞賛
返信

5,023件の閲覧回数
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 件の賞賛
返信

5,023件の閲覧回数
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 件の賞賛
返信

5,023件の閲覧回数
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 件の賞賛
返信

5,023件の閲覧回数
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 件の賞賛
返信

5,023件の閲覧回数
kdn
Contributor III

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

5.JPG

0 件の賞賛
返信