DatasheetQ Logo
Electronic component search and free download site. Transistors,MosFET ,Diode,Integrated circuits

TH6503 View Datasheet(PDF) - Melexis Microelectronic Systems

Part Name
Description
Manufacturer
TH6503
Melexis
Melexis Microelectronic Systems  Melexis
TH6503 Datasheet PDF : 24 Pages
First Prev 11 12 13 14 15 16 17 18 19 20 Next Last
TH6503 USB Low-Speed Interface
Flowchart for
Programming the
TH6503
Main Program
Figure 15 shows the main order of events of the USB specific part of firmware for the
microcontroller. The bits located in the StatusRegister mark the event. Depending on these bits the
firmware must branch.
Initialisation
SCK=0;SIN=1;
SDI=0
Yes
SDO=1
No
Read
StatusRegister
Read CntOutRegister
and OUT FIFO
Yes
OUT Done
Reaction (depends
on the received Data)
No
Data to send ?
Yes
EP0 IN Done
Yes
Write next Control
Byte(s) to
No
IN FIFO
No
Data to send ?
Yes
EP1/2 IN Done
Yes
Write next Device
Data to
No
IN FIFO
Reset SUS Bit in the
BridgeConfigRegister Yes
Reset Suspend
Yes
Timer
Resume Detect
No
USB Active
No
USB Reset
Yes
Figure 15. Flowchart for Main Program (using TH6503 in Interrupt mode)
15

Share Link: 

datasheetq.com  [ Privacy Policy ]Request Datasheet ] [ Contact Us ]