AT90USB162 Atmel Corporation, AT90USB162 Datasheet - Page 198

no-image

AT90USB162

Manufacturer Part Number
AT90USB162
Description
Manufacturer
Atmel Corporation
Datasheets

Specifications of AT90USB162

Flash (kbytes)
16 Kbytes
Pin Count
32
Max. Operating Frequency
16 MHz
Cpu
8-bit AVR
Hardware Qtouch Acquisition
No
Max I/o Pins
22
Ext Interrupts
21
Usb Transceiver
1
Usb Speed
Full Speed
Usb Interface
Device
Spi
2
Uart
1
Graphic Lcd
No
Video Decoder
No
Camera Interface
No
Analog Comparators
1
Resistive Touch Screen
No
Temp. Sensor
No
Crypto Engine
No
Sram (kbytes)
0.5
Eeprom (bytes)
512
Self Program Memory
YES
Dram Memory
No
Nand Interface
No
Picopower
No
Temp. Range (deg C)
-40 to 85
I/o Supply Class
2.7 to 5.5
Operating Voltage (vcc)
2.7 to 5.5
Fpu
No
Mpu / Mmu
no / no
Timers
2
Output Compare Channels
5
Input Capture Channels
1
Pwm Channels
4
32khz Rtc
No
Calibrated Rc Oscillator
Yes

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
AT90USB162-16AU
Manufacturer:
Atmel
Quantity:
30 024
Part Number:
AT90USB162-16AU
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
AT90USB162-16AU
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
AT90USB162-16AUR
Manufacturer:
Atmel
Quantity:
2 751
Part Number:
AT90USB162-16AUR
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
AT90USB162-16MU
Manufacturer:
Atmel
Quantity:
42 926
Part Number:
AT90USB162-16MU
Manufacturer:
ATMEL
Quantity:
3 470
Part Number:
AT90USB162-16MU
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Part Number:
AT90USB162-16MUR
Manufacturer:
TT
Quantity:
400 000
20.7
198
Address Setup
AT90USB82/162
Figure 20-2. Endpoint activation flow:
As long as the endpoint is not correctly configured (CFGOK cleared), the hardware does not
acknowledge the packets sent by the host.
CFGOK will not be set if the Endpoint size parameter is bigger than the DPRAM size.
A clear of EPEN acts as an endpoint reset (see Section 20.3, page 196 for more details). It also
performs the next operation:
See Section 19.6, page 190 for more details about the memory allocation/reorganization.
The USB device address is set up according to the USB protocol:
ADDEN and UADD shall not be written at the same time.
UADD contains the default address 00h after a power-up or an USB reset.
• The configuration of the endpoint is kept (EPSIZE, EPBK, ALLOC kept)
• It resets the data toggle field.
• The DPRAM memory associated to the endpoint is still reserved.
• the USB device, after power-up, responds at address 0
• the host sends a SETUP command (SET_ADDRESS(addr)),
• the firmware records that address in UADD, but keep ADDEN cleared,
• the USB device sends an IN command of 0 bytes (IN 0 Zero Length Packet) to acknowledge
• then, the firmware may enable the USB device address by setting ADDEN. The only
the transaction,
accepted address by the controller is the one stored in UADD.
Endpoint activated
Yes
UECFG0X
UECFG1X
CFGOK=1
Activation
Endpoint
EPEN=1
UENUM
EPNUM=x
EPTYPE
EPSIZE
ALLOC
EPDIR
EPBK
...
No
ERROR
Select the endpoint
Activate the endpoint
Configure:
Configure:
Allocation and reorganization of
the memory is made on-the-fly
Test the correct endpoint
configuration
- the endpoint direction
- the endpoint type
- the Not Yet Disable feature
- the endpoint size
- the bank parametrization
7707F–AVR–11/10

Related parts for AT90USB162