This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

OMAP L137 RTC driver

Hi, I have one EVM OMPL137/C6747 board, and I need to use On chip RTC,( CPU is OMPAL137)

because there have no RTC driver in PSP driver,   I write a driver according to the manual, but it never work.

I already UNLOCK the register access, and then try to write RTC registers use CCS3.3 debug enviroment, It's seems

all RTC register always "Read Only",  include SCRATCH0-SCRATCH2 register.

the 32.768kHz crystal works OK, I got wavefrom from crystal pins, It's correct.

 Does there have some body can help me?

thanks.

 

  • Ting Li,

    It looks like the manual is incorrect as far as write-protection goes for the SCRATCH registers.  They are write-protected until the KICK keys are input.  This is not obvious on the EVM because there is a super-cap on the board that will keep the RTC running between power cycles.  The manual will be updated to fix this error.

    Please try clearing both KICK registers first and then write in the unlock keys.  Then the SCRATCH registers should be writeable.

     

    -Michael

  • problem solved, now RTC access correct, thanks.