Fermion TMF8801 ToF Distance Ranging Sensor (20-2500mm) - Datasheet

Table Of Contents
Document Feedback
TMF8801
Register Description
Datasheet PUBLIC
DS000648 v8-00 • 2021-Jul-08
69 55
W_RAM
This command writes the given data to a defined RAM region. Note that the RAM pointer has first to
be set by the command ADDR_RAM. After the command is successfully executed the RAM pointer
will point to the first byte after the written region.
Figure 110:
W_RAM
Address
Value
Meaning
BL_CMD_STAT
0x41
Write to main RAM
BL_SIZE
0..0x80
Number of bytes to be written
BL_DATA0
0..0xFF
1
st
byte to be written
BL_DATA1
0..0xFF
2
nd
byte to be written
BL_DATA127
0..0xFF
128
th
byte to be written (only if size was 0x80)
BL_CSUM
0..0xFF
The CSUM comes immediately after the data.
ADDR_RAM
This command is to specify the RAM pointer location for the next R_RAM or W_RAM command.
Figure 111:
ADDR_RAM
Address
Value
Meaning
BL_CMD_STAT
0x43
Specify the address of the next RAM read or
write.
BL_SIZE
2
BL_DATA0
0..0xFF
LSB of address in RAM
BL_DATA1
0..0xFF
MSB of address in RAM
BL_CSUM
0..0xFF