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.

AM3358: PMIC management

Part Number: AM3358
Other Parts Discussed in Thread: AM3351

I am using a TPS65217C with the AM3358 just like the beaglebone reference design. I would like to know whether the the system can designed for the following uses:

- Use AC input on TPS65217C to power system and charge Li-ION battery
- When AC input is lost, switch over seamlessly to battery without losing power (without rebooting)
- AM3358 can be instructed to power down PMIC s.t. processor is powered down (no load on battery)
- When AC input reappears, system powers back up

Does this scheme sound reasonable?
What is the software programming required to power down the PMIC? Is it to set PWR_ENABLE_EN to 1 in RTC_PMIC
and then to set IT_ALARM2 in RTC_INTERRUPTS_REG and set ALARM2_XXX time/date registers?

Thanks.

  • Also, is it possible to do the same with AM3351?
  • The PMIC experts have been notified. They will respond here.
  • Q: Use AC input on TPS65217C to power system and charge Li-ION battery
    A: PMIC does this by default (only in ACTIVE mode... charger turns off in SLEEP or OFF modes)

    Q: When AC input is lost, switch over seamlessly to battery without losing power (without rebooting)
    A: PMIC does this by default. PMIC will send an interrupt to the SoC and Linux will initiate self-shutdown unless you mask this interrupt.

    Q: When AC input reappears, system powers back up
    A: PMIC does this by default

    Q: AM3358 can be instructed to power down PMIC s.t. processor is powered down (no load on battery)
    A: When the AM335x is shut down the PMIC can go to SLEEP or OFF mode depending on OFF bit in the PMIC STATUS register. PMIC SLEEP mode keeps the RTC on AM335x running (does not keep the battery charger running even if AC present). Otherwise PMIC OFF mode turns off all supplies AND battery charger (even if AC present).

    Q: What is the software programming required to power down the PMIC
    A: In Linux just use the command "sudo poweroff" or "sudo suspend" to enter the state you wish.