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.

DRA77P: PORZ after HALT command

Part Number: DRA77P

After running a HALT, is it appropriate to run a PORZ via HW to return the processor to normal running mode? If there is a better alternative, please comment on it.

The goal of all this is to go via SW to a low power state and exit this state via an HW event.

Regards,

  • Hi Aclemotte,

    What is the use case can you give more details? Low power mode means what are the power domains that are
    off? What is the state of MPU?

    PORZ means will you not lose context?

    Give us more details so that we can analyze and answer better.

    - Keerthy

  • Hi Keerthy,

    Use case: after a time programmable by SW, our system will call the HALT command to decrease the power consumption. An external signal will indicate to our system that it should return to a normal operating state, that is, the same as it was before the HALT command.

    The state of MPU should be off. Maintaining context is not a requirement.

  • Hi Aclemotte,

    Have you considered running powerOff?

    If l look at the halt code:

    void machine_halt(void)
    {
    local_irq_disable();
    smp_send_stop();
    while (1);
    }

    CPU Is basically busy looping.

    Instead of that why not use Poweroff command? This will save power.

    void machine_power_off(void)
    {
    local_irq_disable();
    smp_send_stop();

    if (pm_power_off)
    pm_power_off();
    }


    Do you have any other core operational? If not poweroff seems to be better. PORZ seems good enough option.
    What are your thoughts on the above?

    Regards,
    Keerthy

  • I'm designing the HW, so my main concern right now is around including everything necessary in our PCB to get out of the low-power state after the SW execute some low power command. We are using one of the two DSPs. Is the PORZ signal still valid to get out of this low power state?

    Regards,

  • Hi Aclemotte,

    PORZ sounds fine from software perspective for what you are doing. If you need more concrete
    board team answering you i suggest raising another thread which can be assigned to the board team.

    From software side we believe this is fine for your use case. If nothing you can resolve this.

    Regards,
    Keerthy