Post Go back to editing

AD7134 SPI registers and ODR

Regarding spi registers and the AD7134 data sheet:

  • I'm trying to figure out how to modify the ADC conversion rate
  • It seems that right now the existing no-os code is converting at about a 10-11 kHz rate.  I've connected a 1kHz sin wave on the input and I'm getting about 11 unique values per cycle

  • I want to convert at a much higher rate, so I'm trying to figure out which SPI registers need to change in order to do so
  • Reading the data sheet, it seems that the ODR registers (0x16 - 0x1C) will control the output data rate
  • When I try to change these values using a spi write and spi read command, nothing changes.  I still read back the default value...

  • I did verify that both of these commands work properly by writing and reading the SCRATCH_PAD register (0x0A)
  • I also tried setting the MASTER_SLAVE_TX_BIT beforehand but same result

Thanks.