| Electronic Components Datasheet Search |
|
CP3SP33SMS/NOPB Datasheet(PDF) 194 Page - Texas Instruments |
|
|
|||||||||||||||||||||||||||||
CP3SP33SMS/NOPB Datasheet(HTML) 194 Page - Texas Instruments |
|
194 / 407 page ![]() 16-Bit counter 1 + Reset TSTP register ACK slot ACK slot and buffer 0 active CAN bits on the bus DS044 CP3SP33 SNOSCW5 – MAY 2013 www.ti.com Table 22-5. Highest Priority Interrupt Code (ICEN=FFFF) (continued) CAN INTERRUPT REQUEST IRQ IST3 IST2 IST1 IST0 Buffer 9 1 1 0 1 0 Buffer 10 1 1 0 1 1 Buffer 11 1 1 1 0 0 Buffer 12 1 1 1 0 1 Buffer 13 1 1 1 1 0 Buffer 14 1 1 1 1 1 22.7.2 Usage Notes The interrupt code IST3:0 can be used within the interrupt handler as a displacement to jump to the relevant subroutine. The CAN Interrupt Code Enable (CICEN) register is used in the CAN interrupt handler if software is servicing all receive buffer interrupts first, followed by all transmit buffer interrupts. In this case, software can first enable only receive buffer interrupts to be coded, then scan and service all pending interrupt requests in the order of their priority. After processing all the receive interrupts, software changes the CICEN register to disable all receive buffers and enable all transmit buffers, then services all pending transmit buffer interrupt requests according to their priorities. 22.8 Time Stamp Counter Each CAN module features a free running 16-bit timer (CTMR) incrementing every bit time recognized on the CAN bus. The value of this timer during the ACK slot is captured into the TSTP register of a message buffer after a successful transmission or reception of a message. Figure 22-27 shows a simplified block diagram of the Time Stamp counter. Figure 22-27. Time Stamp Counter The timer can be synchronized over the CAN network by receiving or transmitting a message to or from buffer 0. In this case, the TSTP register of buffer 0 captures the current CTMR value during the ACK slot of a message (as above), and then the CTMR is reset to 0000b. Synchronization can be enabled or disabled using the CGCR.TSTPEN bit. 22.9 Memory Organization Each CAN module occupies 288 words in the memory address space. This space is organized as 15 banks of 16 words per bank (plus one 16-word reserved bank) for the message buffers and 28 words (plus 4 reserved words) for control and status. 22.9.1 CPU Access to CAN Registers/Memory All memory locations occupied by the message buffers are shared by the CPU and CAN modules, with CPU access having priority over CAN access. The CAN modules and the CPU normally have single-cycle access to this memory. However, if an access contention occurs, the access to the memory is blocked every cycle until the contention is resolved. This access arbitration is transparent to software. 194 Dual CAN Interfaces Copyright © 2013, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links :CP3SP33 |
|
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 |