SN32F260 Series
32-Bit Cortex-M0 Micro-Controller
SONiX TECHNOLOGY CO., LTD
Page 107
Version 1.5
10.8 USB ENUMERATION
A typical USB enumeration sequence is shown below.
1.
The host computer sends a SETUP packet followed by a DATA packet to USB address 0 requesting the Device
descriptor.
2.
Firmware decodes the request and retrieves its Device descriptor from the program memory tables.
3.
The host computer performs a control read sequence and firmware responds by sending the Device descriptor
over the USB bus, via the on-chip USB SRAM.
4.
After receiving the descriptor, the host sends a SETUP packet followed by a DATA packet to address 0 assigning
a new USB address to the device.
5.
Firmware stores the new address in its USB Device Address Register after the no-data control sequence
completes.
6.
The host sends a request for the Device descriptor using the new USB address.
7.
Firmware decodes the request and retrieves the Device descriptor from program memory tables.
8.
The host performs a control read sequence and firmware responds by sending its Device descriptor over the USB
bus.
9.
The host generates control reads from the device to request the Configuration and Report descriptors.
10. Once the device receives a Set Configuration request, its functions may now be used.
11. Firmware should take appropriate action for Endpoint 0~N transactions, which may occur from this point.
Содержание SN32F260 Series
Страница 132: ...SN32F260 Series 32 Bit Cortex M0 Micro Controller SONiX TECHNOLOGY CO LTD Page 132 Version 1 5 16 2 QFN 46 PIN ...
Страница 136: ...SN32F260 Series 32 Bit Cortex M0 Micro Controller SONiX TECHNOLOGY CO LTD Page 136 Version 1 5 16 6 QFN 33 PIN ...
Страница 137: ...SN32F260 Series 32 Bit Cortex M0 Micro Controller SONiX TECHNOLOGY CO LTD Page 137 Version 1 5 16 7 SSOP 24 PIN ...