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: Pmic WDG driver functions are not able to write to the registers

Part Number: TDA4VM


Hello Team,

We had a session with the PMIC team yesterday and we were able to set the WD_EN bit to low and then later EN_DRV bit using the I2C2ANY tool.

But when i tried to disable the WD_EN using the Pmic_wdgDisable() function, it is throwing a negative response.

The debugger is failing to point out the exact point when i tried to step through the code, but the debugger control  is lost in Pmic_commIntf_sendByte() --> I2c_transfer() function call, from where the negative response is  thrown. The error code is not a valid one for the I2c code.

I tried to use the Pmic_wdgSetCfg() to modify the failure threshold count to 6, but it is also throwing a negative response.

On the other hand, the Pmic_wdgGetCfg() is functioning properly.

Can you please help me understand the root cause of the issue ?

More Updates:

I have also tried to run the WDG test app example with limited tests to execute, but it had stopped in initialization test and none of the WDG related tests is executed.

Extract of UART log:

PMIC Watchdog Unity Test Application running on MCU1_0 of J721E_EVM(15:39:44 Aug 12 2021)

 =================================================================
 Test Menu:
 =================================================================
 0: Automatic run for all board specific WDG options
 1: Manual run for WDG options
 2: quit

 Enter option: 1

 =================================================================
 Menu:
 =================================================================
 0: Pmic Leo device with Dual I2C(PMIC-A on J721E EVM)
 1: Pmic Leo device with Single I2C(PMIC-A on J721E EVM)
 2: Pmic Leo device with Dual I2C(PMIC-A on J7VCL EVM)
 3: Pmic Hera device with Single I2C(PMIC-B on J7VCL EVM)
 4: Back to Test Menu

 Enter option: 0
test_pmic_i2c_lld_intf_setup(): 454: PMIC_MAIN_INST I2C Setup...
test_pmic_i2c_lld_intf_setup(): 494: done...
I2C1: Passed for address 0x48 !!!

Thanks and Regards,

Namash.