DOC: SPII2CHDWBrief - V2.71 07/25/2017
PAGE 19
0Ch Prepare Complete Output Buffer
●
This Command Header, 0Ch, causes the sensor to prepare to return the available data. The
number of bytes requested must be the same as the number of bytes indicated in the preceding
Read Status and Length
sequence. The data is clocked in immediately following the complete 0Ch
Command as indicated below in the
Read Back
section.
Direction
(address byte R/W̅ bit)
: 0; Output to sensor.
Output to sensor: Start condition, Address byte, 0Ch, #, #, #, Stop Condition
Figure 15 – Command Header 0Ch Example
Read Complete Output Buffer is designed to pass the entire buffer back. Any data left in the
sensor output buffer that was not requested will be deleted upon completion of the instruction.
Read Back
Following the Prepare Complete Output Buffer command described above, the requested data
bytes are read back as follows:
Direction
(address byte R/W̅ bit)
: 1; Read to master (user controller).
Output to sensor: Start condition, Address byte, ……….., Stop condition
Note …… are clock cycles.
Figure 16 - Read Back X Bytes
Upon completion, any remaining data in the sensors output buffer is deleted.