Question
UART can not DMA TO SRAM2 ?
Posted on January 03, 2018 at 14:35
uint8_t *pSRAM = (uint8_t*)SRAM2_BASE;
HAL_UART_Receive_DMA(&huart2,pSRAM ,25
); // uses DMA1This code Does not put byte on SRAM2 when UART2 receives data.
but below works
uint8_t *pSRAM = (uint8_t*)SRAM1_BASE;
HAL_UART_Receive_DMA(&huart2,pSRAM );
When i debug the code , KEIL memory window shows bytes coming in SRAM1_BASE but not in SRAM2_BASE.
#stm32-f4 #kit-stm32f4-discovery #dma-normal