26-Aug-10 USB-SPI HW144-7 www.hexwax.com (Note: Prior to rev 0007, the maximum number of data bytes is 0x3E, i" />
參數(shù)資料
型號: USB-SPI-DIL
廠商: Flexipanel
文件頁數(shù): 7/9頁
文件大?。?/td> 0K
描述: IC USB SYNC SRL SPI 28-DIL
標(biāo)準(zhǔn)包裝: 25
應(yīng)用: USB 主機/外圍設(shè)備控制器
接口: SPI 串行
電源電壓: 1.8 V ~ 5 V
封裝/外殼: 28-DIP
供應(yīng)商設(shè)備封裝: 28-DIL
包裝: 散裝
安裝類型: 通孔
產(chǎn)品目錄頁面: 659 (CN2011-ZH PDF)
其它名稱: 658-1034-5
p7 of 9
26-Aug-10
USB-SPI
HW144-7
www.hexwax.com
(Note: Prior to rev 0007, the maximum number of data
bytes is 0x3E, i.e. the identifiers 0x3F and 7F are not
permitted.)
Commands
All commands are sent using identifiers of value 0x80 or
higher. If a response to the command is required, the
response will have the same identifier as the command
to which it is responding. The Interrupt response has no
command associated with it and it may be received by
the host at any time.
Note: Accidentally sending a command in the range
0x80-0x8F can modify settings that may permanently
disable the device. During product development, it is
recommended that you work with a device that has been
write locked using HIDconfig.exe. Devices intended for
production should always be write locked.
Get Pin
The identifier GETPIN (0x90) retrieves value of a pin.
The command payload has one byte, which indicates
the pin, as shown in table 7. The response payload has
two bytes, as shown in table 7.
Example:
90 25
Command – Get DTR pin
90 25 01
Response – Pin is active
Get Analog
The identifier GETANALOG (0x96) retrieves the voltage
of the analog pin. The command has not payload. The
response payload has two bytes, representing a number
from 0x0000 to 0x03FF, which indicates the voltage
relative to Vdd.
Example:
96
Command – Get Analog
96 02 36
Response – V = Vdd * (0x236/0x3FF)
Set Pin
The identifier SETPIN (0x91) sets the value of any
output pin. The command payload has two bytes, which
indicate the pin and the desired output.
Example:
91 25 01
Command – Set DTR pin active
Table 7. Get Pin / Set Pin Payload Structure*
Pin
Payload byte 1
Payload byte 2**
VIO0
0x10
00 = Low, 01 = High
VIO1
0x11
00 = Low, 01 = High
VIO2
0x12
00 = Low, 01 = High
VIO3
0x13
00 = Low, 01 = High
VIO4
0x14
00 = Low, 01 = High
VIO5
0x15
00 = Low, 01 = High
VIO6
0x16
00 = Low, 01 = High
VIO7
0x17
00 = Low, 01 = High
VIO8
0x18
00 = Low, 01 = High
VIO9
0x19
00 = Low, 01 = High
VIO10
0x1A
00 = Low, 01 = High
USBPwr
0x20
00 = Inactive, 01 = Active
SelfPwr
0x21
00 = Inactive, 01 = Active
HostRdy
0x26
00 = Inactive, 01 = Active
Send
0x27
00 = Inactive, 01 = Active
Table 7. Get Pin / Set Pin Payload Structure*
Pin
Payload byte 1
Payload byte 2**
TxInd
0x28
00 = Inactive, 01 = Active
RxInd
0x29
00 = Inactive, 01 = Active
AllSysGo
0x2A
00 = Inactive, 01 = Active
Config
0x2B
00 = Inactive, 01 = Active
Suspend
0x2C
00 = Inactive, 01 = Active
LowPower
0x2D
00 = Inactive, 01 = Active
TxBuffEmpty
0x2E
00 = Inactive, 01 = Active
TxRxInd
0x30
00 = Inactive, 01 = Active
RxBuffNotFull
0x34
00 = Inactive, 01 = Active
SS#
0x32
00 = Inactive, 01 = Active
*Byte 0 is the identifier 0x90 (Get Pin) or 0x91 *Set Pin)
** Used in Get Pin Response and Set Pin Command only
Not settable
Host Ready
The Host Ready feature is used to indicate to the device
that a host application is running, has located the device,
and is ready to communicate with it.
If the Host Ready pin is implemented, the application
should tell the device when it is ready using the Host
Ready command.
It consists of the identifier
HOSTREADY (0x92) and one payload byte, which is
0x01 if the application is initialized and available, or
0x00 if the application is shutting down and not longer
available.
Interrupt
The Interrupt response is an unprompted message from
the device that an interrupt input transitioned from the
inactive to the active state.
It consists of the identifier INTERRUPT (0x95) and one
payload byte, which is 0x09 if the interrupt occurred on
pin VIO9.
Set Serial
The identifier SETSERIAL (0x93) temporarily sets the
mode of operation of the SPI port. These settings are
not remembered after device reset and should be used
if the settings are to be adjusted under software control.
The command payload has 4 bytes as shown in table 8.
Example:
92 03 00 02 FF FF
Command – Set mode A, no
ack, Null Tx and Rx is 0xFF
Table 8. Set Serial
Byte
Name
Description / Value
0
Identifier
0x92
1
Mode
0x00 = “D”, “0”, “0,0
0x01 = “B”, “1”, “0,0
0x02 = “C”, “2”, “1,0
0x03 = “A”, “3”, “1,1
(See table 3.)
2
Flags
Bit 0 set for data Acknowledged
Bit 1 set if NullRxCh is to be ignored
3
NullTxCh
Null Tx character
4
NullRxCh
Null Rx character
Get Firmware ID
The identifier GETFWID (0x94) retrieves a zero-
terminated ASCII text string identifying the firmware and
its version number.
相關(guān)PDF資料
PDF描述
USB2SERA10CFK USB TO SERIAL BRIDGE
V62/11608-01XE IC SWITCH SPDT SGL 8PIN
VNC2-64Q1B-TRAY IC USB HOST/DEVICE CTRL 64-QFN
W78E858A40FL IC MCU 8-BIT 32K FLASH 44-PQFP
W83303AG IC ACPI CONTROLLER 48-LQFP
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
USB-SPI-SS 功能描述:USB 接口集成電路 Driver-free USB to serl SPIslve intrfce RoHS:否 制造商:Cypress Semiconductor 產(chǎn)品:USB 2.0 數(shù)據(jù)速率: 接口類型:SPI 工作電源電壓:3.15 V to 3.45 V 工作電源電流: 最大工作溫度:+ 85 C 安裝風(fēng)格:SMD/SMT 封裝 / 箱體:WLCSP-20
USBSPYDER08 功能描述:開發(fā)板和工具包 - 其他處理器 8-bit MCU USB Dev Kit RoHS:否 制造商:Freescale Semiconductor 產(chǎn)品:Development Systems 工具用于評估:P3041 核心:e500mc 接口類型:I2C, SPI, USB 工作電源電壓:
USB-SWD/UART-CONVZ 制造商:Analog Devices 功能描述:EVALUATION BOARD - Boxed Product (Development Kits)
USB-T0S3 制造商:TELEDYNE 制造商全稱:TELEDYNE 功能描述:SuperSpeed USB Analyzer
USBT1T11ABQX 制造商:Fairchild Semiconductor Corporation 功能描述: