Using the DAC and ADC with DMA on the Portenta h7 (STM32H747)

Post here first, or if you can't find a relevant section!
Post Reply
abadialali
Posts: 2
Joined: Thu Aug 13, 2020 6:13 am

Using the DAC and ADC with DMA on the Portenta h7 (STM32H747)

Post by abadialali »

Hi everyone,

I am new to the STM32 programing and I have just got the Arduino Portenta H7 Microcontroller, and I am interested in using the DAC and ADC with DMA.

I was wondering if anyone here can guide me with that and give me some references, and if there is a library that I can use. can I use the libraries already built for STM32 on arduino IDE or are those not configured to support the Portenta H7 yet?

Thanks in advance
User avatar
fpiSTM
Posts: 1738
Joined: Wed Dec 11, 2019 7:11 pm
Answers: 91
Location: Le Mans
Contact:

Re: Using the DAC and ADC with DMA on the Portenta h7 (STM32H747)

Post by fpiSTM »

Hi,
in fact the portenta has its dedicated core made by Arduino on top of MBed.
https://github.com/arduino/ArduinoCore-mbed

I think you can use the MBED API, so if it is supported then you should be able to use it.

The STM32 core does not support the portenta. mainly the dual core.
abadialali
Posts: 2
Joined: Thu Aug 13, 2020 6:13 am

Re: Using the DAC and ADC with DMA on the Portenta h7 (STM32H747)

Post by abadialali »

Thanks you @fpiSTM, I will check this one out.

However, I was hoping that I can import something like the Hal library since I know it has functions to implement the DAC with DMA. I will check the Mbed APIs to see if they offer anything similar.
Post Reply

Return to “General discussion”