You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
iio: adc: ad7768-1: remove tx_buf from IIO buffer read transfer
The address byte is not needed in the SPI transfer if continuous
read mode is enabled. In this case, data readback occurs on the
application of SCLK.
Remove tx_buf from IIO buffer read transfer to reduce the duration of
each transfer and enable the sample rate of 1.024 MHz at 16-bit
resolution, given the maximum supported SCLK rate of 20 MHz:
- With address byte: (16-bit data + 8-bit address) * 1.024 MHz > 20 MHZ.
Insufficient SCLK cycles to drive out the output.
- Without address byte: (16-bit data) * 1.024 MHz < 20 MHz.
Signed-off-by: Jonathan Santos <Jonathan.Santos@analog.com>
0 commit comments