Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronic Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Register Log in

[STR912] Problem with Fast Interrupts(FIQ)

Status
Not open for further replies.

bimbarabam

Newbie level 1
Joined
Nov 21, 2012
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,290
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!
 

Attachments


Status
Not open for further replies.
Toggle Sidebar

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top