AT90USB647 Atmel Corporation, AT90USB647 Datasheet - Page 257

no-image

AT90USB647

Manufacturer Part Number
AT90USB647
Description
Manufacturer
Atmel Corporation
Datasheets

Specifications of AT90USB647

Flash (kbytes)
64 Kbytes
Pin Count
64
Max. Operating Frequency
16 MHz
Cpu
8-bit AVR
# Of Touch Channels
16
Hardware Qtouch Acquisition
No
Max I/o Pins
48
Ext Interrupts
16
Usb Transceiver
1
Usb Speed
Full Speed
Usb Interface
Device + OTG
Spi
2
Twi (i2c)
1
Uart
1
Graphic Lcd
No
Video Decoder
No
Camera Interface
No
Adc Channels
8
Adc Resolution (bits)
10
Adc Speed (ksps)
15
Analog Comparators
1
Resistive Touch Screen
No
Temp. Sensor
No
Crypto Engine
No
Sram (kbytes)
4
Eeprom (bytes)
2048
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
4
Output Compare Channels
10
Input Capture Channels
1
Pwm Channels
9
32khz Rtc
Yes
Calibrated Rc Oscillator
Yes

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
AT90USB647-16AE
Quantity:
8
Part Number:
AT90USB647-16AU
Manufacturer:
HITACHI
Quantity:
2 000
Part Number:
AT90USB647-AU
Manufacturer:
MURATA
Quantity:
1 000
Part Number:
AT90USB647-AU
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
AT90USB647-AUR
Manufacturer:
Atmel
Quantity:
1 951
Part Number:
AT90USB647-AUR
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
AT90USB647-MU
Manufacturer:
AAT
Quantity:
18 240
Part Number:
AT90USB647-MUR
Manufacturer:
AD
Quantity:
2 747
21.6.2
21.7
7593K–AVR–11/09
Memory management
Host mode
EPEN=1
ALLOC=1
When the USB interface is configured in host mode, internal Pull Down resistors are activated on
both UDP UDM lines and the interface detects the type of connected device.
The controller does only support the following memory allocation management.
The reservation of a Pipe or an Endpoint can only be made in the increasing order (Pipe/End-
point 0 to the last Pipe/Endpoint). The firmware shall thus configure them in the same order.
The reservation of a Pipe or an Endpoint “k
ware allocates the memory and inserts it between the Pipe/Endpoints “k
Pipe/Endpoint memory “slides” up and its data is lost. Note that the “k
point memory does not slide.
Clearing a Pipe enable (PEN) or an Endpoint enable (EPEN) does not clear either its ALLOC bit,
or its configuration (EPSIZE/PSIZE, EPBK/PBK). To free its memory, the firmware should clear
ALLOC. Then, the “k
and upper Pipe/Endpoint memory does not slide.
The following figure illustrates the allocation and reorganization of the USB memory in a typical
example:
Table 21-1.
Pipe/Endpoints
• First, Pipe/Endpoint 0 to Pipe/Endpoint 5 are configured, in the growing order. The memory
• Then, the Pipe/Endpoint 3 is disabled (EPEN=0), but its memory reservation is internally kept
• Its ALLOC bit is cleared: the Pipe/Endpoint 4 “slides” down, but the Pipe/Endpoint 5 does not
• Finally, if the firmware chooses to reconfigure the Pipe/Endpoint 3, with a bigger size. The
Free memory
of each is reserved in the DPRAM.
by the controller.
“slide”.
controller reserved the memory after the endpoint 2 memory and automatically “slide” the
Pipe/Endpoint 4. The Pipe/Endpoint 5 does not move and a memory conflict appear, in that
activation
5
4
3
2
1
0
Allocation and reorganization USB memory flow
i+1
” Pipe/Endpoint memory automatically “slides” down. Note that the “k
Pipe/Endpoint
Free memory
(ALLOC=1)
Disable
EPEN=0
5
4
2
1
0
i
” is done when its ALLOC bit is set. Then, the hard-
Free its memory
Free memory
Lost memory
(ALLOC=0)
5
4
2
1
0
AT90USB64/128
3 (bigger size)
Pipe/Endpoint
Free memory
Activatation
i+2
i-1
” and upper Pipe/End-
4
” and “k
2
1
0
5
i+1
”. The “k
Conflict
257
i+1
i+2

Related parts for AT90USB647