High Speed Memory array copy
Hello,
I have implemented a high-speed USART @921600 baud rate with STM32f10x @72Mhz. I want to send 3000 Bytes to a slave MCU.
In slave MCU, I used USART DMA to read MSG[300]byte data collect the data, and copy them into a larger array(Data[3000]).
My problem is that when the first 300 bytes come from the USART and a DMA interrupt occurs, I don't have enough time to copy MSG[300] bytes to my larger array Data[3000] and if I use a memory-to-memory DMA, I am worried about the variable changing when the incoming the second-300byte packet changes the previous values of MSG variable.
what is you idea?
