CAN Sampler
MPC5606S Microcontroller Reference Manual, Rev. 7
Freescale Semiconductor 183
 
7.3.2 CAN Sampler Sample Registers 0–11
The CAN Sampler sample registers 0–11 have the same structure; Figure 7-3 and Figure 7-4 show this 
structure for registers 0 and 11, respectively.
Table 7-2. Control Register (CR) field description 
0-15 Reserved
16
RX_COMPLETE
0 CAN frame has not been stored in the sample registers. 
1 CAN frame is stored in the sample registers. 
17
BUSY
This bit indicates the status of sampling. 
0 Sampling is complete or has not started. 
1 Sampling is ongoing. 
18
Active_CK
This bit indicates which is current clock for sample registers, xmem_ck.
0 ipg_clk_s is currently xmem_ck
1 RC_CLK is currently xmem_ck. . 
19-21 Reserved 
These are reserved bits. These bits are always read as 0.
22
MODE
0:Skip the first frame and sample and store the second frame (SF_MODE). 
1:Sample and store the first frame (FF_MODE). 
23-25
CAN_RX_SEL
These bits determine which RX bit is sampled. 
000 Rx0 is selected
001 Rx1 is selected
010 Rx2 is selected
011 Rx3 is selected
100 Rx4 is selected
101 Rx5 is selected (not valid on this device)
110 Rx6 is selected (not valid on this device)
111 Rx7 is selected (not valid on this device)
26-30
BRP
Baud Rate Prescaler
These bits are used to set the baud rate before going into standby mode
00000 Prescaler has 1. 
11111 Prescaler has 32. 
31
CAN_SMPLR_E
N
CAN Sampler Enable
This bit enables the CAN Sampler before going into standby or stop mode.
0  CAN Sampler is disabled. 
1  CAN Sampler is enabled. 
Note: When the CAN Sampler is enabled (CAN_SMPLER_EN = 1) and the peripheral is 
stopped by a mode transition through the Mode Entry (MC_ME) block, it remains in the 
stopped state even after exiting the mode. The peripheral is unavailable for further 
sampling until and unless either a device reset occurs, or the CAN Sampler is disabled 
and enabled again. If the CAN Sampler has to be used again for sampling, it needs to be 
disabled and enabled again by programming CAN_SMPLER_EN
 = 0, followed by 
CAN_SMPLER_EN
 = 1.