Usb Function - Fujitsu MB9B500 Series User Manual

Fss mb9bf506r ev-board
Table of Contents

Advertisement

4.5 USB Function

Hardware Setting
Check if 1,2 of J-USB- and J-USB+ short
Check J701 (Short: 5V, Open: 3.3V)
Connect with PC via USB cable
Flowchart
The following flowchart illuminates the procedure to implement a USB mouse, it is not a
certain flow of a function, but provides a clue to study and understand the sample code.
Check ButtonInit(),
HIDInit()
Check
EXTI8_15_IRQHandler()
Device has been
connected with
Host
Usage
1) Make the hardware setting.
2) Watch the mouse moving when pressing "Up", "Down", "Left", "Right" buttons.
Start
Button, USB core,
HID initialization
Check Ext INT7
occurred?
Initial Endpoint 0
Figure 4-8: USB Function Sample Code Flowchart
18
Bus reset
Configure
Endpoint 0-5
Get Device, HID
description
Enable Endpoint 5
interrupt transfer
Use interrupt transfer to
communicate with host
Check
USB_2_IRQHandler()
Check
HidMouseSendReport()
Check
USB_1_IRQHandler()

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fssdc-9b506-evb

Table of Contents