AnsweredAssumed Answered

iMX6 General Purpose Timer

Question asked by Dirk Schäfer on Feb 6, 2016
Latest reply on Feb 8, 2016 by Dirk Schäfer

Hello all,

 

I start the clock for the GPT by writing the bits 20-23 in CCM_CCGR1.

Set the prescaler register to 0, reset the GPT, writing 1<<15 to the control register, waiting until (1<<15) is 0.

 

Writing 1<<18 + 1<<16 + 1<<9 + 4<<6 + 1

capture on rising edge

restart mode

low frequency clock

enable

 

The counter register, 0x02098024, stays 0, so the status register.

 

Did I forgot something?

 

Many thanks for your help.

Outcomes