cancel
Showing results for 
Search instead for 
Did you mean: 

STM32H747I-DISCO Data Acquisition Chain where to start?

ABett.3
Associate II

Hi all,

I am new to STM32 and tasked with a somehow complicated design.

I must build a data acquisition chain using ADC in interleaved mode at the highest frequency possibile and dump data on a pc.

On the ADC side I found this example which seems to be pretty complete.

Before moving on and try to optimize it, I would like to close the loop and embed a connection to a pc. The fastest, the better. I see that there are no examples for USB CDC (plus I ain't no expert on USB).

Any suggestions on how/where to start? I would like to re-use as much code as possible.

Generally, my idead for such a project would be as follows:

  • single core for simplicity (use M7 only)
  • ADC acquires and transfers to sram via DMA on ping-pong buffer
  • USB transfers to PC via DMA

Suggestions?

Thanks a lot for your help 🙂

Andrea

1 REPLY 1

Hello @ABett.3​ ,

Welcome to ST Community 😊

You can refer to this USB CDC example and you can easily port it to your board.

I hope this helps.

BeST Regards,

Walid