ATxmega128A3 Atmel Corporation, ATxmega128A3 Datasheet - Page 215

no-image

ATxmega128A3

Manufacturer Part Number
ATxmega128A3
Description
Manufacturer
Atmel Corporation
Datasheets

Specifications of ATxmega128A3

Flash (kbytes)
128 Kbytes
Pin Count
64
Max. Operating Frequency
32 MHz
Cpu
8-bit AVR
# Of Touch Channels
16
Hardware Qtouch Acquisition
No
Max I/o Pins
50
Ext Interrupts
50
Usb Speed
No
Usb Interface
No
Spi
10
Twi (i2c)
2
Uart
7
Graphic Lcd
No
Video Decoder
No
Camera Interface
No
Adc Channels
16
Adc Resolution (bits)
12
Adc Speed (ksps)
2000
Analog Comparators
4
Resistive Touch Screen
No
Dac Channels
2
Dac Resolution (bits)
12
Temp. Sensor
Yes
Crypto Engine
AES/DES
Sram (kbytes)
8
Eeprom (bytes)
2048
Self Program Memory
YES
Dram Memory
No
Nand Interface
No
Picopower
Yes
Temp. Range (deg C)
-40 to 85
I/o Supply Class
1.6 to 3.6
Operating Voltage (vcc)
1.6 to 3.6
Fpu
No
Mpu / Mmu
no / no
Timers
7
Output Compare Channels
22
Input Capture Channels
22
Pwm Channels
22
32khz Rtc
Yes
Calibrated Rc Oscillator
Yes

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
ATxmega128A3-AU
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
ATxmega128A3-AUR
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
ATxmega128A3-MH
Manufacturer:
ZARLINK
Quantity:
101
Part Number:
ATxmega128A3U-AU
Manufacturer:
ATMEL
Quantity:
39
Part Number:
ATxmega128A3U-AU
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
ATxmega128A3U-AUR
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
ATxmega128A3U-MH
Manufacturer:
ATMEL
Quantity:
1
Part Number:
ATxmega128A3U-MH
Manufacturer:
ATMEL
Quantity:
929
19.6
Figure 19-13. TWI Slave Operation
19.6.1
8077H–AVR–12/09
S1
S2
SW
Sn
Driver software
The master provides data
on the bus
Slave provides data on
the bus
Diagram connections
TWI Slave Operation
Receiving Address Packets
S3
S
ADDRESS
since arbitration can be lost during the transmission. If a collision is detected the master looses
arbitration and the Arbitration Lost flag is set.
The TWI slave is byte-oriented with optional interrupts after each byte. There are separate slave
Data Interrupt and Address/Stop Interrupt. Interrupt flags can also be used for polled operation.
There are dedicated status flags for indicating ACK/NACK received, clock hold, collision, bus
error and read/write direction.
When an interrupt flag is set, the SCL line is forced low. This will give the slave time to respond
or handle any data, and will in most cases require software interaction.
TWI slave operation. The diamond shapes symbols (SW) indicate where software interaction is
required.
The number of interrupts generated is kept at a minimum by automatic handling of most condi-
tions. Quick Command can be enabled to auto trigger operations and reduce software
complexity.
Promiscuous Mode can be enabled to allow the slave to respond to all received addresses.
When the TWI slave is properly configured, it will wait for a START condition to be detected.
When this happens, the successive address byte will be received and checked by the address
match logic, and the slave will ACK the correct address. If the received address is not a match,
the slave will not acknowledge the address and wait for a new START condition.
The slave Address/Stop Interrupt Flag is set when a START condition succeeded by a valid
address packet is detected. A general call address will also set the interrupt flag.
A START condition immediately followed by a STOP condition, is an illegal operation and the
Bus Error flag is set.
Condition Enabled
Interrupt on STOP
SLAVE ADDRESS INTERRUPT
Collision
(SMBus)
W
R
SW
SW
SW
SW
Release
Hold
A/A
A
A
A
S1
S1
S1
Sr
P
S2
S3
DATA
SLAVE DATA INTERRUPT
SW
SW
A/A
Figure
Sr
P
XMEGA A
S2
S3
19-13. shows the
DATA
A/A
215

Related parts for ATxmega128A3