Freescale Semiconductor MPC5200B User Manual page 647

Freescale semiconductor board users guide
Table of Contents

Advertisement

Memory Map / Register Definition
Bit
Name
6
SLPAK
7
INITAK
19.5.5
MSCAN Bus Timing Register 0 (CANBTR0)—MBAR + 0x0904 / 0x984
R
W
RESET:
The MSCAN Bus Timing Register 0 provides for various bus timing control of the MSCAN module.
Read: Anytime
Write: Anytime in Initialization Mode (INITRQ = 1 and INITAK = 1)
Bit
Name
0:1
SJW[1:0]
2:7
BRP[5:0]
BRP5
BRP4
0
0
0
0
0
0
0
0
........................................................................................................................................
19-8
Sleep Mode Acknowledge—flag indicates whether MSCAN module has entered sleep mode.
It is used as a handshake flag for SLPRQ sleep mode request. Sleep mode is active when
INITRQ=1 and INITAK=1. Depending on the WUPE bit setting, MSCAN clears the flag if it
detects bus activity on CAN while in Sleep Mode.
0 = Running—MSCAN operates normally
1 = Sleep Mode Active—MSCAN has entered Sleep Mode
Initialization Mode Acknowledge—flag indicates whether MSCAN module is in initialization
mode. It is used as a handshake flag for the INITRQ initialization mode request. Initialization
mode is active when INITRQ=1 and INITAK=1. The registers CANCTL1, CANBTR0,
CANBTR1, CANIDAC, CANIDAR0-7, CANIDMR0-7 can only be written by the CPU when the
MSCAN is in initialization mode.
0 = Running – The MSCAN operates normally
1 = Initialization Mode Active – The MSCAN has entered initialization mode
Table 19-5. MSCAN Bus Timing Register 0
msb 0
1
2
SJW[1:0]
0
0
0
Synchronization Jump Width—defines the maximum number of time quanta (Tq) clock
cycles a bit can be shortened or lengthened to achieve re-synchronization to data transitions
on the bus.
00 = 1 Tq clock cycle
01 = 2 Tq clock cycles
10 = 3 Tq clock cycles
11 = 4 Tq clock cycles
Baud Rate Prescaler—bits determine time quanta (Tq) clock used to build up individual bit
timing, see
Table
19-6.
Table 19-6. Baud Rate Prescaler
BRP3
BRP2
0
0
0
0
MPC5200B Users Guide, Rev. 1
Description
3
4
5
BRP[5:0]
0
0
0
Description
BRP1
0
0
0
0
0
1
0
1
6
7 lsb
0
0
BRP0
Prescaler Value (P)
0
1
1
2
0
3
1
4
Freescale Semiconductor

Advertisement

Table of Contents
loading

Table of Contents