cancel
Showing results for 
Search instead for 
Did you mean: 

STM32H735-DK: ADC + DMA + HyperRAM

viteo
Associate II

Hello, friends.
I have a task to take readings from ADC within 1 second at 5MSPS speed. If I counted correctly, it is about 10 megabytes of data.
The H735 Discovery Kit has an external RAM via HyperBus (OCTOSPI2) of 16 megabytes, which I managed to map to 0x7000000. But it seems that it is wrong to specify that address to the DMA request in HAL_ADC_Start_DMA().
How to configure DMA to write data from ADC directly to External RAM (OSTOSPI2). Is it possible at all? Or it is necessary to make a chain of DMAs.
As I understand it, I need to use MDMA because has access to external RAM, but how do I get it to receive data from ADC?
Do you have any examples? I appreciate any help.

0 REPLIES 0