bimbarabam
Newbie level 1
Hello Everyone!
I'm using FreeRTOS 7.2 on my STR912 µC. I noticed that FreeRTOS system tick is IRQ interrupt, connected to Timer 3. I want to do interrupt, which will be fast and totally independent from RTOS, so I decided to use FIQ interrupts. I wrote some code, but from unknown reasons my processor can't enter the interrupt :/. This is periodic RTC interrupt and in this procedure, processor should turn on diode and send one letter by uart, but nothing's happen.
I'll be happy, if some of you can check my code and tell me what am I doing wrong. In attachment I'm uploading whole source code.
Explanations:
pid.c - main file
vectors.c - handlers are defined in this file (I only want to use RTC_IRQHandler - i know that name is confusing, because this is handler to FIQ interrupt).
vector.s - asm file with interrupt routines
startup.s - startup
Thanks!
I'm using FreeRTOS 7.2 on my STR912 µC. I noticed that FreeRTOS system tick is IRQ interrupt, connected to Timer 3. I want to do interrupt, which will be fast and totally independent from RTOS, so I decided to use FIQ interrupts. I wrote some code, but from unknown reasons my processor can't enter the interrupt :/. This is periodic RTC interrupt and in this procedure, processor should turn on diode and send one letter by uart, but nothing's happen.
I'll be happy, if some of you can check my code and tell me what am I doing wrong. In attachment I'm uploading whole source code.
Explanations:
pid.c - main file
vectors.c - handlers are defined in this file (I only want to use RTC_IRQHandler - i know that name is confusing, because this is handler to FIQ interrupt).
vector.s - asm file with interrupt routines
startup.s - startup
Thanks!