參數(shù)資料
型號(hào): EXPANDIO-USB-FS-DIL-28
廠商: Flexipanel
文件頁(yè)數(shù): 11/15頁(yè)
文件大?。?/td> 0K
描述: IC I/O EXPANDER USB 21B 28DIP
標(biāo)準(zhǔn)包裝: 25
系列: expandIO-USB™
接口: USB
輸入/輸出數(shù): 21
中斷輸出:
頻率 - 時(shí)鐘: 375kHz
電源電壓: 2.7 V ~ 5.5 V
工作溫度: -40°C ~ 85°C
安裝類型: 通孔
封裝/外殼: 28-DIP
供應(yīng)商設(shè)備封裝: 28-DIL
包裝: 散裝
產(chǎn)品目錄頁(yè)面: 659 (CN2011-ZH PDF)
其它名稱: 658-1038-5
p5
22-Nov-10
expandIO-USB
HW148-18
www.firmwarefactory.com
Product GUID. If this matches the product GUID you
configured for the device, you have located it.
Once you have located the device, you need to open a
file to communicate with it. You can then send data and
receive data as 64-byte / 8-byte reports as appropriate.
Sample source code for Windows and a Windows
dynamic link library (DLL) are provided in the
development kit. For a detailed description, please refer
to the comments embedded in the source code and the
Visual Basic example in the Excel spreadsheet. Sample
source code for Mac OS and Linux is in preparation.
Commands
Commands are sent from the host and responses are
received from expandIO in the form of HID reports. With
the exception of the EXESPI, EXEI2C and EXEUNIO
commands, all commands and responses are 4 bytes
long. Full speed device reports contain 16 commands /
responses each. Low speed device reports contain 2
commands / responses each. If fewer commands are
sent in a report, the remainder of the report should be
padded out with nulls. Commands are processed in
order.
The first byte of a command (byte 0, the leftmost byte in
the examples below) is termed the identifier, and
indicates the type of command. The remaining three
bytes (bytes 1, 2 and 3) are termed the payload.
The EXESPI, EXEI2C and EXEUNIO commands are
slightly different. They may be longer than 4 bytes if
they are the first and only command in the report.
The response to a command will have the same
identifier as the command, (unless an error occurred).
Some events can also generate unprompted responses
at any time.
The response from expandIO-USB is buffered in the
same memory as the incoming commands. Provided no
unprompted responses are sent (e.g. from interrupts),
any unused bytes in the response packet will be
identical to the same byte location in the corresponding
command. This feature may be employed to append
information to allow commands and responses to be
matched.
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.
Null
The identifier NULL (0x00) has no effect. The payload
bytes are ignored.
Example:
00 00 00 00
Null Command
00 00 00 00
Null Response
Error
The identifier ERROR (0xFF) reports that a command
could not be processed because it had no meaning.
Bytes 1, 2 and 3 will be bytes 0, 1 and 2 of the original
command, respectively
Example:
12 34 56 78
Meaningless command
FF 12 34 56 Error Response
Get Register
The identifier GETREG (0x98) retrieves value of a
microcontroller register. Byte 1 specifies the register as
detailed in appendix I. The response is the same as the
command, except the register value is given in byte 2.
Directly accessing registers requires in-depth knowledge
of the base microcontroller, but it provides greater
flexibility that the other commands. Refer to the base
microcontroller data sheet for details.
Example:
98 CC 00 00
Command – Get TMR2 register
98 CC 5A 00 Response – Value is 0x5A
Set Register
The identifier SETREG (0x99) sets the value of a
microcontroller register. Byte 1 specifies the register as
detailed in appendix I. Byte 2 specifies the new value.
The response is the same as the command.
Directly accessing registers requires in-depth knowledge
of the base microcontroller, but it provides greater
flexibility that the other commands. Refer to the base
microcontroller data sheet for details.
Example:
99 CC 5A 00
Command – Set TMR2 reg to 0x5A
99 CC 05 00 Response – Value set
Get Register Bit
The identifier GETBIT (0x9A) retrieves a single bit from
a microcontroller register. Byte 1 indicates the register
as detailed in appendix I and byte 2 indicates the bit (0-
7). In the response, byte 3 is 0 for clear and 1 for set.
Directly accessing registers requires in-depth knowledge
of the base microcontroller, but it provides greater
flexibility that the other commands. Refer to the base
microcontroller data sheet for details.
Example:
9A F0 06 00
Command – Get INTCON3 bit 6
9A F0 06 01 Response – Value is 0x01
Set Register Bit
The identifier SETBIT (0x9B) sets or clears a single bit
of a microcontroller register.
Byte 1 indicates the
register as detailed in appendix I and byte 2 indicates
the bit (0-7). Byte 3 is 0 for clear and 1 for set. The
response is the same as the command.
Directly accessing registers requires in-depth knowledge
of the base microcontroller, but it provides greater
flexibility that the other commands. Refer to the base
microcontroller data sheet for details.
9B F0 06 01
Command – Set INTCON3 bit 6 to 1
相關(guān)PDF資料
PDF描述
FIN1001M5 IC DRIVER 3.3V LVDS HS SOT-23
FIN1002M5 RECEIVER 3.3V LVDS HS SOT-23
FIN1017M IC DRIVER 3.3V LVDS HS 8SOIC
FIN1018M RECEIVER 3.3V LVDS HS 8-SOIC
FIN1019MTC IC DRVR/RCVR3.3V LVDS HS 14TSSOP
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
EXPANDIO-USB-PT-FS 功能描述:USB 接口集成電路 Driver-free USB I/O- expander 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
EXPANDIO-USB-SS 功能描述:USB 接口集成電路 Driver-free USB I/O- expander 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
EXPANDO FR 13/4IN BLACK 制造商: 功能描述: 制造商:undefined 功能描述:
EXPANDO-686-DM-1/2 -BLK 制造商:Bentley Harris 功能描述:
EXPANDO-FR-3/4-WHT 制造商:BENTLEY HARRIS 功能描述: