数据搜索系统,热门电子元器件搜索
  Chinese  ▼
ALLDATASHEETCN.COM

X  

STR720 数据表(PDF) 273 Page - STMicroelectronics

部件名 STR720
功能描述  ARM720T 16/32-BIT MCU WITH 16K RAM, USB, CAN, 3 TIMERS, ADC, 6 COMMUNICATIONS INTERFACES
PDF  401 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  STMICROELECTRONICS [STMicroelectronics]
网页  http://www.st.com
标志 STMICROELECTRONICS - STMicroelectronics

STR720 数据表(HTML) 273 Page - STMicroelectronics

Back Button STR720 Datasheet HTML 269Page - STMicroelectronics STR720 Datasheet HTML 270Page - STMicroelectronics STR720 Datasheet HTML 271Page - STMicroelectronics STR720 Datasheet HTML 272Page - STMicroelectronics STR720 Datasheet HTML 273Page - STMicroelectronics STR720 Datasheet HTML 274Page - STMicroelectronics STR720 Datasheet HTML 275Page - STMicroelectronics STR720 Datasheet HTML 276Page - STMicroelectronics STR720 Datasheet HTML 277Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 273 / 401 page
background image
STR720 - USB SLAVE INTERFACE (USB)
273/401
Since the USB specification states that a SETUP packet cannot be answered with a
handshake different from ACK, eventually aborting a previously issued command to start the
new one, the USB logic doesn’t allow a control endpoint to answer with a NAK or STALL
packet to a SETUP token received from the host.
When the STAT_RX bits are set to ‘01’ (STALL) or ‘10’ (NAK) and a SETUP token is received,
the USB accepts the data, performing the required data transfers and sends back an ACK
handshake. If that endpoint has a previously issued CTR_RX request not yet acknowledged
by the application (i.e. CTR_RX bit is still set from a previously completed reception), the USB
discards the SETUP transaction and does not answer with any handshake packet regardless
of its state, simulating a reception error and forcing the host to send the SETUP token again.
This is done to avoid losing the notification of a SETUP transaction addressed to the same
endpoint immediately following the transaction, which triggered the CTR_RX interrupt.
19.5.3
Double-Buffered Endpoints
All different endpoint types defined by the USB standard represent different traffic models,
and describe the typical requirements of different kind of data transfer operations. When large
portions of data are to be transferred between the host PC and the USB function, the bulk
endpoint type is the most suited model. This is because the host schedules bulk transactions
so as to fill all the available bandwidth in the frame, maximizing the actual transfer rate as long
as the USB function is ready to handle a bulk transaction addressed to it. If the USB function
is still busy with the previous transaction when the next one arrives, it will answer with a NAK
handshake and the host PC will issue the same transaction again until the USB function is
ready to handle it, reducing the actual transfer rate due to the bandwidth occupied by
re-transmissions. For this reason, a dedicated feature called ‘double-buffering’ can be used
with bulk endpoints.
When ‘double-buffering’ is activated, data toggle sequencing is used to select, which buffer is
to be used by the USB Peripheral to perform the required data transfers, using both
‘transmission’ and ‘reception’ packet memory areas to manage buffer swapping on each
successful transaction in order to always have a complete buffer to be used by the application,
while the USB Peripheral fills the other one. For example, during an OUT transaction directed
to a ‘reception’ double-buffered bulk endpoint, while one buffer is being filled with new data
coming from the USB host, the other one is available for the microcontroller software usage
(the same would happen with a ‘transmission’ double-buffered bulk endpoint and an IN
transaction).
Since the swapped buffer management requires the usage of all 4 buffer description table
locations hosting the address pointer and the length of the allocated memory buffers, the
USB_EPnR registers used to implement double-buffered bulk endpoints are forced to be used
as uni-directional ones. Therefore, only one STAT bit pair must be set at a value different from
‘00’ (Disabled): STAT_RX if the double-buffered bulk endpoint is enabled for reception,
STAT_TX if the double-buffered bulk endpoint is enabled for transmission. In case it is
required to have double-buffered bulk endpoints enabled both for reception and transmission,
two USB_EPnR registers must be used.
1



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


链接网址



ALLDATASHEET是否为您带来帮助?  [ DONATE ] 

关于 Alldatasheet   |   广告服务   |   联系我们   |   隐私政策   |   数据表链接    |   链接交换   |   制造商名单
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