7I43 21
SUPPLIED CONFIGURATIONS
USBIOPR8
LBP
LBP is a simple master slave protocol where the host sends read, write, or RPC
commands to the 7I43, and the 7I43 responds. LBP allows the host (master) to efficiently
access registers on the slave (7I43) via a simple bidirectional byte oriented protocol.
LBP commands always start with a command header byte. This header specifies
whether the command is a read or a write, the number of address bytes(0, or 2), and the
number of data bytes(1 through 8).The 0 address size option indicates that the current
address pointer should be used. This address pointer will be post incremented by the data
size if the auto increment bit is set.
RPC commands allow any of up to 64 stored commands to be executed in response
to the single byte command.
LBP DATA READ/WRITE COMMAND
0
1
WR
RID
AI
AS
DS1
DS0
Bit 7.. 6
CommandType: Must be 01b to specify data read/write command
Bit 5
Write: 1 to specify write, 0 to specify read
Bit 4
RPCIncludesData: 0 specifies that data is from stream, 1, that data is from
RPC (RPC only, ignored for non RPC commands)
Bit 3
AutoInc: 0 leaves address unchanged, 1 specifies that address is post
incremented by data size in bytes.
BIT 2
AddressSize: 0 to specify current address, 1 to specify 2 byte address.
Bit 1..0
DataSize: Specifies data size, 00b = 1 bytes, 01b = 2 bytes, 10 b= 4 bytes,
011b = 8 bytes.
When multiple bytes are specified in a read or write command, the bytes are always
written to or read from successive addresses. That is, a 4 byte read at location 0x21 will
read locations 0x21, 0x22, 0x23, 0x24. The address pointer is not modified after the
command unless the AutoInc bit is set.
Содержание 7I43
Страница 1: ...7I43 7I43H MANUAL V3 0 ...
Страница 2: ...This page intentionally not blank ...
Страница 9: ...7I43 5 CONNECTORS 7I43H CONNECTOR LOCATIONS AND DEFAULT JUMPER POSITIONS ...