поискавой системы для электроныых деталей
  Russian  ▼
ALLDATASHEETRU.COM

X  

RM0319 датащи(PDF) 138 Page - STMicroelectronics

номер детали RM0319
подробное описание детали  SPEAr320S architecture and functionality
PDF  368 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
производитель  STMICROELECTRONICS [STMicroelectronics]
домашняя страница  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

RM0319 датащи(HTML) 138 Page - STMicroelectronics

Back Button RM0319 Datasheet HTML 134Page - STMicroelectronics RM0319 Datasheet HTML 135Page - STMicroelectronics RM0319 Datasheet HTML 136Page - STMicroelectronics RM0319 Datasheet HTML 137Page - STMicroelectronics RM0319 Datasheet HTML 138Page - STMicroelectronics RM0319 Datasheet HTML 139Page - STMicroelectronics RM0319 Datasheet HTML 140Page - STMicroelectronics RM0319 Datasheet HTML 141Page - STMicroelectronics RM0319 Datasheet HTML 142Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 138 / 368 page
background image
USB 2.0 Device ports (UDC)
RM0319
138/368
Doc ID 022640 Rev 3
11.4.6
Operation modes in DMA mode
Packet-per-buffer mode
In packet-per-buffer mode (alternate to buffer fill mode, Buffer fill mode (OUT) on page 138),
the DMA transfers packet by packet to various addresses as indicated by the descriptor,
implementing then a true scatter-gather mechanism.
A descriptor update can happen either at the end of each packet transfer or at the end of the
descriptor chain only. As a results, the application may be interrupted either after processing
each descriptor or at the end of a descriptor chain, respectively. In particular, setting to 1‘b1
the DU bit of the global CSRs Device control register, it enables descriptor updating and
application interrupt to the software at the end of each packet.
Buffer fill mode (OUT)
Enabling the buffer fill mode (setting the bit BF in the global CSRs Device control register,
the DMA transfers all packets to the large buffer whose address is indicated by the single
out data memory structure descriptor. This DMA mode of operation requires fewer memory
accesses than packet-per-buffer with descriptor update mode Packet-per-buffer mode on
page 138 above, increasing the throughput.
The DMA controller updates buffer status when a short packet is received, and
simultaneously sends an interrupt to the application.
Buffer fill mode (IN)
In case of in transactions, the DMA buffer fill mode can be entered by using the packet-per-
buffer mode with only one descriptor indicating:
The system memory starting address,
The number of bytes to be transferred to the USB Host (the tx bytes can be greater
than one packet),
The L bit set in the status quadlet.
The DMA controller updates buffer status after all data has been transferred to the TxFIFO.
The UDC-AHB subsystem then sends an interrupt to the application.
Threshold enable
The threshold enable feature is used for transferring packets in the out direction for DMA
operation only. There is no threshold enable for the in direction.
Note:
In this context, thresholding means emptying the out RxFIFO as soon as it receives a
certain number (the threshold value) of 32 bit words.
Thresholding is enabled by setting to 1‘b1 the THE bit in the global CSRs Device control
register. Moreover, the threshold value is programmed by setting the THLEN 8 bit in the
same device control register. As mentioned, the threshold value is the number of 32 bit
words (quadlets) that must be received by the RxFIFO before the DMA can start the
transfer.
When thresholding is disabled (bit THE set to 1‘b0), then the DMA waits for the complete
packet before starting the data transfer. In contrast, if thresholding is enabled, the transfer of
the packet to host memory starts before the validity of the packet is assessed. If the packet
is found to be corrupt at the end of the transfer, the descriptor is not updated and the next



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


датащи скачать

Go To PDF Page


ссылки URL



Вашему бизинису помогли Аллдатащит?  [ DONATE ] 

Что такое Аллдатащит   |   реклама   |   контакт   |   Конфиденциальность   |   Ссылка на техническое описание    |   обмен ссыками   |   поиск по производителю
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com