参数资料
型号: USB-SPI-SS
厂商: Flexipanel
文件页数: 7/9页
文件大小: 0K
描述: IC USB SYNC SRL SPI 20-SSOP
标准包装: 25
应用: USB 主机/外围设备控制器
接口: SPI 串行
电源电压: 1.8 V ~ 5 V
封装/外壳: 20-SSOP
供应商设备封装: 20-SSOP
包装: 散装
安装类型: 表面贴装
产品目录页面: 659 (CN2011-ZH PDF)
其它名称: 658-1035-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.
相关PDF资料
PDF描述
D38999/20WD5JN CONN RCPT 5POS WALL MNT W/SCKT
PIC32MX534F064L-I/PF MCU PIC 64KB FLASH 100TQFP
CS3106A-14S-64P CONN PLUG 4POS STRAIGHT W/PINS
142-0761-801 CONN JACK SMA 50 OHMS PC MOUNT
PIC32MX320F128L-80V/PT IC MCU 32BIT 128KB FLSH 100TQFP
相关代理商/技术参数
参数描述
USBSPYDER08 功能描述:开发板和工具包 - 其他处理器 8-bit MCU USB Dev Kit RoHS:否 制造商:Freescale Semiconductor 产品: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 功能描述:
USBT801 功能描述:标准LED-SMD Blue RoHS:否 制造商:Vishay Semiconductors 封装 / 箱体:0402 LED 大小:1 mm x 0.5 mm x 0.35 mm 照明颜色:Red 波长/色温:631 nm 透镜颜色/类型:Water Clear 正向电流:30 mA 正向电压:2 V 光强度:54 mcd 显示角:130 deg 系列:VLMx1500 封装:Reel