EXPANDIO-USB-PT-FS HEXWAX, EXPANDIO-USB-PT-FS Datasheet - Page 8

no-image

EXPANDIO-USB-PT-FS

Manufacturer Part Number
EXPANDIO-USB-PT-FS
Description
INTERFACE, USB I/O EXPANDER, 44TQFP
Manufacturer
HEXWAX
Datasheet

Specifications of EXPANDIO-USB-PT-FS

Usb Type
I/O Expander
Usb Version
2.0
No. Of Ports
1
Supply Voltage Range
2.7V To 5.5V
Operating Temperature Range
-40°C To +85°C
Digital Ic Case Style
TQFP
No. Of Pins
44
Package /
RoHS Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
EXPANDIO-USB-PT-FS
Manufacturer:
FlexiPanel
Quantity:
135
Part Number:
EXPANDIO-USB-PT-FS
Manufacturer:
Flexipanel
Quantity:
10 000
The EXEUNIO command and response are not limited
to 4 bytes in length. They may use as many bytes in the
report as required.
command/response in the report.
General example:
UNI/O serial memory examples:
HexWax has developed a multicast extension to the
UNI/O protocol that allows the same message to be sent
to several devices at once, provided the slaves do not
respond. For this reason, expandIO-USB will send the
entire UNI/O command, even if no slave acknowledges.
(From rev 0009 only.) If byte 1 bit 7 is set, two bytes are
appended to the end of the command. These are
appended to the end of the response, allowing the PC to
easily match command / response pairs.
Execute I2C
(Not implemented in 18F2450, 18F4450.)
The
communication with a slave device connected to SCL /
SDA. In the command, byte 1 is 00 for a standard write
operation, 01 for a standard read operation and, from
rev 0006, 02 for a register read operation. Other values
are reserved. Byte 2 is the slave address, which will
usually have bit 0 clear for write operations and set for
read operations.
In a standard write operation, byte 3 is number of bytes
to be sent and bytes 4 onwards are the data to send to
the slave device. In the response, byte 1 is a status
value as shown in table 7. A standard write consists of
a start condition, transmission of the slave address
followed by the data, then a stop condition. All bytes
transmitted should be acknowledged by the slave.
In a standard read operation, byte 3 is number of bytes
to be read. In the response, byte 1 is a status value as
shown in table 7, and bytes 2 onwards are the data
received from the slave device.
consists of a start condition, transmission of the slave
address followed by reception of the data from the slave,
then a stop condition. expandIO-USB will acknowledge
all but the last data bytes received.
p8
B0 15 00 A0 01 02 02 94 64
B0 15 00 A0 96 00 00
B0 15 00 A0 6C 04 00 00 00 56 78
B0 15 00 A0 03 02 02 00 00
B0 00 12 34 Response: Success, read 12 34
B0 00
B0 00
B0 56 78
identifier
Command: Send command 01 and then
bytes 94 64 to 8-bit slave A0 on SCIO
pin RA5, then read two bytes
Write enable command.
Response: Success
Write 12 34 to address 00 00
Response: Success
Read address 00 00, 2 bytes
Response: Success, read 56 78
EXEI2C
22-Nov-10
They must be the first and only
(0xA0)
engages
A standard read
expandIO-USB
in
I2C
(From rev 0006 only.) In a register read operation, the
write address is sent and then one or more bytes are
written; a restart condition then follows, followed by the
slave read address; finally one or more bytes are read.
Byte 2 is the write address. Byte 3 is number of bytes to
be sent and byte 4 is the number of bytes to then be
read. Bytes 5 onwards are the data to write to the slave
device. In the response, byte 1 is a status value as
shown in table 7, and bytes 2 onwards are the data
received from the slave device. A register read consists
of a start condition, transmission of the slave address
followed by the write data, then reception of the data
from the slave, then a stop condition. expandIO-USB
will acknowledge all but the last data bytes received.
Many variations on standard I2C communication exist.
Contact us if standard write and read operations are not
sufficient for your needs.
The EXEI2C command and response are not limited to
4 bytes in length. They may use as many bytes in the
report as required.
command/response in the report.
Examples:
(From rev 0009 only.) If byte 1 bit 7 is set, two bytes are
appended to the end of the command. These are
appended to the end of the response, allowing the PC to
easily match command / response pairs.
Interrupt Event
The identifier INTERRUPT (0x95) reports an interrupt
event. It has no payload and is sent unprompted when
one or more interrupt events have occurred.
Interrupts occur when an interrupt is enabled (xxxIE = 1)
and flagged (xxxIF = 1). In this event, expandIO-USB
disables the interrupt (xxxIE = 0) and generates an
INTERRUPT report. It is the responsibility of the host
application to determine the cause of the interrupt by
inspecting the interrupt flags, clearing the flag and re-
setting the interrupt enable bit.
To set up an interrupt, clear the interrupt flag and set the
interrupt enable using the Set Register Bit commands.
A0 00 A2 02 00 00
A0 01 A3 02
A0 02 A2 01 02 55
A0 00
A0 00 12 34 Response: Success, data is 12 34
A0 00 12 34 Response: Success, data is 12 34
HW148-18
Value
00
01
02
03
Command: Write byte ‘55’ to slave A3
then read 2 bytes
Table 7. I2C status values
Command: Write 00 00 to slave A2
Response: Success
Command: Read 2 bytes from slave A3
They must be the first and only
No acknowledge received
Write collision occurred
Bus collision occurred
Meaning
Success
www.firmwarefactory.com

Related parts for EXPANDIO-USB-PT-FS