ATxmega128B1 Atmel Corporation, ATxmega128B1 Datasheet - Page 244

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
19.5
8291A–AVR–10/11
TWI Master Operation
Figure 19-11. Bus state, state diagram.
After a system reset and/or TWI master enable, the bus state is unknown. The bus state
machine can be forced to enter idle by writing to the bus state bits accordingly. If no state is set
by application software, the bus state will become idle when the first STOP condition is detected.
If the master inactive bus timeout is enabled, the bus state will change to idle on the occurrence
of a timeout. After a known bus state is established, only a system reset or disabling of the TWI
master will set the state to unknown.
When the bus is idle, it is ready for a new transaction. If a START condition generated externally
is detected, the bus becomes busy until a STOP condition is detected. The STOP condition will
change the bus state to idle. If the master inactive bus timeout is enabled, the bus state will
change from busy to idle on the occurrence of a timeout.
If a START condition is generated internally while in idle state, the owner state is entered. If the
complete transaction was performed without interference, i.e., no collisions are detected, the
master will issue a STOP condition and the bus state will change back to idle. If a collision is
detected, the arbitration is assumed lost and the bus state becomes busy until a STOP condition
is detected. A repeated START condition will only change the bus state if arbitration is lost dur-
ing the issuing of the repeated START. Arbitration during repeated START can be lost only if the
arbitration has been ongoing since the first START condition. This happens if two masters send
the exact same ADDRESS+DATA before one of the masters issues a repeated START (Sr).
The TWI master is byte-oriented, with an optional interrupt after each byte. There are separate
interrupts for master write and master read. Interrupt flags can also be used for polled operation.
There are dedicated status flags for indicating ACK/NACK received, bus error, arbitration lost,
clock hold, and bus state.
(0b01)
RESET
IDLE
P + Timeout
Write ADDRESS
UNKNOWN
(S)
(0b00)
Command P
P + Timeout
OWNER
(0b10)
S
ADDRESS(Sr)
Write
Atmel AVR XMEGA B
Arbitration
Lost
BUSY
(0b11)
Sr
244

Related parts for ATxmega128B1