Freescale Semiconductor MPC5200B User Manual page 685

Freescale semiconductor board users guide
Table of Contents

Advertisement

Memory Map and Registers
msb 0
R
IMSG
W
RESET:
1
READ: any time
WRITE: IMSG, IE, and WCM any time.
CLKS write once in normal and emulation modes.
CLKS bit has modified functionality in special test mode.
Writes to unimplemented bits 5-2 are ignored.
IMSG — Ignore Message (Bit 7)
This bit allows the CPU to ignore messages by disabling updates of the BDLC State Vector Register register until a new Start of Frame
(SOF) or a BREAK symbol is detected. BDLC module transmitter and receiver operation are unaffected by the state of the IMSG bit.
1 = Disable BDLC State Vector Register Updates. When set, all BDLC interrupt sources (exceptions are described below) will be
prevented from updating BDLC State Vector Register status bits. Setting IMSG does not clear pending interrupt flags, the behavior
of which will still be as described in
or transmitting a message, state vector register updates will be inhibited for the rest of the message.
0 = Enable BDLC State Vector Register Updates. This bit is automatically cleared by the reception of a SOF symbol or a BREAK
symbol. It will then allow updates of the state vector register to occur.
There are two situations in which interrupts will not be masked by the IMSG bit: when a wakeup interrupt occurs; and when a receiver
error occurs which causes a byte pending transmission to be flushed from the transmit shadow register. See
Register (DLCBDR) - MBAR + 0x1305
CLKS
Clock Select (Bit 6)
The nominal BDLC operating frequency (mux interface clock frequency - f
J1850 bus communications to take place properly. The CLKS register bit is provided to allow the user to indicate to the BDLC module
which frequency (1.048576 MHz or 1 MHz) is used so that each symbol time can be automatically adjusted.
The CLKS bit is a write once bit. All writes to this bit will be ignored after the first one.
Binary frequency (1.048576 MHz) is used for f
Integer frequency (1 MHz) is used. for f
Section 20.8.1.3, J1850 VPW Valid/Invalid Bits & Symbols
binary frequencies.
IE
Interrupt Enable (Bit 1)
This bit determines whether the BDLC module will generate CPU interrupt requests. It does not affect CPU interrupt requests when
exiting the BDLC module Stop or Wait modes. Interrupt requests will be maintained until all of the interrupt request sources are cleared,
by performing the specified actions upon the BDLC module's registers. Interrupts that were pending at the time that this bit is cleared
may be lost.
1 = Enable interrupt requests from BDLC module
0 = Disable interrupt requests from BDLC module
If the programmer does not wish to use the interrupt capability of the BDLC module, the BDLC State Vector Register (BDLC State Vector
Register) can be polled periodically by the programmer to determine BDLC module states. Refer to
Register (DLCBSVR) - MBAR + 0x1300
WCM
Wait Clock Mode (Bit 0) (Provided CPU has Low Power Mode Options)
This bit determines how the BDLC module responds when the CPU enters WAIT mode. As described in
Operation, the BDLC module can respond by either entering BDLC_STOP mode, where all internal clocks are stopped, or entering
BDLC_WAIT mode where internal clocks are allowed to run.
20-6
Table 20-2. BDLC Control Register 1
1
2
3
CLKS
0
0
1
0
0
= Unimplemented or Reserved
Section , BDLC State Vector Register
for a description of the conditions which cause a pending transmission to be flushed.
.
bdlc
bdlc
describes the transmitter and receiver VPW symbol timing for integer and
for a description of BDLC State Vector Register register and how to clear interrupt requests.
MPC5200B Users Guide, Rev. 1
4
5
6
0
0
IE
0
0
0
(DLCBSVR). If this bit is set while the BDLC is receiving
Section 20.7.3.4, BDLC Data
) must always be 1.048576 MHz or 1 MHz in order for
bdlc
Section 20.7.3.2, BDLC State Vector
Section 20.3, Modes of
7 lsb
WCM
0
Freescale Semiconductor

Advertisement

Table of Contents
loading

Table of Contents