at32uc3b0512-z2ues ATMEL Corporation, at32uc3b0512-z2ues Datasheet - Page 228

no-image

at32uc3b0512-z2ues

Manufacturer Part Number
at32uc3b0512-z2ues
Description
32-bit Avr Microcontroller
Manufacturer
ATMEL Corporation
Datasheet
Figure 19-12. Master Read with One, Two or Three Bytes Internal Address and One Data Byte
19.10.7.2
Figure 19-13. Internal Address Usage
32059J–12/2010
TWD
TWD
TWD
Three bytes internal address
Two bytes internal address
One byte internal address
S
S
S
10-bit Slave Addressing
DADR
DADR
DADR
W
W
W
For a slave address higher than 7 bits, the user must configure the address size (IADRSZ) and
set the other slave address bits in the internal address register (IADR). The two remaining Inter-
nal address bytes, IADR[15:8] and IADR[23:16] can be used the same as in 7-bit Slave
Addressing.
Example: Address a 10-bit device:
(10-bit device address is b1 b2 b3 b4 b5 b6 b7 b8 b9 b10)
1. Program IADRSZ = 1,
2. Program DADR with 1 1 1 1 0 b1 b2 (b1 is the MSB of the 10-bit address, b2, etc.)
3. Program IADR with b3 b4 b5 b6 b7 b8 b9 b10 (b10 is the LSB of the 10-bit address)
Figure 19-13
the use of internal addresses to access the device.
S
T
A
R
T
A
A
A
M
S
B
Address
Device
IADR(23:16)
IADR(15:8)
IADR(7:0)
0
below shows a byte write to an Atmel AT24LC512 EEPROM. This demonstrates
S
B
L
W
W
R
E
T
R
I
/
A
C
K
WORD ADDRESS
A
A
A
M
S
B
FIRST
IADR(15:8)
Sr
IADR(7:0)
DADR
A
C
K
WORD ADDRESS
SECOND
A
A
R
Sr
IADR(7:0)
A
L
S
B
A
C
K
DADR
DATA
DATA
A
Sr
R
A
C
K
S
O
P
T
N
A
DADR
DATA
P
DATA
AT32UC3B
R
N
P
N
A
P
228

Related parts for at32uc3b0512-z2ues