HelloI have a project with STM32G474CB in CubeMX and it generates the linker script with following: MEMORY
{
RAM (xrw) : ORIGIN = 0x20000000, LENGTH = 128K
FLASH (rx) : ORIGIN = 0x8000000, LENGTH = 128K
} But, as I understand, th...
I am trying to reconfigure DMA without losing samples and without stopping the ADC, which is triggered using timer (relatively rarely), so my plan was to look whether both the ADC and DMA are idle and quickly reconfigure DMA before ADC even starts to...
I am using DMA for receiving data, but interrupts for transmitting over UART and I am experiencing following issue:When the UART experiences Framing Error, the DMA stream triggers an interrupt to which HAL responds by eventually calling UART_DMAAbort...
That is a good Idea, especially with end-of-sequence interrupt. However If I were to handle these interrupts, that would negate almost all benefits of using DMA.
Oh I did not express my intent correctly, perhaps. There is nothing wrong with the setup, it works fine, I just needed to reconfigure DMA from time to time (not even necessarily at exact point in time) as part of my application. Thanks for the answer...
I eventually ended up disabling DMA using HAL_UART_DMAPause() and HAL_UART_DMAResume() while transmitting, since I did not need full-duplex communication. That seems to have helped.
I am still experiencing this issue in CubeMX 5.2.0, this does not seem to be an issue with the .ioc file, since the same file used to work fine before.