參數(shù)資料
型號: uPSD3234
廠商: 意法半導(dǎo)體
英文描述: Flash Programmable System Device with 8032 Microcontroller Core(嵌入高速“8032微控制器核”的Flash型可編程系統(tǒng)器)
中文描述: 閃存可編程系統(tǒng)器件與8032微控制器內(nèi)核(嵌入高速“8032微控制器核”的閃存型可編程系統(tǒng)器)
文件頁數(shù): 11/54頁
文件大?。?/td> 736K
代理商: UPSD3234
11/54
AN1886 - APPLICATION NOTE
structure or associated data contained within the report. The firmware
PrepareTransmitSegment
and
On-
ReportTransmitted
routines perform similar functions for Input reports going to the host.
Bus Enumeration
When a USB device is attached to, or removed from, the USB, the host uses a process known as bus
enumeration to identify and manage the necessary device state changes. When a USB device is attached
to a powered port, the following actions are taken:
1.
The hub, to which the USB device is now attached, informs the host of the event via a reply on its
status change pipe (refer to Section 11.13.3 of USB specification for more information). At this point,
the USB device is in the Powered state, and the port to which it is attached is disabled.
2.
The host determines the exact nature of the change by querying the hub.
3.
Now that the host knows the port to which the new device has been attached, the host waits for at
least 100ms to allow completion of an insertion process, and for power at the device to become stable.
The host then issues a port enable and reset command to that port.
4.
The hub maintains the reset signal to that port for 10ms. When the reset signal is released, the port
has been enabled. The USB device is now in the Default (unenumerated) state, and can draw no more
than 100mA from V
BUS
. All of its registers and state have been reset, and it answers to the default
address.
5.
The host assigns a unique address to the USB device, moving the device to the Address state.
6.
Before the USB device receives a unique address, its Default Control Pipe is still accessible via the
default address. The host reads the device descriptor to determine what actual maximum data
payload size this USB device’s default pipe can use.
7.
The host reads the configuration information from the device by reading each configuration (0 to
n-1
,
where
n
is the number of configurations). This process may take several milliseconds to complete.
8.
Based on the configuration information and how the USB device will be used, the host assigns a
configuration value to the device. The device is now in the Configured state, and all of the endpoints
in this configuration have taken on their described characteristics. The USB device may now draw the
amount of V
BUS
power described in its descriptor for the selected configuration. From the device’s
point of view it is now ready for use.
When the USB device is removed, the hub again sends a notification to the host. Detaching a device dis-
ables the port to which it had been attached. Upon receiving the detach notification, the host will update
its local topological information.
The USB reset is independent of the chip reset. A USB reset signal resets the USB interface peripheral,
but not the μPSD core and other peripherals. But USB reset can also be used to wake-up or reset the
μPSD.
When a USB reset signal is detected on the bus, the RSTF bit in the UISTA register is set, and a USB
interrupt is generated.
During the enumeration phase, the host performs a bus enumeration to identify the attached device and
to assign a unique address to it. The device responds to the requests sent by the host during the enumer-
ation process on its default pipe (Endpoint0).
The enumeration steps are as follows (with each of the following commands being sent):
1.
Get Device Descriptor.
The host sends a get device descriptor request. The device replies with its
device descriptor to report its attributes (Device Class, maximum packet size for endpoint zero).
2.
Set Address
. A USB device uses the default address after reset until the host assigns a unique
address using the set address request. The firmware writes the device address assigned by the host
in the UADR register. The firmware must write the device address only after completion of the set
address operation because the status stage that concludes the control transfer still uses the default
address.
相關(guān)PDF資料
PDF描述
uPSD3251(中文) Flash Programmable System Devices with 8032 Microcontroller Core(帶8032微控制器內(nèi)核的Flash可編程系統(tǒng)設(shè)備)
uPSD3251 Flash Programmable System Devices with 8032 Microcontroller Core(帶8032微控制器內(nèi)核的Flash可編程系統(tǒng)設(shè)備)
uPSD3253AV-24T1T Flash Programmable System Devices with 8032 Microcontroller Core
UPSD3253B Two and Three Channel Codewheels
UPSD3253BV Flash Programmable System Devices with 8032 Microcontroller Core
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
UPSD32348V24V6ES 制造商:ST MICRO 功能描述:*
UPSD3234A 制造商:STMICROELECTRONICS 制造商全稱:STMicroelectronics 功能描述:Flash Programmable System Devices with 8032 Microcontroller Core
UPSD3234A-24T1 制造商:STMICROELECTRONICS 制造商全稱:STMicroelectronics 功能描述:Flash Programmable System Device with 8032 Microcontroller Core
UPSD3234A-24T1T 制造商:STMICROELECTRONICS 制造商全稱:STMicroelectronics 功能描述:Flash Programmable System Devices with 8032 Microcontroller Core and 64Kbit SRAM
UPSD3234A-24T6 制造商:STMICROELECTRONICS 制造商全稱:STMicroelectronics 功能描述:Flash Programmable System Device with 8032 Microcontroller Core