Please note: We are aware of an issue affecting replies on the Arm Community forums, which may not be loading as expected.

We apologize for any inconvenience and appreciate your patience while we investigate and work to resolve the issue.

Thank you for your understanding.


This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

RIT Interrupt in Keil uVision

Hello,

I want to use RIT interrupt to generate a interrupt after a specific time period. I am using keil uVision 4 on lpc1768 device.

I have the code that is compiled without any errors. But when ever i try to debug the code, i donot see the RITCOUNTER value to increase and RIT interrupt never generated because of which the ISR routine is never reached. Can anyone help me to figure out what i am doing wrong.

 

Thank you

Asha

Parents
  • Hello,
    According to the user manual www.nxp.com/.../UM10360.pdf

    i have made sure that i have a value for the RICOMPVAL register, set the bit in the RICTRL register. I have also enabled the NVIC register for the RIT interrupt. When i am using the debug session, these registers to get the necessary value. Only the RICOUNTER doesnt increase with clock cycles as mentioned in the manual. This is where i am not sure what i am doing wrong. Please help.
Reply
  • Hello,
    According to the user manual www.nxp.com/.../UM10360.pdf

    i have made sure that i have a value for the RICOMPVAL register, set the bit in the RICTRL register. I have also enabled the NVIC register for the RIT interrupt. When i am using the debug session, these registers to get the necessary value. Only the RICOUNTER doesnt increase with clock cycles as mentioned in the manual. This is where i am not sure what i am doing wrong. Please help.
Children
No data