| データシートサーチシステム |
|
L9908 データシート(PDF) 132 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
L9908 データシート(HTML) 132 Page - STMicroelectronics |
|
132 / 152 page ![]() The refresh of the overflow counter has to be performed by the uC through a dedicated SPI frame including the 4- bit watchdog refresh command. The watchdog circuitry compares the received watchdog refresh command with an internal look-up table and answers with a corresponding 4-bit Gray code in the next SPI MISO frame. Table 148. Watchdog binary to Gray answer conversion Binary (μC) → Gray (L9908) Binary → (μC) → Gray (L9908) Binary (μC) → Gray (L9908) Binary (μC) → Gray (L9908) 0x0 (0000) → 0x0 (0000) 0x4 (0100) → 0x6 (0110) 0x8 (1000) → 0xC (1100) 0xC (1100) → 0xA (1010) 0x1 (0001) → 0x1 (0001) 0x5 (0101) → 0x7 (0111) 0x9 (1001) → 0xD (1101) 0xD (1101) → 0xB (1011) 0x2 (0010) → 0x3 (0011) 0x6 (0110) → 0x5 (0101) 0xA (1010) → 0xF (1111) 0xE (1110) → 0x9 (1001) 0x3 (0011) → 0x2 (0010) 0x7 (0111) → 0x4 (0100) 0xB (1011) → 0xE (1110) 0xF (1111) → 0x8 (1000) The expected watchdog command order starts with the number 0x0 (0000) and is incremented by 1 at each refresh window if the command is correctly interpreted and no failure is detected. Once command number 0xF (1111) is reached the sequence restarts with number 0x0 (0000). Figure 87. Watchdog command order sequence In case of a wrong WDT data command (command different from the expected sequence order), the watchdog word fail counter is incremented by 1. With the next valid watchdog data command the fail counter is decreased by 1. If the failure counter reaches the failure limit defined in the SPI register WDT_FAIL_COUNT_CFG the watchdog fail flag WDT_DATA_fail is set and L9908 is sent to safe state. The fail counter limit can be programmed by the following SPI bit set: Table 149. Watchdog configuration table for WDT data fail counter WDT_FAIL_COUNT_CFG1 WDT_FAIL_COUNT_CFG0 Description 0 0 1 0 1 1 1 0 2 1 1 3 (Default) L9908 Functional description DS13546 - Rev 5 page 132/152 |
|
リンク URL |
| ALLDATASHEETはお客様のビジネスに役立ちますか? [ DONATE ] |
Alldatasheetは | 広告 | お問い合わせ | プライバシーポリシー | データシートへのリンク | リンク交換 | メーカーリスト All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |