Function HAL_SRAM_Write_DMA(....) setup
Dear all,
I am trying to use the above function to transfer data from STM32F429 to an external SRAM device but I am not able to see the signals generated.
I can use without ptoblems a similar function (HAL_SRAM_Write_16b(...)).
I am using STM32cubeIDE I have tried to configure a MemToMem DMA but without success.
Does anyone knows If I have to setup first the DMA?
What be the steps to get this function working?
This are the exact functions I use:
- HAL_SRAM_Write_16b(&hsram1, (uint32_t*)(SRAM_BANK_ADDR+WRITE_READ_ADDR+2*uwIndex) , aTxBuffer, BUFFER_SIZE);
- HAL_SRAM_Write_DMA(&hsram1, (uint32_t*)(SRAM_BANK_ADDR+WRITE_READ_ADDR+2*uwIndex) , (uint32_t*)aTxBuffer, BUFFER_SIZE);
Thanks in advance,
Joaquín.
