Fujitsu F2MC-16LX Hardware Manual page 313

16-bit microcontroller mb90330 series
Hide thumbs Also See for F2MC-16LX:
Table of Contents

Advertisement

Figure 13.4-1 Example of Connecting for USB Cable Terminal
USB bus connection
detection
Acquiring descriptor
information
Setting device
address
Acquiring descriptor
information (device)
Acquiring descriptor
information
(configuration)
Setting configuration
Procedure examples of initial register setting and operation start
Example of initial register setting for USB function is shown.
1. Set EP0 by EP0C register (packet size, etc.)
2. Set EPWN, DIR, TYPE, etc. of each EP for EP1C to EP5C registers
3. Set VONIE of UDCIE register
4. Clear RST and HCON bits of UDCC register
5. Clear BFINI of EP0IS, EP0OS and EP1S to EP5S registers
Direction
Host
Device
Operation is not started until the host detects
pull-up on the USB bus.
Host
Device
Data of descripter is returned to the host.
Host
Device
Any address is devided from the host.
Host
Device
Data of descripter is returned to the host.
Host
Device
Data of descripter is returned to the host.
Host
Device
Configuration number is devided from the host.
CHAPTER 13 USB FUNCTION
Overview of operaiton
297

Advertisement

Table of Contents
loading

Table of Contents