| поискавой системы для электроныых деталей |
|
33894 датащи(PDF) 22 Page - Freescale Semiconductor, Inc |
|
|
|||||||||||||||||||||||||||||
33894 датащи(HTML) 22 Page - Freescale Semiconductor, Inc |
|
22 / 28 page ![]() Analog Integrated Circuit Device Data 22 Freescale Semiconductor 33894 FUNCTIONAL DEVICE OPERATION LOGIC COMMANDS AND REGISTERS ADDRESS X1101— WATCHDOG REGISTER (WDR) The WDR register is used by the MCU to configure the Watchdog timeout. The Watchdog timeout is configured using bits D1 and D0. When D1 and D0 bits are programmed for the desired watchdog timeout period (Table 14), the WDSPI bit should be toggled as well, ensuring the new timeout period is programmed at the beginning of a new count sequence. ADDRESS XX110—NO ACTION REGISTER (NAR) The NAR register can be used to no-operation fill SPI data packets in a daisy-chain SPI configuration. This would allow devices to be unaffected by commands being clocked over a daisy-chained SPI configuration. By toggling the WD bit (D15) the watchdog circuitry would continue to be reset while no programming or data read back functions are being requested from the device. ADDRESS XX111—TEST The TEST register is reserved for test and is not accessible with SPI during normal operation. SERIAL OUTPUT COMMUNICATION (DEVICE STATUS RETURN DATA) When the CS pin is pulled low, the output register is loaded. Meanwhile, the data is clocked out MSB- (OD15-) first as the new message data is clocked into the SI pin. The first 16 bits of data clocking out of the SO, and following a CS transition, is dependent upon the previously written SPI word. Any bits clocked out of the SO pin after the first 16 bits will be representative of the initial message bits clocked into the SI pin since the CS pin first transitioned to logic [0]. This feature is useful for daisy chaining devices as well as message verification. A valid message length is determined following a CS transition of logic [0] to logic [1]. If there is a valid message length, the data is latched into the appropriate registers. A valid message length is a multiple of 16 bits. At this time, the SO pin is tri-stated and the fault status register is now able to accept new fault status information. SO data will represent information ranging from fault status to register contents, user selected by writing to the STATR bits OD4, OD3, OD2, OD1, and OD0. The value of the previous bits SOA4 and SOA3 will determine which output the SO information applies to for the registers which are output specific; viz., Fault, SOCHLR, CDTOLR, and DICR registers. Note that the SO data will continue to reflect the information for each output (depending on the previous OD4, OD3 state) that was selected during the most recent STATR write until changed with an updated STATR write. The output status register correctly reflects the status of the STATR-selected register data at the time that the CS is pulled to a logic [0] during SPI communication, and/or for the period of time since the last valid SPI communication, with the following exceptions: •The previous SPI communication was determined to be invalid. In this case, the status will be reported as though the invalid SPI communication never occurred. •Battery transients below 6.0 V resulting in an under- voltage shutdown of the outputs may result in incorrect data loaded into the Status register. The SO data transmitted to the MCU during the first SPI communication following an undervoltage VPWR condition should be ignored. •The RST pin transition from a logic [0] to logic [1] while the WAKE pin is at logic [0] may result in incorrect data loaded into the Status register. The SO data transmitted to the MCU during the first SPI communication following this condition should be ignored. SERIAL OUTPUT BIT ASSIGNMENT The 16 bits of serial output data depend on the previous serial input message, as explained in the following paragraphs. Table 15, page 23, summarizes SO returned data for bits OD15:OD0. •Bit OD15 is the MSB; it reflects the state of the Watchdog bit from the previously clocked-in message. •Bit OD14 remains logic [0] except when an undervoltage condition occurred. •Bit OD13 remains logic [0] except when an overvoltage condition occurred. •Bits OD12:OD8 reflect the state of the bits SOA4:SOA0 from the previously clocked in message. •Bits OD7:OD4 give the fault status flag of the outputs HS3:HS0, respectively. •The contents of bits OD3:OD0 depend on bits D4:D0 from the most recent STATR command SOA4:SOA0 as explained in the paragraphs following Table 15. Table 14. Watchdog Timeout WD[1:0] (D1:D0) Timing (ms) 00 620 01 310 10 2500 11 1250 |
|
ссылки URL |
| Вашему бизинису помогли Аллдатащит? [ DONATE ] |
Что такое Аллдатащит | реклама | контакт | Конфиденциальность | Ссылка на техническое описание | обмен ссыками | поиск по производителю 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 |