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.

[TDA4VM] Question about Leo PMICs

Hi,

I have the question about Leo PMIC:

[Use Case]

1. GPIO9 pin is set to OUTPUT and HIGH signal as default to control enable pin of CAN transceiver.

2. When MCU or SoC sends Safety Error signal to PMIC #1, PMIC runs ESM functions.

[Question]

1.

When PMIC detects safety errors from MCU or SoC, is it possible to set GPIO9 pin as LOW, and after some delay, set it as High to send Low to High signal like reset signal to CAN transceiver?

GPIO9 pin output scenario(Safe state is High -> "Safety Error" detected at PMIC -> Low -> some delay -> High) should be done if SoC can communicate with Leo PMIC using WKUP I2C0 because SoC or MCU can be reboot, so GPIO9 pin

cannot be controllable using WKUP I2C0 communication.

2.

About the initial setting of nINT pin, is it set to input as default?

If I cannot not make GPIO9 pin output scenario when safety error happens from MCU or SoC, can nINT pin be used the scenario as I mentioned Question #1?

--> nINT pin works like (Safe state is High -> "Safety Error" detected at PMIC -> Low -> some delay -> High)

BRs,

Soolim

  • Hi Soolim,

    I will check what's being done in board init and get back to you on the default settings related to Leo PMIC.

  • Hi Soolim,

    Let me know if the LeoPMIC APIs provided in pdk/packages/ti/board/src/devices/pmic/tps65941.c to configure the Interrupts and GPIO pins are what you're looking for. I shall ask the board driver expert to comment on this.

  • Hi Soolim,

    Is this use-case for TDA4 EVM or a custom board?

    When you say GPIO9, I assume you are are referring to PMIC GPIO signal. Looks like GPIO9 should be terminated to GND by PMIC design guidelines. Let me check and get back to you.

    nINT is output by default from PMIC but this will be driven based on the events that PMIC triggers.

    - Pratap.

  • Hi Anand,

    This use-case is for a custom board.

    Can you check if Leo PMIC makes gpio9 or nINT pin control high signal output for normal and low signal for safety error from SoC, and if the normal state turns this pin generates high signal output?

    This use-case is for disabling CAN Transceiver's TX signal output to other ECUs.

    Can you provide us how to make this use-case to enumerate into Leo PMIC internally?

    BRs,

    Soolim

  • Hi Soolim,

    Sorry for delayed response.

    nINT pin is common for all the events supported by the PMIC. When any one of these events occur, interrupt signal is generated on nINT pin. If you are not specific about other events that trigger the interrupt, you can disable them and use it only as safety error indication. Safety error signal from SoC can be connected to PMIC GPIO signal which can trigger an event that generates interrupt on nINT pin.

    By default all the PMIC interrupts will be disabled. You need to configure them explicitly using I2C control.

    - Pratap.