mc9s08dz32amlfr Freescale Semiconductor, Inc, mc9s08dz32amlfr Datasheet - Page 293

no-image

mc9s08dz32amlfr

Manufacturer Part Number
mc9s08dz32amlfr
Description
Hcs08 Microcontrollers
Manufacturer
Freescale Semiconductor, Inc
Datasheet
12.5.3.2
The MSCAN protects the user from accidentally violating the CAN protocol through programming errors.
The protection logic implements the following features:
12.5.3.3
Figure 12-42
The clock source bit (CLKSRC) in the CANCTL1 register (12.3.2/-260) defines whether the internal
CANCLK is connected to the output of a crystal oscillator (oscillator clock) or to the bus clock.
The clock source has to be chosen such that the tight oscillator tolerance requirements (up to 0.4%) of the
CAN protocol are met. Additionally, for high CAN bus rates (1 Mbps), a 45% to 55% duty cycle of the
clock is required.
Freescale Semiconductor
The receive and transmit error counters cannot be written or otherwise manipulated.
All registers which control the configuration of the MSCAN cannot be modified while the MSCAN
is on-line. The MSCAN has to be in Initialization Mode. The corresponding INITRQ/INITAK
handshake bits in the CANCTL0/CANCTL1 registers (see
Register 0
— MSCAN control 1 register (CANCTL1)
— MSCAN bus timing registers 0 and 1 (CANBTR0, CANBTR1)
— MSCAN identifier acceptance control register (CANIDAC)
— MSCAN identifier acceptance registers (CANIDAR0–CANIDAR7)
— MSCAN identifier mask registers (CANIDMR0–CANIDMR7)
The TXCAN pin is immediately forced to a recessive state when the MSCAN goes into the power
down mode or initialization mode (see
Section 12.5.5.5, “MSCAN Initialization
The MSCAN enable bit (CANE) is writable only once in normal system operation modes, which
provides further protection against inadvertently disabling the MSCAN.
Oscillator Clock
Bus Clock
Protocol Violation Protection
Clock System
shows the structure of the MSCAN clock generation circuitry.
(CANCTL0)”) serve as a lock to protect the following registers:
Figure 12-42. MSCAN Clocking Scheme
MC9S08DZ128 Series Data Sheet, Rev. 1
CLKSRC
Section 12.5.5.6, “MSCAN Power Down
Mode”).
CANCLK
Chapter 12 Freescale’s Controller Area Network (S08MSCANV1)
MSCAN
CLKSRC
Prescaler
(1 .. 64)
Section 12.3.1, “MSCAN Control
Time quanta clock (Tq)
Mode,” and
293

Related parts for mc9s08dz32amlfr