English
Language : 

IC-TW14 Datasheet, PDF (11/33 Pages) IC-Haus GmbH – IC-PMX Companion Chip
iC-TW14
iC-PMX Companion Chip
SERIAL COMMUNICATION
Rev A1, Page 11/33
The iC-TW14 contains a universal asynchronous reciev-
er/transmitter (UART) for serial communication with an
external PC for configuration and diagnostics. Commu-
nication is full-duplex, 9600 baud, non-return-to-zero
(NRZ) using 1 start bit, 8 data bits, and 1 stop bit.
Serial Write
The iC-TW14 serial write command contains 9 ASCII
characters formatted as shown in Table 4.
Serial Read
The iC-TW14 serial read command contains 5 ASCII
characters formatted as shown in Table 5.
Character
:
R
aa
!
Serial Read (:Raa!)
Description
Packet Start
Read Command
Address Byte (hex)
Packet End
Character
:
W
aa
dddd
!
Serial Write (:Waadddd!)
Description
Packet Start
Write Command
Address Byte (Hex)
Data Word (Hex)
Packet End
Table 4: iC-TW14 Serial Write
Table 5: iC-TW14 Serial Read
The address byte must be specified as a hexadecimal
value using upper-case characters. See REGISTER
MAP on page 13 for more information on available reg-
isters and addresses.
If the read was successful, the iC-TW14 responds with
The address byte and data word must be specified as
hexadecimal values using upper-case characters. See
REGISTER MAP on page 13 for more information on
available registers and addresses.
If the write was successful, the iC-TW14 responds with
:GWaadddd!!
:GRaadddd!
where dddd is the data word read from address aa.
For example, to read the DEVICE_ID register of the
iC-TW14 at address 0x00, send
where aa and dddd are the address byte and data word
written.
For example, to set the length (number of bits) of the
SSI data packet used to initialize the external singleturn
sensor to 17, write 0x0011 to iC-TW14 address 0x18
by sending
:W180011!
:R00!
The iC-TW14 responds with its device ID (14)
:GR000E01!
If the read command fails because aa is an undefined
address, the iC-TW14 responds with
The iC-TW14 responds with
:FRaa!
:GW180011!
If the write command fails because aa is an undefined
or non-writeable address, the iC-TW14 responds with
where aa is the undefined address. See REGISTER
MAP on page 13 for more information on valid register
addresses.
:FWaadddd!
where aa and dddd are the failed address byte and
data word. See REGISTER MAP on page 13 for more
information on writeable registers and addresses.