at91sam9g20-cu ATMEL Corporation, at91sam9g20-cu Datasheet - Page 426

no-image

at91sam9g20-cu

Manufacturer Part Number
at91sam9g20-cu
Description
At91 Arm Thumb Microcontrollers
Manufacturer
ATMEL Corporation
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
AT91SAM9G20-CU
Manufacturer:
Atmel
Quantity:
5
Part Number:
AT91SAM9G20-CU
Manufacturer:
ATMEL
Quantity:
188
Part Number:
AT91SAM9G20-CU
Manufacturer:
ATMEL
Quantity:
705
Company:
Part Number:
AT91SAM9G20-CU
Quantity:
4
426
AT91SAM9G20 Preliminary
Figure 31-16. TWI Write Operation with Single Data Byte and Internal Address
(CLDIV, CHDIV, CKDIV) in TWI_CWGR
- Internal address size (IADRSZ)
- Device slave address (DADR)
Set the Master Mode register:
TWI_CR = MSEN + SVDIS
Write ==> bit MREAD = 0
TWI_THR = Data to send
Set the internal address
Set the Control register:
Write STOP command
TWI_IADR = address
- Transfer direction bit
Load transmit register
Read Status register
Read Status register
(Needed only once)
TWI_CR = STOP
Transfer finished
Yes
- Master enable
TXCOMP = 1?
Set TWI clock
TXRDY = 1?
Yes
BEGIN
No
No
6384B–ATARM–15-Dec-08

Related parts for at91sam9g20-cu