How to run uart1 and uart6 in above 5 mbps speed in stm32F410CBT6 microcontroller in UART Mode?
Hello All,
This is Lalit from Teq Diligent.
Currently I am working in STM32F410CBT6 Controller.
I want to communicate UART with my another same controller.
I want to generate more then 5Mbps speed in UART mode for the same controller in both the side.
Is this possible in the controller?
If it is not achievable then what is correct configuration for the getting more then 5Mbps speed in UART.
My configuration :
Currently I have following uart configuration in "STM32F410CBT6 ".
I achieve max 921Khz uart baud rate in the same controller. But i want more then 5Mbps.
I configured uart1 with baud rate 4000000 Mbps with clock frequency 84 MHz and 100Mhz .
I am using DMA feature in UART.
my uart1 configuration is given below
huart1.Instance = USART1;
huart1.Init.BaudRate = 4000000;
huart1.Init.WordLength = UART_WORDLENGTH_8B;
huart1.Init.StopBits = UART_STOPBITS_1;
huart1.Init.Parity = UART_PARITY_NONE;
huart1.Init.Mode = UART_MODE_TX_RX;
huart1.Init.HwFlowCtl = UART_HWCONTROL_NONE;
huart1.Init.OverSampling = UART_OVERSAMPLING_16;
if (HAL_UART_Init(&huart1) != HAL_OK)
{
Error_Handler();
}
Please help me to solve this error.
I am waiting for response.
Thank You
