![FTDI FT51A Application Note Download Page 94](http://html1.mh-extra.com/html/ftdi/ft51a/ft51a_application-note_2341158094.webp)
Application Note
AN_289 FT51A Programming Guide
Version 1.0
Document Reference No.: FT_000962 Clearance No.: FTDI# 483
93
Copyright © 2015 Future Technology Devices International Limited
Command Name
Target
Code (hex)
Data phase
Initialization Commands
Set Address Enable
Device
0xD0
Write 1 byte
Set Endpoint Enable
Device
0xD8
Write 1 byte
Set Mode
Device
0xF3
Write 2 bytes
Reserved
Device
0xFB
Write/Read 2 bytes
Set Endpoint
Configuration
Endpoint 0 OUT
0xB0
Write 1 byte
Endpoint 0 IN
0xB1
Write 1 byte
Endpoint 1 OUT
0xB2
Write 1 byte
Endpoint 1 IN
0xB3
Write 1 byte
Endpoint 2 OUT
0xB4
Write 1 byte
Endpoint 2 IN
0xB5
Write 1 byte
Endpoint 3 OUT
0xB6
Write 1 byte
Endpoint 3 IN
0xB7
Write 1 byte
Endpoint 4 OUT
0xB8
Write 1 byte
Endpoint 4 IN
0xB9
Write 1 byte
Endpoint 5 OUT
0xBA
Write 1 byte
Endpoint 5 IN
0xBB
Write 1 byte
Endpoint 6 OUT
0xBC
Write 1 byte
Endpoint 6 IN
0xBD
Write 1 byte
Endpoint 7 OUT
0xBE
Write 1 byte
Endpoint 7 IN
0xBF
Write 1 byte
Data Flow Commands
Read Interrupt Register Device
0xF4
Read 1 to 4 bytes
Select Endpoint
Endpoint 0 OUT
0x00
Read 1 byte (optional)
Endpoint 0 IN
0x01
Read 1 byte (optional)
Endpoint 1 OUT
0x02
Read 1 byte (optional)
Endpoint 1 IN
0x03
Read 1 byte (optional)
Endpoint 2 OUT
0x04
Read 1 byte (optional)
Endpoint 2 IN
0x05
Read 1 byte (optional)
Endpoint 3 OUT
0x06
Read 1 byte (optional)
Endpoint 3 IN
0x07
Read 1 byte (optional)
Endpoint 4 OUT
0x08
Read 1 byte (optional)
Endpoint 4 IN
0x09
Read 1 byte (optional)
Endpoint 5 OUT
0x0A
Read 1 byte (optional)
Endpoint 5 IN
0x0B
Read 1 byte (optional)
Endpoint 6 OUT
0x0C
Read 1 byte (optional)