| Electronic Components Datasheet Search |
|
PT2000 Datasheet(PDF) 128 Page - NXP Semiconductors |
|
|
|||||||||||||||||||||||||||||
PT2000 Datasheet(HTML) 128 Page - NXP Semiconductors |
|
128 / 148 page ![]() NXP Semiconductors 128 PT2000 By latching only the first occurring error, it is possible to read the cause of the failure in the communication, without having to see all the side effects. Furthermore, the PT2000 has the possibility to generate an interrupt request toward the microcontroller by setting the appropriate bit in the spi_config register (refer to Table 153, Spi_config (1A9h)). When an error is met in the SPI connection, the SPI protocol inside the PT2000 moves to a state where it only accepts a specific two word SPI transmission with command word (B661h) meant to read the spi_error register (refer to Table 163, Spi_error (1B3h)). This command causes the device to transmit a single word to the SPI master and then reset the protocol (along with the interrupt if enabled). If the value of the selection register was set to the value 0100h (selecting the generic configuration registers) before the error, the word transmitted is the error code and the error code register is reset immediately, otherwise a random word is sent and the error state of the SPI protocol is reset. In this second case, the error code register can be read (and thus reset) in a following burst. The following are the possible kind of errors and their relative codes (during correct operations the value of the register is 0000h). • cksys_missing: this error is set if a SPI transfer is required (which means if the SPI chip select CSB is pulled low) while the cksys clock is missing. • frame_error: this error is set if the number of data words in a burst is not the expected number programmed in the command word: • Mode A is selected, the slave_protocol block received a control word specifying n word transfers, but the microcontroller performs less operations and then ends the communication. In this case, this module provides a watchdog function if during a programmed transfer, the communication with the microcontroller is inactive for a time longer than a prefixed limit, so the transfer is considered aborted and an error is detected. • Mode B is selected, the number parameter is not zero in the command word and the number of transferred words is different from the one programmed in the command word. • A frame error can also occur when the access limitations to DRAM in dual sequencer mode at maximum ck are violated (refer to Table 49) • word_error: during the transfer of a word long data, the device receives or sends an incorrect number of bits (15 or 17 instead of 16, for example). If multiple words are being transferred in a row with the chip select always active (the fastest way), the error is detected at the end of the sequence and it is not possible to say which is the incorrect word. To be sure of the incorrect data, the chip select must be deactivated and reactivated between each word transfer. 8.3.4.18 Interruption status registers These two registers latch the status of all the interrupt requests toward the external microcontroller. They also latch the halt signal generated by the automatic diagnostics toward the six microcores. Table 164. Interrupt_Register_Part1 (1B4h) Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Name Reserved irq_uc1 _ch3 irq_uc0 _ch3 irq_uc1 _ch2 irq_uc0 _ch2 irq_uc1 _ch1 irq_uc0 _ch1 Reserved halt_uc 1_ch3 halt_uc 0_ch3 halt_uc 1_ch2 halt_uc 0_ch2 halt_uc 1_ch1 halt_uc 0_ch1 R/W - r r r r r r - r r r r r r Lock no no no no no no no no no no no no no no Reset 00 0 0 0 0 0 0 00 0 0 0 0 0 0 Table 165. Interrupt_Register_Part2 (1B5h) Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Name Reserved checksu m_ch3 checks um_ch 2 checks um_ch 1 cksys_ missin g SPI_irq drv_irq Reserved R/W - r r r r r r - Lock no no no no no no no no Reset 00 0 0 0 0 0 0 00000000 |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List 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 |