2023-06-19 3:24 AM
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 ?
2023-06-19 4:12 AM
most times same problem: no cache management.
try: switch off D-cache (= not enable d-cache )
2023-06-19 5:12 AM
I checked it => CCache and DCache OFF !
2023-06-19 5:12 AM
ICache... not CCache
2023-06-26 7:03 AM
More or less solved.
2023-06-26 8:10 AM
and..it was ..?
2023-06-26 8:37 AM
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.
2023-06-26 9:07 AM - edited 2023-06-26 9:21 AM
ok, also eclipse/CubeIDE/STM standard Verfahren . :)
aach, is on Win ? then Windows standard.
2025-03-02 7:12 AM
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.
2025-03-02 10:40 AM
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.