cancel
Showing results for 
Search instead for 
Did you mean: 

H755 / ADC3 / DMA

UBöke.1
Associate II

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 ?

9 REPLIES 9
AScha.3
Chief III

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 "Accept as Solution".

I checked it => CCache and DCache OFF !

ICache... not CCache

 

UBöke.1
Associate II

More or less solved.

and..it was ..?

If you feel a post has answered your question, please click "Accept as Solution".
UBöke.1
Associate II

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.

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 "Accept as Solution".

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.

Hi,

Sollte hier auf Englisch sein, damit es auch mehr lesen können...

So I can't say about H755, but H743, is almost same chip.

No problem with DMA, in my programs.

Maybe you set something wrong:

- settings in Cube ok ?

-  starting in program ok?

Then check in debug the DMA registers, settings and when starting...

And for more help: need more details, what it should do, settings in Cube, use in program.

If you feel a post has answered your question, please click "Accept as Solution".