Skip to main content
Visitor II
June 19, 2023
Question

H755 / ADC3 / DMA

  • June 19, 2023
  • 3 replies
  • 2371 views

Hello,

I'm desperate. Just want to concvert some data with the ADC3 with DMA on a H755.

No chance! DMA doesn't work, and even a cyclic sample only produces the right values for the first turn. After that, only max. resolution is returned. 12 bit => 0x800 as the result.

Can anybody help ?

    This topic has been closed for replies.

    3 replies

    Super User
    June 19, 2023

    most times same problem: no cache management.

    try: switch off D-cache (= not enable d-cache )

    UBöke.1Author
    Visitor II
    June 19, 2023

    I checked it => CCache and DCache OFF !

    UBöke.1Author
    Visitor II
    June 19, 2023

    ICache... not CCache

     

    UBöke.1Author
    Visitor II
    June 26, 2023

    More or less solved.

    Super User
    June 26, 2023

    and..it was ..?

    UBöke.1Author
    Visitor II
    June 26, 2023

    Ich weiß es wirklich nicht. Ich habe alles gelöscht, STM-Cube deinstalliert, neu installiert und alle HAL_ Treiber neu aus dem Netz geladen, noch einmal alles eingestellt. Und irgendwie funktioniert es jetzt so, wie es soll.

    Super User
    June 26, 2023

    ok, also eclipse/CubeIDE/STM  standard Verfahren . :)

    aach, is on Win ?    then Windows standard. 

    Visitor II
    March 2, 2025

    Hallo,

    ich hatte das gleiche Problem mit meinem Nucleo32H755ZI-Q, DMA gibt mir immer den Wert 603982406 bzw. 0x24000a46. Zebreche mir seit Tagen den Kopf. Habe auch SCB_DisableDCache() probiert. Schließlich CubeIDE neu installiert, immernoch gleicher Fehler.