Renesas M16C/6NK Información técnica Pagina 247

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 412
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 246
Rev.2.10 Apr 14, 2006 page 223 of 378
REJ09B0124-0210
M16C/6N Group (M16C/6NK, M16C/6NM) 19. CAN Module
19. CAN Module
The CAN (Controller Area Network) module for the M16C/6N Group (M16C/6NK, M16C/6NM) of MCUs is a
communication controller implementing the CAN 2.0B protocol. The M16C/6N Group (M16C/6NK, M16C/6NM)
contains two CAN modules which can transmit and receive messages in both standard (11-bit) ID and
extended (29-bit) ID formats.
Figure 19.1 shows the CAN Module Block Diagram.
External CAN bus driver and receiver are required.
Figure 19.1 CAN Module Block Diagram
CTX/CRX: CAN I/O pins.
Protocol controller: This controller handles the bus arbitration and the CAN protocol services, i.e. bit
timing, stuffing, error status etc.
Message box: This memory block consists of 16 slots that can be configured either as transmitter
or receiver. Each slot contains an individual ID, data length code, a data field
(8 bytes), and a time stamp.
Acceptance filter: This block performs filtering operation for received messages. For the filtering
operation, the CiGMR register (i = 0, 1), the CiLMAR register, or the CiLMBR
register is used.
16 bit timer: Used for the time stamp function. When the received message is stored in the
message memory, the timer value is stored as a time stamp.
Wake-up function: CAN0/1 wake-up interrupt request is generated by a message from the CAN bus.
Interrupt generation function
: The interrupt requests are generated by the CAN module. CANi successful reception
interrupt, CANi successful transmission interrupt, CAN0/1 error interrupt, and
CAN0/1 wake-up interrupt.
CiCONR register CiCTLR register
i = 0, 1
j = 0 to 15
Interrupt
generation
function
Message box
slots 0 to 15
Message ID
DLC
Message data
Time stamp
CTX
CRX
CiGMR register
CiLMAR register
CiLMBR register
CAN0/1 error int
CAN0/1 wake-up int
Data bus
Data bus
CiMCTLj register
CiTSR register
16 bit timer
Acceptance filter
slots 0 to 15
Protocol
controller
Wake-up
function
CiSSTR register
CiICR register
CiSTR register
CiRECR register
CiTECR register
CANi successful reception int
CANi successful transmission int
CiIDR register
Vista de pagina 246
1 2 ... 242 243 244 245 246 247 248 249 250 251 252 ... 411 412

Comentarios a estos manuales

Sin comentarios