Announcements

The EV market is bigger and better than ever. Join the EV Webinar to find out how you could best utiilize Power Management ICs for EVs.

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

Power Management ICs Forum Discussions

Ijaz
Level 1
Level 1
5 sign-ins First question asked Welcome!

Hi ,

I have configured  Window watchdog with SPI triggering, open window 1000ms and close window 500ms,

{

tlfDevice->WWDCFG0.U = 0x09; // close window - 500ms
transferDataTLF35584(SpiCommand_write, WWDCFG0RegAddr, tlfDevice->SYSPCFG1.U);
tlfDevice->WWDCFG1.U = 0x13; // open window - 1000ms
transferDataTLF35584(SpiCommand_write, WWDCFG1RegAddr, tlfDevice->SYSPCFG1.U);

}

and watchdog SPI service with 1000ms STM ISR  event.

but the TLF35584 is going to Init state with WWDSTAT.B.WWDECNT> threshold.

can you help with  the timing related to watchdog triggering. 

0 Likes
1 Solution
AnilKumar
Moderator
Moderator
Moderator
10 likes received 100 sign-ins 50 replies posted

Hello,

Please correct the below instructions of your firmware.

Current Script:

transferDataTLF35584(SpiCommand_write, WWDCFG0RegAddr, tlfDevice->SYSPCFG1.U);

transferDataTLF35584(SpiCommand_write, WWDCFG1RegAddr, tlfDevice->SYSPCFG1.U);

Proposed:

transferDataTLF35584(SpiCommand_write, WWDCFG0RegAddr, tlfDevice->WWDCFG0.U);

transferDataTLF35584(SpiCommand_write, WWDCFG1RegAddr, tlfDevice->WWDCFG1.U);

Thanks 

Anil

View solution in original post

0 Likes
1 Reply
AnilKumar
Moderator
Moderator
Moderator
10 likes received 100 sign-ins 50 replies posted

Hello,

Please correct the below instructions of your firmware.

Current Script:

transferDataTLF35584(SpiCommand_write, WWDCFG0RegAddr, tlfDevice->SYSPCFG1.U);

transferDataTLF35584(SpiCommand_write, WWDCFG1RegAddr, tlfDevice->SYSPCFG1.U);

Proposed:

transferDataTLF35584(SpiCommand_write, WWDCFG0RegAddr, tlfDevice->WWDCFG0.U);

transferDataTLF35584(SpiCommand_write, WWDCFG1RegAddr, tlfDevice->WWDCFG1.U);

Thanks 

Anil

0 Likes