Post Go back to editing

Any advice on reading the AD7779 DOUT0 using an STM32 SAI input?

Hi,

I'm trying to read samples from all eight channels of an AD7779. I've got the SPI control interface up and running with very few problems but I need to route the analogue samples through the digital serial interface into an SAI input on an STM32F746-family ARM. I can see the DCLK, DRDY and DOUT0 are being driven but the processor doesn't seem to register the data arrival.

There's very little support from ST unless you want to use the SAI in a pure audio capacity, but I need to use the interface in "freeform" mode.

I'd appreciate any advice - good or bad!

Thanks in advance,

Dave

Parents
  • Hi Dave,

    Where you able to read the register map through SPI, in SPI control mode? If so, note the SPI interface can also be used for clocking out the ADC data.

    Note that for reading the ADC data from the DOUT interface, the difference is that the AD7779 acts as the master, and clocks out the data. I wouldn't have any oarticular advice for STM32F746 as haven't used them together, but you can check the No-OS drivers on the web just in case they are of any help.

    AD7779 - No-OS Driver [Analog Devices Wiki] 

    Regards,

    Lluis.

Reply
  • Hi Dave,

    Where you able to read the register map through SPI, in SPI control mode? If so, note the SPI interface can also be used for clocking out the ADC data.

    Note that for reading the ADC data from the DOUT interface, the difference is that the AD7779 acts as the master, and clocks out the data. I wouldn't have any oarticular advice for STM32F746 as haven't used them together, but you can check the No-OS drivers on the web just in case they are of any help.

    AD7779 - No-OS Driver [Analog Devices Wiki] 

    Regards,

    Lluis.

Children
No Data