Going crasy with the Global timer on my i.MX6

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

Going crasy with the Global timer on my i.MX6

Jump to solution
973 Views
tiagoduarte
Contributor II

Dear all.

I'm working with a Nitrogen6X which has a i.MX6 chip.

I'm trying to configure the global timer to be the timer for the scheduler of the RTOS that I'm porting to the board.

I can configure it the way I want but the sticky interrupt flag is always at 1 after I serve the interrupt.

The ARM Information Center states that "The event flag is cleared when written to 1." What does this mean?

I have tried to write 0 directly to the register that holds the flag (Global Timer Interrupt Status Register), I tried to write 1, I tried to disable the interrupts of the timer and the compare functionality, but nothing seems to work.

Thanks in advance

Tiago Duarte

Tags (2)
0 Kudos
Reply
1 Solution
701 Views
tiagoduarte
Contributor II

Solution: turn of the compare flag and write 1 to the Global Timer Interrupt Status Register. Then turn on again the compare flag.

View solution in original post

0 Kudos
Reply
1 Reply
702 Views
tiagoduarte
Contributor II

Solution: turn of the compare flag and write 1 to the Global Timer Interrupt Status Register. Then turn on again the compare flag.

0 Kudos
Reply