English
Language : 

DG-IRMCK203 Datasheet, PDF (34/67 Pages) International Rectifier – Application Developer’s Guide
IRMCK203 Application Developer’s Guide
RS-232 Register Write Access
A Register write operation consists of a command/address byte, byte count, register data and checksum. When the
IRMCK203 receives the register data, it validates the checksum, writes the register data, and transmits and
acknowledgement to the host.
Command / Address Byte
Byte Count
1-6 bytes of register data
Register Write Operation
Checksum
Command Acknowledgement Byte
Checksum
Register Write Acknowledgement
Bit Position
7
6
5
4
3
2
1
0
1=Read/
0=Write
Register Map Starting Address
Command/Address Byte Format
Bit Position
7
6
5
4
3
2
1
0
1=Error/
0=OK
Register Map Starting Address
Command Acknowledgement Byte Format
The following example shows a command sequence sent from the host to the IRMCK203 requesting a two-byte
register write operation:
0x2F
Write operation beginning at offset 0x2F
0x02
Byte count of register data is 2
0x00
Data byte 1
0x04
Data byte 2
0x35
Checksum (sum of preceding bytes, overflow discarded)
A good reply from the IRMCK203 would appear as follows:
0x2F
Write completed OK at offset 0x2F
0x2F
Checksum
An error reply to the command would have the following format:
0xAF
Write at offset 0x2F completed in error
0xAF
Checksum
This document is the property of International Rectifier and may not be copied or distributed without expressed consent.
34