Figure 233. Bit Timing - ST STM32F101 series Reference Manual

Advanced arm-based 32-bit mcus
Hide thumbs Also See for STM32F101 series:
Table of Contents

Advertisement

RM0008
A valid edge is defined as the first transition in a bit time from dominant to recessive bus
level provided the controller itself does not send a recessive bit.
If a valid edge is detected in BS1 instead of SYNC_SEG, BS1 is extended by up to SJW so
that the sample point is delayed.
Conversely, if a valid edge is detected in BS2 instead of SYNC_SEG, BS2 is shortened by
up to SJW so that the transmit point is moved earlier.
As a safeguard against programming errors, the configuration of the Bit Timing Register
(CAN_BTR) is only possible while the device is in Standby mode.
Note:
For a detailed description of the CAN bit timing and resynchronization mechanism, please
refer to the ISO 11898 standard.
SYNC_SEG
BaudRate
NominalBitTime
with:
t
t
t
t
BRP[9:0], TS1[3:0] and TS2[2:0] are defined in the CAN_BTR Register.
BIT SEGMENT 1 (BS1)
1 x t
q
1
=
----------------------------------------------
NominalBitTime
×
t
1
=
+
q
= t
x (TS1[3:0] + 1),
BS1
q
= t
x (TS2[2:0] + 1),
BS2
q
= (BRP[9:0] + 1) x t
q
PCLK
where t
refers to the Time quantum
q
= time period of the APB clock,
PCLK
DocID13902 Rev 15

Figure 233. Bit timing

NOMINAL BIT TIME
t
BS1
SAMPLE POINT
t
t
+
BS1
BS2
Controller area network (bxCAN)
BIT SEGMENT 2 (BS2)
t
BS2
TRANSMIT POINT
662/1128
689

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the STM32F101 series and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

This manual is also suitable for:

Stm32f107 seriesStm32f102 seriesStm32f103 seriesStm32f105 seriesStm32f101 series

Table of Contents