at91sam9260-cj ATMEL Corporation, at91sam9260-cj Datasheet - Page 641

no-image

at91sam9260-cj

Manufacturer Part Number
at91sam9260-cj
Description
At91 Arm Thumb Microcontrollers
Manufacturer
ATMEL Corporation
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
AT91SAM9260-CJ
Manufacturer:
Atmel
Quantity:
60
Part Number:
AT91SAM9260-CJ
Manufacturer:
ATMEL
Quantity:
210
Figure 37-6. Data IN Transfer for Non Ping-pong Endpoint
37.5.2.4
Figure 37-7. Bank Swapping Data IN Transfer for Ping-pong Endpoints
641
USB Bus Packets
TXPKTRDY Flag
(UDP_CSRx)
TXCOMP Flag
(UDP_CSRx)
FIFO (DPR)
Content
AT91SAM9260
Using Endpoints With Ping-pong Attribute
Set by the firmware
Data IN
PID
Microcontroller
1 st Data Payload
2 nd Data Payload
3 rd Data Payload
Prevous Data IN TX
Data IN 1
Interrupt Pending
The use of an endpoint with ping-pong attributes is necessary during isochronous transfer. This
also allows handling the maximum bandwidth defined in the USB specification during bulk trans-
fer. To be able to guarantee a constant or the maximum bandwidth, the microcontroller must
prepare the next data payload to be sent while the current one is being sent by the USB device.
Thus two banks of memory are used. While one is available for the microcontroller, the other
one is locked by the USB device.
When using a ping-pong endpoint, the following procedures are required to perform Data IN
transactions:
Cleared by Hw
Data IN 1
DPR access by the firmware
Bank 0
Endpoint 1
Bank 1
Endpoint 1
Bank 0
Endpoint 1
ACK
PID
Load In Progress
Write
Set by the firmware
Microcontroller Load Data in FIFO
USB Device
Data IN
PID
Bank 0
Endpoint 1
Bank 1
Endpoint 1
Bank 0
Endpoint 1
Read
Read and Write at the Same Time
NAK
PID
Cleared by Firmware
Data IN
PID
DPR access by the hardware
USB Bus
Data is Sent on USB Bus
Data IN 2
2 nd Data Payload
3 rd Data Payload
1 st Data Payload
Data IN Packet
Data IN Packet
Data IN Packet
Payload in FIFO
Data IN 2
Cleared by Hw
6221G–ATARM–31-Jan-08
ACK
PID
Cleared by
Firmware
Interrupt
Pending

Related parts for at91sam9260-cj