SAM9XE512 Atmel Corporation, SAM9XE512 Datasheet - Page 714

no-image

SAM9XE512

Manufacturer Part Number
SAM9XE512
Description
Manufacturer
Atmel Corporation
Datasheets

Specifications of SAM9XE512

Flash (kbytes)
512 Kbytes
Pin Count
217
Max. Operating Frequency
180 MHz
Cpu
ARM926
Hardware Qtouch Acquisition
No
Max I/o Pins
96
Ext Interrupts
96
Usb Transceiver
3
Usb Speed
Full Speed
Usb Interface
Host, Device
Spi
2
Twi (i2c)
2
Uart
6
Ssc
1
Ethernet
1
Sd / Emmc
1
Graphic Lcd
No
Video Decoder
No
Camera Interface
Yes
Adc Channels
4
Adc Resolution (bits)
10
Adc Speed (ksps)
312
Resistive Touch Screen
No
Temp. Sensor
No
Crypto Engine
No
Sram (kbytes)
32
Self Program Memory
NO
External Bus Interface
1
Dram Memory
sdram
Nand Interface
Yes
Picopower
No
Temp. Range (deg C)
-40 to 85
I/o Supply Class
1.8/3.3
Operating Voltage (vcc)
1.65 to 1.95
Fpu
No
Mpu / Mmu
No / Yes
Timers
6
Output Compare Channels
6
Input Capture Channels
6
32khz Rtc
Yes
Calibrated Rc Oscillator
No
Figure 39-5. Setup Transaction Followed by a Data OUT Transaction
39.5.2.2
39.5.2.3
714
USB
Bus Packets
RXSETUP Flag
RX_Data_BKO
(UDP_CSRx)
FIFO (DPR)
Content
AT91SAM9XE128/256/512 Preliminary
Data IN Transaction
Using Endpoints Without Ping-pong Attributes
Setup
PID
Setup Received
Data IN transactions are used in control, isochronous, bulk and interrupt transfers and conduct
the transfer of data from the device to the host. Data IN transactions in isochronous transfer
must be done using endpoints with ping-pong attributes.
To perform a Data IN transaction using a non ping-pong endpoint:
After the last packet has been sent, the application must clear TXCOMP once this has been set.
TXCOMP is set by the USB device when it has received an ACK PID signal for the Data IN
packet. An interrupt is pending while TXCOMP is set.
Warning: TX_COMP must be cleared after TX_PKTRDY has been set.
Note:
XX
1. The application checks if it is possible to write in the FIFO by polling TXPKTRDY in the
2. The application writes the first packet of data to be sent in the endpoint’s FIFO, writing
3. The application notifies the USB peripheral it has finished by setting the TXPKTRDY in
4. The application is notified that the endpoint’s FIFO has been released by the USB
5. The microcontroller writes the second packet of data to be sent in the endpoint’s FIFO,
6. The microcontroller notifies the USB peripheral it has finished by setting the TXPK-
7. The application clears the TXCOMP in the endpoint’s UDP_CSRx.
Data Setup
endpoint’s UDP_CSRx register (TXPKTRDY must be cleared).
zero or more byte values in the endpoint’s UDP_FDRx register,
the endpoint’s UDP_CSRx register.
device when TXCOMP in the endpoint’s UDP_CSRx register has been set. Then an
interrupt for the corresponding endpoint is pending while TXCOMP is set.
writing zero or more byte values in the endpoint’s UDP_FDRx register,
TRDY in the endpoint’s UDP_CSRx register.
Refer to Chapter 8 of the Universal Serial Bus Specification, Rev 2.0, for more information on the
Data IN protocol layer.
Set by USB Device
ACK
PID
Setup Handled by Firmware
Data OUT
PID
Interrupt Pending
Data Setup
Data OUT
Cleared by Firmware
NAK
PID
Data OUT
PID
Data Out Received
Set by USB
Device Peripheral
XX
Data OUT
6254C–ATARM–22-Jan-10
ACK
PID
Data
OUT

Related parts for SAM9XE512