HT98R068 Two-way Radio MCU
Read 1Eh Flow
Flow description:
<91E00>: Read the 1Eh register. A data response will be sent to 1Eh after this
command is transmitted.
CLI Command
This interface protocol is different from the I/O command. For the write mode it must
contain three blocks of 20-bits of SPI data and two for the read mode. To execute the CLI
command, the first is the ID code, then the 16-bit address and finally the 16-bits of data.
Reading data will have no data block. The ID code of the read/write mode is different. ID
code >> Read/Write: 14181/14082 must be correct so that the audio processor will
continue to receive successive data. When the data is written, the audio processor will
reply with a signal: 14000 which means that the data is correctly written; otherwise it
means no data written.
Write CLI CMD
Master Write
CLI_CMD
Major
Minor
Multi
Length
4’b0001 4’b0100 4’b0000 4’b1000 4’b0010
4’b0001 Address
(15~0)
4’b0001 Data
(15~0)
Audio processor reply
CLI_CMD
Major
Minor
Multi
Length
4’b0001 4’b0100 4’b0000 4’b0000 4’b0000
Read CLI CMD
Master Write
CLI_CMD
Major
Minor
Multi
Length
4’b0001 4’b0100 4’b0001 4’b1000 4’b0001
4’b0001 Address
(15~0)
Audio processor reply
CLI_CMD
Major
Minor
Multi
Length
4’b0001 4’b0100 4’b0001 4’b1000 4’b0001
4’b0001 Data
(15~0)
Ex: Write FFFFh (with MOD, SMOD outputs at the maximum modulation) to the CLI
register "04CBh" and then read the register.
9