深圳市必趣科技有限公司
BIG TREE TECH
UART mode protocol format
UART protocol consists of synchronization bits, read/write bits, 8-bit
register address and variable data.
Reads:
Read instruction: rw(bit 8) is 1 when reading the data of register
address (bit 9-15).
Write:
data bytes 3, 2, 1, 0
(high to low byte)
Write instruction: when rw(bit 8) is 0, write the register address (bit
9-15) with the data width defined by data size bits (5-6). The
variable-length data can be received, for example, the data size is 2, and
the data length is two bytes.
Note: The modified register needs to send the save instruction 0x18
before it can be written into Flash.