cp3bt13 National Semiconductor Corporation, cp3bt13 Datasheet - Page 84

no-image

cp3bt13

Manufacturer Part Number
cp3bt13
Description
Cp3bt13 Reprogrammable Connectivity Processor With Bluetooth-r And Can Interfaces
Manufacturer
National Semiconductor Corporation
Datasheet
www.national.com
16.2.7
The CAN prescaler (PSC) is shown is Figure 35. It divides
the CKI input clock by the value defined in the CTIM register.
The resulting clock is called time quanta clock and defines
the length of one time quantum (tq).
Please refer to CAN Timing Register (CTIM) on page 101
for a detailed description of the CTIM register.
Note: PSC is the value of the clock prescaler. TSEG1 and
TSEG2 are the length of time segment 1 and 2 in time quan-
ta.
The resulting bus clock can be calculated by the equation:
The values of PSC, TSEG1, and TSEG2 are specified by
the contents of the registers PSC, TSEG1, and TSEG2 as
follows:
busclock
Clock Generator
Signal
Clock
=
CAN
Bus
------------------------------------------------------------------------------------ -
PSC
Signal
Clock
CAN
Bus
PREVIOUS
PREVIOUS
BIT
BIT
x 1
PREVIOUS
PREVIOUS
BIT
BIT
+
TSEG1
A
A
CKI
A
A
Figure 34. Resynchronization (e < -SJW)
Figure 33. Resynchronization (e > SJW)
e
+
TSEG2
TSEG1
TSEG1
"NORMAL" BIT TIME
BIT TIME LENGTHENED BY SJW
BIT TIME SHORTENED BY SJW
TSEG1
TSEG1
"NORMAL" BIT TIME
84
16.3
The CAN module has access to 15 independent message
buffers, which are memory mapped in RAM. Each message
buffer consists of 8 different 16-bit RAM locations and can
be individually configured as a receive message buffer or as
a transmit message buffer.
A dedicated acceptance filtering procedure enables soft-
ware to configure each buffer to receive only a single mes-
sage ID or a group of messages. One buffer uses an
CKI
TSEG2
PSC = PSC[5:0] + 2
TSEG1 = TSEG1[3:0] + 1
TSEG2 = TSEG2[2:0] + 1
SJW
MESSAGE TRANSFER
÷
PSC
TSEG2
Figure 35. CAN Prescaler
TSEG2
TSEG2
Internal Time
Quanta Clock (1/tq)
NEXT BIT
e
÷
NEXT BIT
(1+TSEG1+TSEG2)
NEXT BIT
DS030
DS029
Bit Rate
DS031

Related parts for cp3bt13