ATxmega128B1 Atmel Corporation, ATxmega128B1 Datasheet - Page 212

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
18.3
18.3.1
18.3.2
Figure 18-3. SETUP transaction.
8291A–AVR–10/11
IDLE
Operation
Start of Frame
SETUP
SETUP
TOKEN
DATA
This section gives an overview of the USB module operation during normal transactions. For
general details on USB and the USB protocol, please refer to http://www.usb.org and the USB
specification documents.
When a start of frame (SOF) token is detected and storing of the frame numbers is enabled, the
frame number from the token is stored in the frame number register (FRAMENUM) and the start
of frame interrupt flag (SOFIF) in the interrupt flag B clear/set register (INTFLAGSBCLR/SET) is
set. If there was a CRC or bit-stuff error, the frame error (FRAMEERR) flag in FRAMENUM is
set.
When a SETUP token is detected, the USB module fetches the endpoint control register (CTRL)
from the addressed output endpoint in the endpoint configuration table. If the endpoint type is
not set to control, the USB module returns to idle and waits for the next token packet.
The USB module then fetches the endpoint data pointer register (DATAPTR) and waits for a
DATA0 packet. If a PID error or any other PID than DATA0 is detected, the USB module returns
to idle and waits for the next token packet.
The incoming data are written to the data buffer pointed to by DATAPTR. If a bit-stuff error is
detected in the incoming data, the USB module returns to idle and waits for the next token
packet. If the number of received data bytes exceeds the endpoint's maximum data payload
size, as specified by the data size (SIZE) in the endpoint CTRL register, the remaining received
data bytes are discarded. The packet will still be checked for bit-stuff and CRC errors. Software
must never report a maximum data payload size to the host that is greater than specified in
SIZE. If there was a bit-stuff or CRC error in the packet, the USB module returns to idle and
waits for the next token packet.
If data was successfully received, an ACK handshake is returned to the host, and the number of
received data bytes, excluding the CRC, is written to the endpoint byte counter (CNT). If the
number of received data bytes is the maximum data payload specified by SIZE, no CRC data
are written in the data buffer. If the number of received data bytes is the maximum data payload
specified by SIZE minus one, only the first CRC data byte is written in the data buffer. If the num-
ber of received data bytes is equal or less than the data byte payload specified by SIZE minus
two, the two CRC data bytes are written in the data buffer.
BIT STUFF
ADDRESS
STORE
DATA
CRC
ADDRESS
MATCH?
N
o
Yes
ENDPOINT
BIT STUFF
OK?
N
o
Y
s e
ENDPOINT?
CRC OK?
LEGAL
N
N
o
o
Yes
Y
s e
CONFIG
READ
ACK
Atmel AVR XMEGA B
CTRL SET?
EP TYPE
N
o
Yes
UPDATE
STATUS
PID
PID OK?
N
o
Yes
212

Related parts for ATxmega128B1