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.

RTC of TWL6032 failure

Other Parts Discussed in Thread: TWL6032

We would like to use the RTC function of TWL6032.

So, We set 1 the STOP_RTC bit of the RTC_CTRL_REG Register. But, We read the register, and the STOP_RTC is 0(RTC is frozen).

What is the cause by which RTC won't be runnning?Is other register setting needed?

Any advice would be appreciated.

  • Hello,

    Which OTP version of TWL6032 are you using (i.e. TWL6032A2B4)?

    Can you provide a full register dump (at least the RTC registers, preferably all registers)?

    Is the VRTC up?

    Are you using external oscillator? If so, which?

    Thanks,
    Kevin LaRosa
  • Hi Kevin-san.

    Thank you very much for your reply.

    The version of TWL6032 is TWL6032A2B0.

    The VRTC is Up. The STATE Bit of VRTC_CFG_STATE register is ON.

    We using external oscillator of 32k.

    The rgister dump by omapconf.  

    -----------------------------------------------------------------------------------------------------

    REGISTER DUMP FOR TWL6032
    =========================================================
    BUS=1 SLAVE ADDR=0x48
    ---------------------------------------------------------
           0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
    0x00: 00 00 00 01 01 00 00 00 01 00 00 01 01 00 00 00
    0x10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01
    0x20: c0 23 01 06 0e 00 0e 02 00 01 e0 00 20 c2 00 04
    0x30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    0x40: 00 05 01 00 3c 00 00 05 01 00 00 06 00 00 00 00
    0x50: 00 00 00 05 01 00 00 06 00 05 01 00 00 06 00 00
    0x60: 00 00 00 00 00 05 01 00 29 00 00 00 00 00 00 00
    0x70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    0x80: 00 05 01 0c 00 03 01 15 00 05 00 09 00 05 00 03
    0x90: 00 05 01 09 00 05 01 09 00 05 00 09 00 05 00 0a
    0xa0: 00 05 00 18 00 05 00 09 00 00 00 00 00 00 05 01
    0xb0: 00 05 01 00 05 01 00 05 01 00 05 01 00 05 01 00
    0xc0: 01 01 00 0d 01 00 05 01 00 05 00 00 01 01 00 05
    0xd0: 01 01 64 e6 ac 38 c2 3f ff 3f 00 00 00 00 00 00
    0xe0: 5b 00 11 00 00 10 52 03 00 86 02 80 1a 80 08 80
    0xf0: 55 65 15 00 ff 01 5b a3 1e 11 01 00 29 00 00 00
    =========================================================

    BUS=1 SLAVE ADDR=0x49
    ---------------------------------------------------------
           0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
    0x00: 51 04 32 c0 04 04 14 14 01 00 00 00 00 00 00 00
    0x10: 15 15 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    0x20: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    0x30: 00 00 00 00 00 00 06 00 00 00 00 00 00 00 00 00
    0x40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    0x50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    0x60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    0x70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    0x80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    0x90: 00 00 00 04 00 00 00 00 00 00 00 00 00 00 00 00
    0xa0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    0xb0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    0xc0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    0xd0: 00 00 00 e6 ff ea e6 ff ea 00 00 38 02 03 40 00
    0xe0: 00 00 20 80 00 00 00 00 00 20 02 01 02 04 29 23
    0xf0: 0e 64 00 00 ff 20 00 00 00 00 00 00 00 00 00 cd
    =========================================================

    BUS=1 SLAVE ADDR=0x4A
    ---------------------------------------------------------
           0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
    0x00: 30 30 30 30 30 30 30 30 30 30 00 00 00 00 00 00
    0x10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    0x20: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    0x30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    0x40: 00 00 00 00 00 00 00 00 01 01 00 00 00 00 00 00
    0x50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    0x60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    0x70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    0x80: 0f 20 15 41 06 47 01 02 00 00 00 00 00 00 00 00
    0x90: 01 22 0e 06 18 0f 87 88 2d 92 00 05 07 0a 11 01
    0xa0: 01 01 01 01 03 02 02 02 02 03 01 03 04 02 85 1d
    0xb0: 02 02 02 00 a5 1d 0d d5 1d 03 03 03 03 66 1d 02
    0xc0: 63 1d 02 08 04 00 00 00 00 00 00 04 04 02 06 02
    0xd0: 05 13 35 1b 05 03 08 00 06 03 0e 02 09 04 01 30
    0xe0: da a7 a7 00 00 32 32 29 06 0e 02 03 18 00 0c 00
    0xf0: 00 00 00 38 38 38 38 38 38 38 38 38 38 00 9e 04

    -----------------------------------------------------------------------------------------------------

    Thanks,

    Masashi Mizukane.

     

  • Mizukane-san,

    Do you have MSECURE pin set to '0' or '1'? This OTP has MSECURE enabled.

    Is there output on the CLK32KAO?


    Thanks,
    Kevin LaRosa

  • Hi Kevin-san,

    My problem has been solved.

    We made a mistake in setting of OMAP4460 PADCONF Register. So, the pin setting of MSECURE was safemode.

    RTC is enable by correcting setting.

    Thank you for giving us good advice.

    Thanks,

    Masashi Mizukane

  • Mizukane-san,

    Thank you for updating on the root cause of the issue. Good to hear the issue is resolved.

    Thank you,
    Kevin LaRosa