Skip to main content
Visitor II
May 30, 2022
Question

STM32H747I-DISCO Data Acquisition Chain where to start?

  • May 30, 2022
  • 1 reply
  • 725 views

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

    This topic has been closed for replies.

    1 reply

    Visitor II
    May 31, 2022

    Hello @ABett.3​ ,

    Welcome to ST Community :smiling_face_with_smiling_eyes:

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

    I hope this helps.

    BeST Regards,

    Walid