Part # Application Notes Computer And Peripherals Data Storage Devices UPSD3454E UPSD3454EV uPSD3422E uPSD3422EV uPSD3433E uPSD3433EV u datasheet

Part Manufacturer: ST Microelectronics

ST Microelectronics

Part Description: uPSD3400 USB firmware


Part Details:

AN2401 Application note uPSD3400 USB firmware Introduction The uPSD3400 combines a high-performance 8051-based microcontroller with numerous peripherals to facilitate the design of complex applications. Many applications require some sort of control or data communications with a host computer. While communication over a standard RS-232 serial link was the norm, USB (Universal Serial Bus) is becoming more and more popular. In many cases, the only serial port available on newer PCs is a USB port. The uPSD3400 not only includes two UARTs used with typical RS-232 communication, but it also includes a full-speed (12 Mbps) USB port. This application note covers the various aspects of the USB port included in the device related to firmware control. It is highly recommended that the USB interface chapter of the uPSD3400 datasheet be read first and available for reference as needed while reading this application note. It is also assumed that the reader is familiar with the USB specification and the terminology used. Additionally, several USB firmware examples for the uPSD3400 are available on ST s website. They can be found at: http://www.st.com/mcu under "Support Files" for the uPSD family. July 2006 Rev 1 1/18 www.st.com Contents AN2401 Contents 1 uPSD3400 USB firmware . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 1.1 Firmware responsibility . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 1.2 USB SIE clock . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 1.3 Endpoint FIFOs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 1.4 FIFO pairing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 1.5 Endpoint related interrupts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 1.6 Bus signaled events . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 1.6.1 RESET . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 1.6.2 SUSPEND and RESUME . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 1.7 Control transfers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 1.8 USB address . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 1.9 Endpoint receive mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 1.10 Endpoint transmit mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 1.11 USB endpoint control register (UCON) . . . . . . . . . . . . . . . . . . . . . . . . . . 12 1.11.1 ENABLE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 1.11.2 STALL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 1.11.3 TOGGLE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 1.12 USB interrupt service routine (ISR) framework . . . . . . . . . . . . . . . . . . . . 13 1.13 Treatment of USEL in the USB ISR - single FIFO usage . . . . . . . . . . . . . 13 1.14


Please click the following link to download the datasheet:

Application Notes Computer And Peripherals Data Storage Devices UPSD3454E UPSD3454EV uPSD3422E uPSD3422EV uPSD3433E uPSD3433EV u.pdf Datasheet