STM32G474 High speed ADC DAC
Dear Community,
i got two interconnected questions, as i want to build a measurement system that measures and generates sine signals and multi-sine signals with frequencies of up to 1 MHz. For this task i would like to have 10MSPS DAC and ADC acquisition.
I thought about multiple ways of doing it and would like to hear your thoughts:
- Just do it all in analog and build a simple lock in amplifier and use an external signal generator ic
This would be the method i am currently using but it is fairly limited as it can only generate one frequency at a time or i would have to scale up the analog side. - Use the build in ADCs and DACs to generate and measure the signals.
The ADC of the G474 is 4MSPS at max res. would be < 8MSPS in alternating trigger mode.
Could i use the HRTIM to trigger all ADCs alternating to generate even higher sampling rates?
Would the DMA be able to handle that? Do i tie all pins together or give everyone a separate opamp to circumvent sampling noise cross talk.
What is with the DAC? AN4566 says the adc of the G4 series goes up to ~30MSPS but the datasheet only states 1MSPS for external connection? What is now correct? Do i need to internally connect the DAC to the opamp to get the performance coupled with an external opamp? - Use an external parallel dac and adc. For this a high number of pins would be necessary and additional hardware. Also would the dma be able to handle a throughput of 120Mbit/s for two gpio channels triggered by a timer running at 100ns trigger frequency?
- Learn to program FPGAs and use that instead with an external ADC and DAC. Most likely the best option but also the most time consuming one.
Thanks anyone for helping me, :)
