Going crasy with the Global timer on my i.MX6

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Going crasy with the Global timer on my i.MX6

ソリューションへジャンプ
1,067件の閲覧回数
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

タグ(2)
0 件の賞賛
返信
1 解決策
795件の閲覧回数
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 件の賞賛
返信
1 返信
796件の閲覧回数
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 件の賞賛
返信