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.

TPS6593-Q1: RTC and NVM of TPS6293

Part Number: TPS6593-Q1

Tool/software:

TI experts,

My current problem is:

1. The RTC hour, minute, and second registers remain unchanged

2. The NVM registers cannot be modified

  • Hello Ni,

    1. The RTC hour, minute, and second registers remain unchanged

    Let's focus on the confirmation of the schematic, the oscillator is not populated therefor the RTC portion of the schematic will not work as defined, it is necessary for the correct functionality of the clock. If the crystal is not enabled the clock will not function, if we look at the value of register 0xC3, which it holds 0xE0,the XTAL_EN = 0x0 so the registers will never deviate even when the RTC is enabled.

    RTC & XTAL need to be ENABLED, on top of the hardware requirement.

    Relevant

    2. The NVM registers cannot be modified

    The value of this register 0x0, unless there's another issue. 

    If you are still having an issue, can you show me the registers before the write, the write command, and the register map after the write?

    That is to confirm the behavior you are seeing, there are some register bits in the register map that are reserved.

    BR,

    Nicholas McNamara

  • 1. RTC 

       I set the STOP_RTC bit of RTC_CTRL_1 (0xc2) and the XTAL_EN bit of RTC_CTRL_2 (0xc3), then I read the RTC_STATUS register and found that the RUN bit has changed to 1, but the RTC time still does not change. Can I use the PMIC internal crystal oscillator?

    i2cset -f -y 0 0x48 0xc3 0xe1 //XTAL_EN
    i2cset -f -y 0 0x48 0xc2 0x01 // RTC_RUN //STOP_RTC
    i2cget -f -y 0 0x48 0xc4         //GET RUN filed of RTC_STATUS Register

       2.NVM

        

    I can't get the list and properties of NVM partition registers, so I tried a lot, but nothing worked.

    1. Can you tell me the list and properties of NVM registers?
    2. Is unlock operation required?

  • I found the command sequence for PCIE NVM unlock according to the Scalable PMIC NVM Update Guide document, but it doesn't seem to work.

  • Hello, Nicholas:

    Are you still helping me check this question?

    Looking forward to your reply

  •    I set the STOP_RTC bit of RTC_CTRL_1 (0xc2) and the XTAL_EN bit of RTC_CTRL_2 (0xc3), then I read the RTC_STATUS register and found that the RUN bit has changed to 1, but the RTC time still does not change. Can I use the PMIC internal crystal oscillator?

    Hi Ni,

    As Nicholas mentioned above, do you have the external crystal oscillator populated? This is required if you want to use the RTC I believe. 

    Regards,

    Katie