TLF35584 Window watchdog configuration and triggering

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
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
First question asked 50 solutions authored 10 likes received

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
First question asked 50 solutions authored 10 likes received

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