Simultaneous reading from AD7606 and writing to the AD5671


I want to implement simultaneous reading from AD7606 while writing to AD5761 DAC. Only channel 1 and 5 of AD7606 will be reading.

For that purpose I plan to use 2 SPI channels of ESP32 chip, one as master and one as slave.

Both ESP32 CSs connected together and wired to DAC’s SYNC and ADC’s CS.

So with the first 16 CLKs data from ADC channels 1 and 5 will be read, and at the same time first 16 of 24 bits will be sent to DAC. Then the CLK continue ticking thus finishing load DAC’s register with its 24 bit, and after that common CS go inactive. 2x8 bits pushed into MISOs from ADC are to be ignored.

Then the next CONVST pulse applied, followed by BUSY which loads ADC registers with new data that can be read with next 16 (24) CLKs.

Will that scheme work?

adding tags
[edited by: Lluis at 2:04 PM (GMT -4) on 20 Oct 2020]
Parents Reply Children
No Data