ATxmega128B1 Atmel Corporation, ATxmega128B1 Datasheet - Page 247

no-image

ATxmega128B1

Manufacturer Part Number
ATxmega128B1
Description
Manufacturer
Atmel Corporation
Datasheets

Specifications of ATxmega128B1

Flash (kbytes)
128 Kbytes
Pin Count
100
Max. Operating Frequency
32 MHz
Cpu
8-bit AVR
# Of Touch Channels
16
Hardware Qtouch Acquisition
No
Max I/o Pins
53
Ext Interrupts
53
Usb Transceiver
1
Usb Speed
Full Speed
Usb Interface
Device
Spi
3
Twi (i2c)
1
Uart
2
Segment Lcd
160
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
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
3
Output Compare Channels
10
Input Capture Channels
10
Pwm Channels
10
32khz Rtc
Yes
Calibrated Rc Oscillator
Yes

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
ATxmega128B1-AU
Manufacturer:
TI
Quantity:
90
Part Number:
ATxmega128B1-AU
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
ATxmega128B1-AUR
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
ATxmega128B1-CUR
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
ATxmega128B1-U
Manufacturer:
FUJITSU
Quantity:
632
Figure 19-13. TWI slave operation.
19.6.1
19.6.1.1
19.6.1.2
8291A–AVR–10/11
S1
S2
SW
Sn
Driver software
The master provides data
on the bus
Slave provides data on
the bus
Diagram connections
Receiving Address Packets
S3
S
Case S1: Address packet accepted - Direction bit set
Case S2: Address packet accepted - Direction bit cleared
ADDRESS
The number of interrupts generated is kept to 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 a correct address. If the received address is not a match, the
slave will not acknowledge the address, and will wait for a new START condition.
The slave address/stop interrupt flag is set when a START condition succeeded by a valid
address byte 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.
The R/W direction flag reflects the direction bit received with the address. This can be read by
software to determine the type of operation currently in progress.
Depending on the R/W direction bit and bus condition, one of four distinct cases (S1 to S4)
arises following the address packet. The different cases must be handled in software.
If the R/W direction flag is set, this indicates a master read operation. The SCL line is forced low
by the slave, stretching the bus clock. If ACK is sent by the slave, the slave hardware will set the
data interrupt flag indicating data is needed for transmit. Data, repeated START, or STOP can
be received after this. If NACK is sent by the slave, the slave will wait for a new START condition
and address match.
If the R/W direction flag is cleared, this indicates a master write operation. The SCL line is forced
low, stretching the bus clock. If ACK is sent by the slave, the slave will wait for data to be
Interrupt on STOP
Condition Enabled
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
Atmel AVR XMEGA B
SLAVE DATA INTERRUPT
SW
SW
A/A
Sr
P
S2
S3
DATA
A/A
247

Related parts for ATxmega128B1