Atmel Evaluation Kit AT91SAM9X35-EK AT91SAM9X35-EK Data Sheet

Product codes
AT91SAM9X35-EK
Page of 1301
508
SAM9X35 [DATASHEET]
11055E–ATARM–10-Mar-2014
The size of the DPRAM is 4
 
KB. The DPR is shared by all active endpoints. The memory size required by the active
endpoints must not exceed the size of the DPRAM.
SIZE_DPRAM = SIZE _EPT0 
+ NB_BANK_EPT1 x SIZE_EPT1
+ NB_BANK_EPT2 x SIZE_EPT2
+ NB_BANK_EPT3 x SIZE_EPT3
+ NB_BANK_EPT4 x SIZE_EPT4
+ NB_BANK_EPT5 x SIZE_EPT5
+ NB_BANK_EPT6 x SIZE_EPT6
+... (refer to 
If a user tries to configure endpoints with a size the sum of which is greater than the DPRAM, then the EPT_MAPD is not
set.
The application has access to the physical block of DPR reserved for the endpoint through a 64 KB logical address
space.
The physical block of DPR allocated for the endpoint is remapped all along the 64 KB logical address space. The
application can write a 64 KB buffer linearly. 
Figure 32-5. Logical Address Space for DPR Access
Configuration examples of UDPHS_EPTCTLx (
Bulk IN endpoint type follow below.
With DMA 
AUTO_VALID: Automatically validate the packet and switch to the next bank.
EPT_ENABL: Enable endpoint.
Without DMA:
TXRDY: An interrupt is generated after each transmission.
EPT_ENABL: Enable endpoint.
64 KB
EP0
64 KB
EP1
64 KB
EP2
DPR
Logical address
8 to 64 B
8 to1024 B
8 to1024 B
8 to1024 B
8 to1024 B
64 KB
EP3
...
8 to 64 B
...
1 bank
x banks
y banks
z banks
8 to1024 B
8 to1024 B
8 to1024 B