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.

AM3354: Power loss protection

Part Number: AM3354
Other Parts Discussed in Thread: BQ24075, BQ25886, BQ24259, TPS65217

Dear Sirs,

We want to implement the "Power Loss Protection" with hardware design to safeguard the SD Card or eMMC during and after a power loss event and avoid the data loss.

Could you please give us some suggestions?

Best regards,

Rudy

  • Hi Rudy,

    I'm not sure what you are looking for based on the information provided. Can you please explain with more detail what your expectations are in this case?

    • alternative battery power?
    • software response to power loss?
    • supply discharge resistor?
    • hot-swap controller?

  • Hi Ahmad,

    Thank you for your prompt reply.

    We want to minimize the data corruption or loss due to incomplete or partial writes during an unexpected loss of power, so we want to implement HW solution and SW solution which I explain it below.

    1. software response to power loss
    When AM3354 detect power loss event, is there any way to speed up the Linux shutdown process during a power loss event?
    Or is there any way to prevent or minimize writing to the flash (SD Card/eMMC) during a power loss event?

    2. alternative battery power (Hardware change)
    Could you provide some backup power reference design with energy storing capacitors during a power loss event?
    For example, the energy storing capacitors act as backup batteries for the drive. The capacitors provide enough energy (power) to complete any commands in progress and to make sure that any data in the temporary buffers is committed to the Flash (SD Card/eMMC).

    Best regards,

    Rudy

  • Best suggestion is to use a filesystem that is read-only to prevent any data corruption of the OS during an uncontrolled power loss. I'm not sure about a solution to the other running applications. A writable data partition would be needed for them and the application should sync with the filesystem as often as possible.

    If the design can allow a li-ion battery then TI has many battery charger ICs with built in "PowerPath". The IC has built in switches to choose primary power vs battery power at the same time as keeping the battery charged. See BQ24075 (System power <5W), BQ24259 (<7W), or BQ25886 (<14W). The TPS65217 PMIC for AM335x has this feature built in.

  • Hi Ahmad,

    Thank you for your suggestion. I gonna close the issue first. I will post a new one if needed.

    Best Regards,

    Rudy