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

X  

STR720 数据表(PDF) 275 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) 275 Page - STMicroelectronics

Back Button 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 STR720 Datasheet HTML 278Page - STMicroelectronics STR720 Datasheet HTML 279Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 275 / 401 page
background image
STR720 - USB SLAVE INTERFACE (USB)
275/401
Double-buffering feature for a bulk endpoint is activated by:
writing EP_TYPE bit field at ‘00’ in its USB_EPnR register, to define the endpoint as a
bulk, and
setting EP_KIND bit at ‘1’ (DBL_BUF), in the same register.
The application software is responsible for DTOG and SW_BUF bits initialization according to
the first buffer to be used; this has to be done considering the special toggle-only property that
these two bits have. The end of the first transaction occurring after having set DBL_BUF,
triggers the special flow control of double-buffered bulk endpoints, which is used for all other
transactions addressed to this endpoint until DBL_BUF remain set. At the end of each
transaction the CTR_RX or CTR_TX bit of the addressed endpoint USB_EPnR register is set,
depending on the enabled direction. At the same time, the affected DTOG bit in the
USB_EPnR register is hardware toggled making the USB Peripheral buffer swapping
completely software independent. Unlike common transactions, and the first one after
DBL_BUF setting, STAT bit pair is not affected by the transaction termination and its value
remains ‘11’ (Valid). However, as the token packet of a new transaction is received, the actual
endpoint status will be masked as ‘10’ (NAK) when a buffer conflict between the USB
Peripheral and the application software is detected (this condition is identified by DTOG and
SW_BUF having the same value). The application software responds to the CTR event
notification by clearing the interrupt flag and starting any required handling of the completed
transaction. When the application packet buffer usage is over, the software toggles the
SW_BUF bit, writing ‘1’ to it, to notify the USB Peripheral about the availability of that buffer. In
this way, the number of NAKed transactions is limited only by the application elaboration time
of a transaction data: if the elaboration time is shorter than the time required to complete a
transaction on the USB bus, no re-transmissions due to flow control will take place and the
actual transfer rate will be limited only by the host PC.
The application software can always override the special flow control implemented for
double-buffered bulk endpoints, writing an explicit status different from ‘11’ (Valid) into the
STAT bit pair of the related USB_EPnR register. In this case, the USB Peripheral will always
use the programmed endpoint status, regardless of the buffer usage condition.
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