Timer Interrupt doesn't occur

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Timer Interrupt doesn't occur

Jump to solution
757 Views
BlueTower
Contributor II

Hi! I am using codewarrior for device MC9RS08LA8RM(CFT) and I have set up via processor expert to generate an interrupt when timer overflows.

Here are settings and code

http://s21.postimg.org/akegljq3b/1_10_2016a.jpg

http://s27.postimg.org/op6cp5d7n/1_10_2016b.jpg

http://s10.postimg.org/j783m8t4p/1_10_2016c.jpg

It seems that there isn't any ISR at main.c file. When I debug no interrupt occurs to send program execution to ISR. but since ISR doesn't exist it stays at for loop. That's what it seems.

 

thanks

Labels (1)
0 Kudos
1 Solution
647 Views
trytohelp
NXP Employee
NXP Employee

Hi Alexandros,

Your project is using Device Initialization feature.

This feature is not generated code as Processor Expert but only intialization of the perhipheral which is defined in the MCUinit.c and .h files

Processor Expert includes some function to manage the peripheral.

Some information extracted of help:

pastedImage_0.png

To access this help, please click on Help Tab on Device Initialization Component.

If you need more generated code, you need to select Processor Expert instead of Device Initialization.

Another option is to not use these features too.

There are examples in the folder \CodeWarrior for Microcontrollers V6.3\(CodeWarrior_Examples)\RS08\Assembly Examples\


Have a great day,
Pascal
NXP Technical Support

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

View solution in original post

0 Kudos
4 Replies
647 Views
BlueTower
Contributor II

Ok  see these images:

1_10_2016a.jpg

1_10_2016b.jpg

1_10_2016c.jpg

Where do I find header files for TimerInt project?

0 Kudos
648 Views
trytohelp
NXP Employee
NXP Employee

Hi Alexandros,

Your project is using Device Initialization feature.

This feature is not generated code as Processor Expert but only intialization of the perhipheral which is defined in the MCUinit.c and .h files

Processor Expert includes some function to manage the peripheral.

Some information extracted of help:

pastedImage_0.png

To access this help, please click on Help Tab on Device Initialization Component.

If you need more generated code, you need to select Processor Expert instead of Device Initialization.

Another option is to not use these features too.

There are examples in the folder \CodeWarrior for Microcontrollers V6.3\(CodeWarrior_Examples)\RS08\Assembly Examples\


Have a great day,
Pascal
NXP Technical Support

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos
647 Views
trytohelp
NXP Employee
NXP Employee

Hi Alexandros,

In addition to Alice comments.

You're using CW for MCU V6.X which is a classic version.

Processor Expert is included and some examples too.

Please have a look to the folder:

    \CodeWarrior for Microcontrollers V6.3\ProcessorExpert\Projects\Test projects

You will find an example for each feature beans listed in the folder.

This example can be converted to the processor you're using.

To do that you just need to add a new processor and to select it.

Hope this will help.


Have a great day,
Pascal
NXP Technical Support

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos
647 Views
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello,

Sorry , your pictures are so small that i can not see them clearly.

And what about the version of CW ?

BR

Alice

0 Kudos