This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

PGA112: SPI Read

Part Number: PGA112
Other Parts Discussed in Thread: PGA113

Hi Champs,

via the SPI interface and the DIO  pin it is possible ot read form the PGA112 device. What data can you actually read from it? I did not find this in the documentation.

  • Hi Simon,

    The SPI on the PGA112 allows you to read or write the contents D[7..0] to control the gain and the mux settings

    On the PGA112 and PGA113 devices, there are digital output and digital input gates both internally connected to the DIO pin. DIN is an input-only gate and DOUT is a digital output that can give a 3-state output. 

    When CS is high, the state of the internal DOUT gate is high-impedance. When CS is low, the state of DIO depends on the previous valid SPI communication; either DIO becomes an output to clock out data or it remains an input to remain data.

    You can send a command to READ or WRITE as shown on Table 3. You can write the contents D[7..0] to control the gain and the mux settings.

    D[7..4] control the gain settings and D[3..0] control the multiplexer settings.  Please refer to table 5 and table 6 (p.29-30)

     Figure 62 shows the SPI serial interface timing diagram/sequences when using SPI Write mode, and SPI Read mode on page 25.

    Thank you,

    Best Regards,

    Luis 

     

  • Thanks,

    so this means there is only one register to read and these are the (earlier written) gain and multiplexer settings in D7 to D0, right?

  • Hi Simon,

    Yes, you are correct, the user may only may read the D[7..0] gain and multiplexer settings (shown on Figure 62).

    Thank you,

    Best Regards,

    Luis