STMicroelectronics STM32WLEx Reference Manual page 1004

Advanced arm-based 32-bit mcus with sub-ghz radio solution
Table of Contents

Advertisement

Inter-integrated circuit (I2C) interface
Bits 9:0 SADD[9:0]: Slave address (master mode)
Note: Changing these bits when the START bit is set is not allowed.
32.7.3
I2C own address 1 register (I2C_OAR1)
Address offset: 0x08
Reset value: 0x0000 0000
Access: No wait states, except if a write access occurs while a write access to this register 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
Res.
Res.
Res.
Res.
15
14
13
OA1EN
Res.
Res.
Res.
rw
Bits 31:16 Reserved, must be kept at reset value.
Bit 15 OA1EN: Own address 1 enable
Bits 14:11 Reserved, must be kept at reset value.
Bit 10 OA1MODE: Own address 1 10-bit mode
Note: This bit can be written only when OA1EN=0.
Bits 9:0 OA1[9:0]: Interface own slave address
Note: These bits can be written only when OA1EN=0.
1004/1306
In 7-bit addressing mode (ADD10 = 0):
SADD[7:1] should be written with the 7-bit slave address to be sent. The bits SADD[9],
SADD[8] and SADD[0] are don't care.
In 10-bit addressing mode (ADD10 = 1):
SADD[9:0] should be written with the 10-bit slave address to be sent.
28
27
26
25
Res.
Res.
Res.
12
11
10
9
OA1
Res.
MODE
rw
rw
0: Own address 1 disabled. The received slave address OA1 is NACKed.
1: Own address 1 enabled. The received slave address OA1 is ACKed.
0: Own address 1 is a 7-bit address.
1: Own address 1 is a 10-bit address.
7-bit addressing mode: OA1[7:1] contains the 7-bit own slave address. The bits OA1[9],
OA1[8] and OA1[0] are don't care.
10-bit addressing mode: OA1[9:0] contains the 10-bit own slave address.
24
23
22
Res.
Res.
Res.
8
7
6
rw
rw
rw
RM0461 Rev 5
21
20
19
18
Res.
Res.
Res.
Res.
5
4
3
2
OA1[9:0]
rw
rw
rw
rw
RM0461
17
16
Res.
Res.
1
0
rw
rw

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

Table of Contents