Skip to main content
UBöke.1
Associate II
June 19, 2023
Question

H755 / ADC3 / DMA

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.

9 replies

AScha.3
Super User
June 19, 2023

most times same problem: no cache management.

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

If you feel a post has answered your question, please click on " Best Answer ".
UBöke.1
UBöke.1Author
Associate II
June 19, 2023

I checked it => CCache and DCache OFF !

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

ICache... not CCache

 

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

More or less solved.

AScha.3
Super User
June 26, 2023

and..it was ..?

If you feel a post has answered your question, please click on " Best Answer ".
UBöke.1
UBöke.1Author
Associate 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.

AScha.3
Super User
June 26, 2023

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

aach, is on Win ?    then Windows standard. 

If you feel a post has answered your question, please click on " Best Answer ".
Associate
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.