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.

ADS7959: Auto1 Mode - GPIO's as Inputs

Part Number: ADS7959

Dear Support Team,

in our application with the ADS7959 we're operating in AUTO1 mode and cycle through the single channels.

Now we'd like to add GPIO Inputs to the device.

Until now the SPI rx command was the following:

SSP_tx_buffer_g[0] = (0x20);              // Select Auto-1 Mode, cycling through all AD-channels
SSP_tx_buffer_g[1] = (0x00);
rxcount = SSP_WriteRead(SSPCfgComplete, cs_conf, SSP_tx_buffer_g, 2, SSP_rx_buffer_g, 0, 0);

As mentioned in the documentation bit DI04 need to be 1 if the GPIO's should be used.

The protocol then changes to:

SSP_tx_buffer_g[0] = (0x20);              // Select Auto-1 Mode, cycling through all AD-channels
SSP_tx_buffer_g[1] = (0x10);
rxcount = SSP_WriteRead(SSPCfgComplete, cs_conf, SSP_tx_buffer_g, 2, SSP_rx_buffer_g, 0, 0);

However the output is still the same with no GPIO status.

What would be the sequence to enter AUTO1 mode and get the GPIOs as feedback?

I'd need a SPI sequence or something like that.

Thanks and best regards,
Lorenz