Skip to main content
neuberfran
Associate III
October 17, 2022
Solved

Help to do a adc/dma project in stm32f469 disco kit in stm32CubeIde 1.10.1

  • October 17, 2022
  • 19 replies
  • 9343 views

https://www.youtube.com/watch?v=LZIcvYmgGZ8&t=228s

I need to make this video project (which uses stm32f407VGT6) in my stm32f469 disco kit in stm32cube ide 1.10.1

I need step by step

Look below for the stm32f469 mcu typing splash screen. There are several options. The chip I normally work on is this: STM32F469NI...

In the quoted video, the author works with pa1 on stm32f407vgt6. What would be the equivalent on the stm32f469 disk kit?:

This topic has been closed for replies.
Best answer by Karl Yamashita

Did you even look at the schematic for your board? A1 is an Arduino pinout. Your pot is connected to PORTC pin 2.

If you want to connect the pot to PA1, then you need to use pin D3 on the Arduino connector.

19 replies

ST Technical Moderator
October 17, 2022

Hello @neuberfran​,

You can review the ADC example (using DMA) available under STM32CubeF4 MCU package:

STM32Cube_FW_F4_V1.x.x\Projects\STM32469I-Discovery\Examples\ADC\ADC_RegularConversion_DMA

The example runs on STM32F469xx devices and can be easily tailored to any other supported device.

Imen

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Thanks
neuberfran
Associate III
October 17, 2022

0693W00000UoD67QAF.png@Imen DAHMEN​ tks. But I need more details answer. Step by step. I open STM32F469I_DISCOVERY in stm32cubeide. (please see photos below). I ran the project. But I can't flash on the board. And I also need to know which pins are being used to connect to the hanmatec dos1102 oscilloscope.

Today I bought a potentiometer (B10K) and I intend to use it in the same project as the video I mentioned above. Will this be possible? Which example project should I use to work with potentiometer?

0693W00000UoD62QAF.png

neuberfran
Associate III
October 19, 2022

@Imen DAHMEN​ Please, help-me more with this

ST Technical Moderator
October 20, 2022

Hi @neuberfran​ ,

You'll probably want to review this Getting started ow how to use the ADC with DMA, using the STM32L476 with STM32CubeIDE and HAL:

Getting Started with STM32 - Working with ADC and DMA

Imen

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Thanks
neuberfran
Associate III
October 24, 2022

0693W00000UohLRQAZ.png@Imen DAHMEN​ 

I've evolved a lot but I still haven't been able to. If you look at the video (I repost the link below) at 12 minutes and 53 seconds, it turns the potentiometer and the values change. However, here in my project with the stm32f469 disk kit, nothing changes.

https://www.youtube.com/watch?v=LZIcvYmgGZ8&t=242s

I ask you to look at the photos, please.

In one of them I show my connections on my board.

In another I show the stm32cubeide where I created the ADCDMAExample2 project that still doesn't work fully

I'm using pin a1 and in the video it's pa1. Is this the cause of the problem?

neuberfran
Associate III
October 24, 2022

0693W00000UohLRQAZ.png@Imen DAHMEN​ 

neuberfran
Associate III
October 25, 2022

@Imen DAHMEN​  And more Pls. How to I know my stm32f469 disco kit Commercial Part. Number to put in stm32cubeIde?

ST Technical Moderator
October 27, 2022

Hi @neuberfran​,

You can use STM32CubeProgrammer tool.

0693W00000VOFFcQAP.jpg 

Imen

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Thanks
neuberfran
Associate III
October 28, 2022

@Imen DAHMEN​ 

This image is really bad, I can't even see it with zoom

neuberfran
Associate III
October 25, 2022

@Imen DAHMEN Pls. Help-me more answering all the questions above

neuberfran
Associate III
October 25, 2022

@Imen DAHMEN​  Pls. Help-me more answering all the questions above

neuberfran
Associate III
October 28, 2022

@Imen DAHMEN​ 

You still haven't answered the main question I asked above: Why when I move the potentiometer Isn't it changing anything in the value of the dma-adc variable in debug? (Because in the video it works ok.)

neuberfran
Associate III
October 28, 2022

@Imen DAHMEN​ 

You still haven't answered the main question I asked above: Why when I move the potentiometer Isn't it changing anything in the value of the dma-adc variable in debug? (Because in the video it works ok.)

neuberfran
Associate III
November 8, 2022

@Imen DAHMEN​  Can you help-me more or not?

???

?