AT32UC3L064_1 ATMEL [ATMEL Corporation], AT32UC3L064_1 Datasheet - Page 492

no-image

AT32UC3L064_1

Manufacturer Part Number
AT32UC3L064_1
Description
AVR32 32-bit Microcontroller
Manufacturer
ATMEL [ATMEL Corporation]
Datasheet
22.8.5.2
22.8.6
Figure 22-10. Programmer Sends Data While the Bus is Busy
32099A–AVR32–06/09
TWI DATA transfer
(DADR + W + START + Write THR)
Multi-master Mode
TWCK
TWD
Data Receive with the Peripheral DMA Controller
A transfer is programmed
More than one master may access the bus at the same time without data corruption by using
arbitration.
Arbitration starts as soon as two or more masters place information on the bus at the same
time, and stops (arbitration is lost) for the master that intends to send a logical one while the
other master sends a logical zero.
As soon as arbitration is lost by a master, it stops sending data and listens to the bus in order
to detect a STOP. The SR.ARBLST flag will be set. When the STOP is detected, the master
who lost arbitration may reinitiate the data transfer.
Arbitration is illustrated in
If the user starts a transfer and if the bus is busy, TWIM automatically waits for a STOP condi-
tion on the bus before initiating the transfer (see
Note:
1. Initialize the receive Peripheral DMA Controller (memory pointers, size, etc.).
2. Configure the TWIM (ADR, NBYTES, etc.).
3. Start the transfer by setting the Peripheral DMA Controller RXTEN bit.
4. Wait for the Peripheral DMA Controller end RX flag.
5. Disable the Peripheral DMA Controller by setting the Peripheral DMA Controller
RXDIS bit.
DATA sent by a master
The state of the bus (busy or free) is not indicated in the user interface.
Bus is busy
STOP sent by the master
Transfer is kept
Figure 22-11 on page
Bus is free
Bus is considered as free
Transfer is initiated
493.
Figure 22-10 on page
START sent by the TWI
DATA sent by the TWI
492).
AT32UC3L
492

Related parts for AT32UC3L064_1