Renesas M16C/6NK Technical Information Seite 259

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 412
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 258
Rev.2.10 Apr 14, 2006 page 235 of 378
REJ09B0124-0210
M16C/6N Group (M16C/6NK, M16C/6NM) 19. CAN Module
19.5.2 CAN Operation Mode
CAN operation mode is activated by setting the Reset bit in the CiCTLR register (i = 0, 1) to 0. If the Reset
bit is set to 0, check that the State_Reset bit in the CiSTR register is set to 0.
If 11 consecutive recessive bits are detected after entering CAN operation mode, the module initiates the
following functions:
The module's communication functions are released and it becomes an active node on the network
and may transmit and receive CAN messages.
Release the internal fault confinement logic including receive and transmit error counters. The module
may leave CAN operation mode depending on the error counts.
Within CAN operation mode, the module may be in three different sub modes, depending on which type
of communication functions are performed:
Module idle : The modules receive and transmit sections are inactive.
Module receives : The module receives a CAN message sent by another node.
Module transmits : The module transmits a CAN message. The module may receive its own message
simultaneously when the LoopBack bit in the CiCTLR register = 1 (Loop back mode
enabled).
Figure 19.13 shows the Sub Modes of CAN Operation Mode.
Figure 19.13 Sub Modes of CAN Operation Mode
19.5.3 CAN Sleep Mode
CAN sleep mode is activated by setting the Sleep bit to 1 in the CiCTLR register. It should never be
activated from CAN operation mode but only via CAN reset/initialization mode.
Entering CAN sleep mode instantly stops the clock supply to the module and thereby reduces power
dissipation.
19.5.4 CAN Interface Sleep Mode
CAN interface sleep mode is activated by setting the CCLK3 or CCLK7 bit in the CCLKR register to 1. It
should never be activated but only via CAN sleep mode.
Entering CAN interface sleep mode instantly stops the clock supply to the CPU Interface in the module and
thereby reduces power dissipation.
Finish
reception
Module idle
TrmState = 0
RecState = 0
TrmState = 1
RecState = 0
Finish
transmission
Detect
an SOF
Start
transmission
Lost in arbitration
Module transmits
TrmState = 0
RecState = 1
Module receives
TrmState, RecState: Bits in CiSTR register (i = 0, 1)
Seitenansicht 258
1 2 ... 254 255 256 257 258 259 260 261 262 263 264 ... 411 412

Kommentare zu diesen Handbüchern

Keine Kommentare