Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Message

FIQ Problem

2006-04-06 by sifiland

Hi,

If I let Timer0 with FIQ run, then the program jumps either in 
Default_handler or makes RESETS.  Timer0 with IRQ runs completely 
normally.  

What can the cause? 
Thanks.

�C:  LPC2136 
compiler:  IAR 

__fiq __arm void fiq_handler(void)
{
    void (*interrupt_function)();
    unsigned int vector;

    // Interrupt-Vektor load
    vector = VICVectAddr;
    interrupt_function = (void(*)())vector;
    
    // call Interruptfunktion 
    (*interrupt_function)();

    // Interrupt reset
    VICVectAddr = 0;
}

void    Int_Timer0(void)
{
   //
    ...
    //
   T0IR=0xFF;

}

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.