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

X  

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

Back Button STR720 Datasheet HTML 264Page - STMicroelectronics STR720 Datasheet HTML 265Page - STMicroelectronics STR720 Datasheet HTML 266Page - STMicroelectronics STR720 Datasheet HTML 267Page - STMicroelectronics STR720 Datasheet HTML 268Page - STMicroelectronics STR720 Datasheet HTML 269Page - STMicroelectronics STR720 Datasheet HTML 270Page - STMicroelectronics STR720 Datasheet HTML 271Page - STMicroelectronics STR720 Datasheet HTML 272Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 268 / 401 page
background image
STR720 - USB SLAVE INTERFACE (USB)
268/401
At system reset, the microcontroller must initialize all required registers and the packet buffer
description table, to make the USB Peripheral able to properly generate interrupts and data
transfers. All registers not specific to any endpoint must be initialized according to the needs
of application software (choice of enabled interrupts, chosen address of packet buffers, etc.).
Then the process continues as for the USB reset case (see further paragraph).
19.5.2.1 USB Reset (RESET Interrupt)
When this event occurs, the USB Peripheral is put in the same conditions it is left by the
system reset after the initialization described in the previous paragraph: the USB_DADDR
register is reset, and communication is disabled in all endpoint registers (the USB Peripheral
will not respond to any packet). As a response to the USB reset event, the USB function must
be enabled, having as USB address 0, implementing only the default control endpoint
(endpoint address is 0 too). This is accomplished by setting the Enable Function (EF) bit of
the USB_DADDR register and initializing the EP0R register and its related packet buffers
accordingly. During USB enumeration process, the host assigns a unique address to this
device, which must be written in the ADD[6:0] bits of the USB_DADDR register, and
configures any other necessary endpoint.
When a RESET interrupt is received, the application software is responsible to enable again
the default endpoint of USB function 0 within 10mS from the end of reset sequence which
triggered the interrupt.
19.5.2.2 Structure and Usage of Packet Buffers
Each bidirectional endpoint may receive or transmit data from/to the host. The received data
is stored in a dedicated memory buffer reserved for that endpoint, while another memory
buffer contains the data to be transmitted by the endpoint. Access to this memory is
performed by the packet buffer interface block, which delivers a memory access request and
waits for its acknowledgement. Since the packet buffer memory has to be accessed by the
microcontroller also, an arbitration logic takes care of the access conflicts, using half APB
cycle for microcontroller access and the remaining half for the USB Peripheral access. In this
way, both the agents can operate as if the packet memory is a dual-port RAM, without being
aware of any conflict even when the microcontroller is performing back-to-back accesses. The
USB Peripheral logic uses a dedicated clock. The frequency of this dedicated clock is fixed by
the requirements of the USB standard at 48 MHz, and this can be different from the clock
used for the interface to the APB bus. Different clock configurations are possible where the
APB clock frequency can be higher or lower than the USB Peripheral one. However, due to
USB data rate and packet memory interface requirements, the APB clock frequency must be
greater than 8 MHz to avoid data overrun/underrun problems.
Each endpoint is associated with two packet buffers (usually one for transmission and the
other one for reception). The size of the buffer can be upto 512 words each. Buffers can be
placed anywhere inside the packet memory because their location and size is specified in a
buffer description table, which is also located in the packet memory at the address indicated
by the USB_BTABLE register. Each table entry is associated to an endpoint register and it is
composed of four 16-bit words so that table start address must always be aligned to an 8-byte
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