hi
Someone ask me a question about the STM32 but I not sure for the answer.
What is the maximum USART data buffer size that we can use on the STM32?
In the memory map, register for the UART1 are located at:
0x4001 3800 --- 0x4001 3BFF
resulting in 1024 bytes (3FF in hexa).
The STM32 use 24 bytes (0x18) offset registers for configuring the USART
resulting in 1024 - 24 = 1000 bytes not used or reserved I guest.
All this memory configuration is not related to the maximum data buffer
allowed by the USART to transmit.
For the DMA buffer, in the reference manuel, the programmable number of
data to be transferred can go up to 65536.
So, the maximum data buffer for the USART should 65536 bytes.
Does it make sense?
Thank in advance
JM