17.5.2 Controlled Streaming Example
This example shows how to read the 24-bit conversion data (ADC_DOUT) four times using the Controlled Streaming mode. The
ADC_DOUT registers consist of ADC_DOUTH at ADDR 0x1A, ADC_DOUTM at ADDR 0x1B, and ADC_DOUTL at ADDR 0x1C.
The first step (Figure 36) sets up the SPI_STREAMCN register. This step enters the Controlled Streaming mode by setting
STRM_TYPE high in ADDR 0x03. Since three registers (ADDR 0x1A - 0x1C) need to be read, the STRM_RANGE is 2.
30139593
FIGURE 36. Setting up SPI_STREAMCN
The next step shows how to perform the Controlled Streaming mode so that the master device will read ADC_DOUT from ADDR
0x1A, 0x1B, 0x1C, then wrap back to ADDR 0x1A, and repeat this process for four times. After this process, deassert CSB to end
the Controlled Streaming mode.
43 www.national.com
LMP90100/LMP90099/LMP90098/LMP90097