STM32H743 SPI DMA NOT WORKING, CACHE DISABLED
Hi everyone,
I have to port one proyect from a STM32F4 to a STM32H743. In this project it is important to use the SPI through DMA, so after reading a bit about the DMA-Cache issue in this microcontroller i decided to disable the D-Cache in order to make this change fast, but the DMA is not working.
When i use the function HAL_SPI_TransmitReceive_DMA(spiHandler, tx_block, block, size); Ir returns HAL_OK and the handler goes to Busy state, but nothing happens.
After searching, i found this topic :
https://community.st.com/s/article/FAQ-DMA-is-not-working-on-STM32H7-devices
So i tried to change my linker script according to that, placing the ".data" ".bss" and " ._user_heap_stack" to ">RAM_D1 AT> FLASH" (before it was ">RAM_D1"), removing the initial "_estack" definition and adding "_estack = .;" inside " ._user_heap_stack". But when i do this is like if the program was always attending interruptions and cannot run the application:
Any help would be really appreciated!
