ST STM32G4 Series Reference Manual page 1938

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

Advertisement

FD controller area network (FDCAN)
43.4.8
FDCAN timestamp counter configuration register (FDCAN_TSCC)
Address offset: 0x0020
Reset value: 0x0000 0000
31
30
29
Res.
Res.
Res.
Res.
15
14
13
Res.
Res.
Res.
Res.
Bits 31: 20 Reserved, must be kept at reset value.
Bits 19: 16 TCP: Timestamp Counter Prescaler
Bits 15: 2 Reserved, must be kept at reset value.
Bits 1: 0 TSS: Timestamp Select
43.4.9
FDCAN timestamp counter value register (FDCAN_TSCV)
Address offset: 0x0024
Reset value: 0x0000 0000
31
30
29
Res.
Res.
Res.
Res.
15
14
13
rc
rc
rc
1938/2083
28
27
26
25
Res.
Res.
Res.
12
11
10
9
Res.
Res.
Res.
Configures the timestamp and timeout counters time unit in multiples of CAN bit times
[1 ... 16].
The actual interpretation by the hardware of this value is such that one more than the
value programmed here is used.
In CAN FD mode the internal timestamp counter TCP does not provide a constant time
base due to the different CAN bit times between arbitration phase and data phase. Thus
CAN FD requires an external counter for timestamp generation (TSS = 10).
These are protected write (P) bits, write access is possible only when the bit 1 [CCE] and
bit 0 [INIT] of CCCR register are set to 1.
00: Timestamp counter value always 0x0000
01: Timestamp counter value incremented according to TCP
10: External timestamp counter from TIM3 value (tim3_cnt[0:15])
11: Same as 00.
These are protected write (P) bits, write access is possible only when the bit 1 [CCE] and
bit 0 [INIT] of CCCR register are set to 1.
28
27
26
25
Res.
Res.
Res.
12
11
10
9
rc
rc
rc
rc
24
23
22
Res.
Res.
Res.
8
7
6
Res.
Res.
Res.
24
23
22
Res.
Res.
Res.
8
7
6
TSC[15:0]
rc
rc
rc
RM0440 Rev 1
21
20
19
18
Res.
Res.
TCP[3:0]
rw
rw
5
4
3
2
Res.
Res.
Res.
Res.
21
20
19
18
Res.
Res.
Res.
Res.
5
4
3
2
rc
rc
rc
rc
RM0440
17
16
rw
rw
1
0
TSS[1:0]
rw
rw
17
16
Res.
Res.
1
0
rc
rc

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the STM32G4 Series and is the answer not in the manual?

Table of Contents

Save PDF