AT91SAM9G45-EKES Atmel, AT91SAM9G45-EKES Datasheet - Page 492

KIT EVAL FOR AT91SAM9G45

AT91SAM9G45-EKES

Manufacturer Part Number
AT91SAM9G45-EKES
Description
KIT EVAL FOR AT91SAM9G45
Manufacturer
Atmel
Series
AT91SAM Smart ARMr
Type
MCUr

Specifications of AT91SAM9G45-EKES

Contents
Board
Processor To Be Evaluated
SAM9G45
Data Bus Width
32 bit
Interface Type
I2C, SPI, UART
Maximum Operating Temperature
+ 50 C
Minimum Operating Temperature
- 10 C
Operating Supply Voltage
1.8 V to 3.3 V
For Use With/related Products
AT91SAM9G45
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Other names
Q4626953
Figure 31-11. Master Write with One, Two or Three Bytes Internal Address and One Data Byte
Figure 31-12. Master Read with One, Two or Three Bytes Internal Address and One Data Byte
31.8.6.2
Figure 31-13. Internal Address Usage
492
TWD
TWD
TWD
TWD
TWD
TWD
Three bytes internal address
Two bytes internal address
One byte internal address
Three bytes internal address
Two bytes internal address
One byte internal address
S
S
S
AT91SAM9G45
S
S
S
10-bit Slave Addressing
DADR
DADR
DADR
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 (TWI_IADR). The two remaining
Internal 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)
Figure 31-13
the use of internal addresses to access the device.
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 TWI_IADR with b3 b4 b5 b6 b7 b8 b9 b10 (b10 is the LSB of the 10-bit
W
W
W
S
T
A
R
T
A
A
A
M
S
B
address)
Address
Device
IADR(23:16)
A
A
A
IADR(15:8)
IADR(7:0)
0
below shows a byte write to an Atmel AT24LC512 EEPROM. This demonstrates
IADR(23:16)
IADR(15:8)
S
B
IADR(7:0)
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)
A
A
A
DADR
A
C
K
IADR(15:8)
IADR(7:0)
WORD ADDRESS
DATA
SECOND
R
A
A
Sr
IADR(7:0)
A
S
B
A
A
A
L
A
C
K
DADR
IADR(7:0)
P
DATA
DATA
DATA
A
Sr
R
A
C
K
O
S
T
P
A
A
N
A
DADR
DATA
P
P
DATA
DATA
6438F–ATARM–21-Jun-10
R
N
P
A
N
A
P
P

Related parts for AT91SAM9G45-EKES