Announcements

From sunburn to sun earn – we’ve got the power! Watch our #poweringgreen videos now.

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
manjanna
Level 1
Level 1
5 sign-ins First reply posted First question asked

Hello Team,

We are using TLF35585 IC with TC36xx microcontroller. And we are reprograming the Application from the boot loader.

As we understood from the PMIC user guide, to reprogram we need to enable MPS feature through SPI command, so that PMIC would ignore the WWD and error monitoring pulse.  once flashing done successfully, we disabled the MPS, and initiated the soft reset on microcontroller (PMIC is not reset).

Once after the new Application starts running on microcontroller, we are observing some errors in status flag of PMIC related to WWD and error monitoring, we were not expecting this errors as we already disabled the MPS from bootloader after flashing.

After the hard reset (reseting micro + PMIC) we are not observing any error related to wwd and error monitoring.

Could you please confirm is this expected behavior. and also please let us know if there is any way we can reset the PMIC through microcontroller (either through SPI command or PIN)...?

 

Regards,

Manjanna B

 

0 Likes
1 Solution
Polimera
Moderator
Moderator
Moderator
50 solutions authored 25 solutions authored 100 sign-ins

Hello Manjanna,

MPS high: When the device is in programming mode, microcontroller reset events due to  ERR pin monitoring  failure OR watchdog failure OR INIT timer expiration only shall be masked from the reset output. Which means only µC related faults will be masked. Below are the features when MPS is high

The initialization timer is stopped.
• The contribution of the window watchdog error counter overflow to the reset ROT output is blocked.
• The contribution of the functional watchdog error counter overflow to the reset output ROT is blocked.
• The contribution of the error monitoring to the reset output ROT is blocked.

MPS low: To avoid the reset below actions has to be taken

  • Then you need to serve the watchdog within the INIT timer
  • ERR monitor needs to be serviced with a valid signal within the INIT timer.
  • If FWD is active then a valid FED triggering is necessary

Regards,

Kranthi

View solution in original post

0 Likes
5 Replies
Polimera
Moderator
Moderator
Moderator
50 solutions authored 25 solutions authored 100 sign-ins

Hello Manjanna,

Could you please let us know exactly which flags are showing errors?

Regards,

Kranthi

0 Likes

Hi Kranthi,

once after successful application reflashing followed with microcontroller soft reset (without resetting PMIC) we are observing errors related to WWD and error monitoring faults, we were not expecting this errors as we already disabled the MPS from bootloader before soft resetting microcontroller.

 

Regards,

Manjanna B

 

0 Likes
Polimera
Moderator
Moderator
Moderator
50 solutions authored 25 solutions authored 100 sign-ins

Hello Manjanna,

MPS high: When the device is in programming mode, microcontroller reset events due to  ERR pin monitoring  failure OR watchdog failure OR INIT timer expiration only shall be masked from the reset output. Which means only µC related faults will be masked. Below are the features when MPS is high

The initialization timer is stopped.
• The contribution of the window watchdog error counter overflow to the reset ROT output is blocked.
• The contribution of the functional watchdog error counter overflow to the reset output ROT is blocked.
• The contribution of the error monitoring to the reset output ROT is blocked.

MPS low: To avoid the reset below actions has to be taken

  • Then you need to serve the watchdog within the INIT timer
  • ERR monitor needs to be serviced with a valid signal within the INIT timer.
  • If FWD is active then a valid FED triggering is necessary

Regards,

Kranthi

0 Likes

Hello Kranthi,

thanks for the response.

   We are taking care  MPS from the boot loader and also we are disabling the MPS  before rebooting the microcontroller, but in this process, we are not restarting the PMIC  because of this we are seeing those errors that we mentioned in the primary query. As per our understanding, we may need to restart PMIC as well once it undergoes MPS enable disable cycle for the proper functioning. please confirm is our understanding is right. and also please suggest is there any way we can initiate PMIC reset via spi command.

 

Thanks and Regards,

Manjanna B

 

0 Likes
Polimera
Moderator
Moderator
Moderator
50 solutions authored 25 solutions authored 100 sign-ins

Hello Manjanna,

Yes your understanding is correct. whenever microcontroller is rebooting then the watchdog and error servicing is not happening and the MPS is low , which will cause those errors.

There is no SPI command for the reset. Please refer the Reset function chapter (page 69) for the  factors causing RESET.

Regards,

Kranthi

0 Likes