I try to create a measurement system with ADC AD7606 and MC STM32F407. I have read datasheet on this ADC and write code for it. But I have not see any data on SPI-bus. Can you give me an example of initialization code for this microschem?
And how can i understand - tcycle according to Figure 47, on page 29 in Datasheet, must be 5 us (Table 3), but the time of tconv (OS = 0, 2, 4) is 19 us. Time of tcycle must be more, then tconv. So, what's the matter of this?
You're right. That tcycle is just 1/throughput. The fastest the part can run is at 200kSPS, so the minimum tcycle (assuming no oversampling and several conditions on table 3) will be 5us.
tconv increases if OS increases, then tcycle needs to be incremented accordingly.
Were you able to seen data on the SPI-bus? You need to follow figure 2 and meet the timings to the corresponding interface (serial or parallel). You'll find device drivers under 'Software & System Requirements' on the product page if that helps.
Thank you, Lluis.
Yes, I've seen Figure 2.
That device drivers are mostly for Linux OS, and I need for STM.
if you send us scope shots of your interface (CNVST, BUSY, SCLK, DOUTA) we can try help you debug the problem.