Download Print this page

ST STM32F301 6 Series Reference Manual page 705

Advanced arm-based 32-bit mcus

Advertisement

RM0366
25.9.6
I2C timeout register (I2C_TIMEOUTR)
Address offset: 0x14
Reset value: 0x0000 0000
Access: no wait states, except if a write access occurs while a write access is ongoing. In
this case, wait states are inserted in the second write access until the previous one is
completed. The latency of the second write access can be up to 2 x PCLK1 + 6 x I2CCLK.
31
30
29
TEXTE
Res.
Res.
Res.
N
rw
15
14
13
TIMOU
Res.
Res.
TIDLE
TEN
rw
Bit 31 TEXTEN: Extended clock timeout enable
Bits 30:28 Reserved, must be kept at reset value.
Bits 27:16 TIMEOUTB[11:0]: Bus timeout B
Note: These bits can be written only when TEXTEN = 0.
Bit 15 TIMOUTEN: Clock timeout enable
Bits 14:13 Reserved, must be kept at reset value.
Bit 12 TIDLE: Idle clock timeout detection
Note: This bit can be written only when TIMOUTEN = 0.
Bits 11:0 TIMEOUTA[11:0]: Bus timeout A
Note: These bits can be written only when TIMOUTEN = 0.
28
27
26
25
rw
rw
rw
12
11
10
9
rw
rw
rw
rw
0: Extended clock timeout detection is disabled
1: Extended clock timeout detection is enabled. When a cumulative SCL stretch for more
than t
is done by the I2C interface, a timeout error is detected (TIMEOUT = 1).
LOW:EXT
This field is used to configure the cumulative clock extension timeout:
Controller mode: the controller cumulative clock low extend time (t
detected
Target mode: the target cumulative clock low extend time (t
t
= (TIMEOUTB + TIDLE = 01) x 2048 x t
LOW:EXT
0: SCL timeout detection is disabled
1: SCL timeout detection is enabled. When SCL is low for more than t
high for more than t
IDLE
0: TIMEOUTA is used to detect SCL low timeout
1: TIMEOUTA is used to detect both SCL and SDA high timeout (bus idle condition)
This field is used to configure:
The SCL low timeout condition t
t
= (TIMEOUTA + 1) x 2048 x t
TIMEOUT
The bus idle condition (both SCL and SDA high) when TIDLE = 1
t
= (TIMEOUTA + 1) x 4 x t
IDLE
24
23
22
TIMEOUTB[11:0]
rw
rw
rw
8
7
6
TIMEOUTA[11:0]
rw
rw
rw
(TIDLE = 1), a timeout error is detected (TIMEOUT = 1).
when TIDLE = 0
TIMEOUT
I2CCLK
I2CCLK
RM0366 Rev 5
Inter-integrated circuit interface (I2C)
21
20
19
rw
rw
rw
5
4
3
rw
rw
rw
LOW:SEXT
I2CCLK
TIMEOUT
18
17
16
rw
rw
rw
2
1
0
rw
rw
rw
) is
LOW:MEXT
) is detected
(TIDLE = 0) or
705/874
711

Advertisement

loading
Need help?

Need help?

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

This manual is also suitable for:

Stm32f301 8 seriesStm32f318 8 series