I am trying to send 20486 bytes of data through UART at 2 Mbps. However, I am not able to send full data at this baud rate. Baudrate of 115200 works fine for sending this data however at 2000000 baudrate, it is sending only partial data?
Below is the code for sending data at 2 Mbps baudrate. #include "stm32f4xx.h" #include "stm32f4xx_hal.h" #include "stm32f446xx.h" #include "stm32f4xx_hal_cortex.h" #include "stm32f4xx_hal_tim.h" #include "main.h" #include <string.h> #include <stdint....