| Zakładka z wyszukiwarką danych komponentów |
|
COP888EB Arkusz danych(PDF) 23 Page - National Semiconductor (TI) |
|
|
|
|||||||||||||||||||||||||||||
COP888EB Arkusz danych(HTML) 23 Page - National Semiconductor (TI) |
|
23 / 75 page ![]() Functional Block Description of the CAN Interface Interface Management Logic (IML) The IML executes the CPU’s transmission and reception commands and controls the data transfer between CPU, Rx/Tx and CAN registers. It provides the CAN Interface with Rx/Tx data from the memory mapped Register Block. It also sets and resets the CAN status information and generates interrupts to the CPU. Bit Stream Processor (BSP) The BSP is a sequencer controlling the data stream between The Interface Management Logic (parallel data) and the bus line (serial data). It controls the transceive logic with regard to reception and arbitration, and creates error signals ac- cording to the bus specification. Transceive Logic (TCL) The TCL is a state machine which incorporates the bit stuff logic and controls the output drivers, CRC logic and the Rx/Tx shift registers. It also controls the synchronization to the bus with the CAN clock signal generated by the BTL. Error Management Logic (EML) The EML is responsible for the fault confinement of the CAN protocol. It is also responsible for changing the error counters, setting the appropriate error flag bits and interrupts and changing the error status (passive, active and bus off). Cyclic Redundancy Check (CRC) Generator and Register The CRC Generator consists of a 15-bit shift register and the logic required to generate the checksum of the destuffed bit- stream. It informs the EML about the result of a receiver checksum. The checksum is generated by the polynomial: χ15 + χ14 + χ10 + χ8 + χ7 + χ4 + χ3 −1 Receive/Transmit (Rx/Tx) Registers The Rx/Tx registers are 8-bit shift registers controlled by the TCL and the BSP. They are loaded or read by the Interface Management Logic, which holds the data to be transmitted or the data that was received. Bit Time Logic (BTL) The bit time logic divider divides the CKI input clock by the value defined in the CAN prescaler (CSCAL) and bus timing register (CTIM). The resultig bit time (tcan) can be computed by the formula: Where divider is the value of the clock prescaler, PS is the programmable value of phase segment 1 and 2 (1..8) and PPS the programmed value of the propagation segment (1..8) (located in CTIM). Bus Timing Considerations The internal architecture of the CAN interface has been op- timized to allow fast software response times within mes- sages of more than two data bytes. The TBE (Transmit Buffer Empty) bit is set on the last bit of odd data bytes when CAN internal sample points are high. It is the user’s responsibility to ensure that the time between setting TBE and a reload of TxD2 is longer than the length of phase segment 2 as indicated in the following equation: Table 3 shows examples of the minimum required t LOAD for different CSCAL settings based on a clock frequency of 10 MHz. Lower clock speeds require recalculation of the CAN bit rate and the mimimum t LOAD. TABLE 3. CAN Timing (CKI = 10 MHz, t c = 1 µs) PS CSCAL CAN Bit Rate (kbit/s) Minimum t LOAD (µs) 4 3 250 2.0 4 9 100 5.0 4 15 62 8.0 4 24 40 12.5 439 25 20 499 10 50 4 199 5 100 Figure 16 illustrates the minimum time required for t LOAD. DS012837-17 FIGURE 15. Bit Rate Generation www.national.com 23 |
|
Link URL |
| Czy Alldatasheet okazała się pomocna? [ DONATE ] |
O Alldatasheet | Reklama | Kontakt | Polityka prywatności | Link do karty katalogowej | Linki | Lista producentów 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 |