Hi
I am using UART5 interrupt handler to receive bytes in Mod-bus
protocol.
MCU is STM32f407VGT6. My problem is that UART ISR does not get first
4 bytes from slave.
I have checked signals with scope so I am sure hardware is okay.
my code is in below after a time out I read the buffer but instead of
9 bytes there is only last 5 bytes from slave.
void uart5_configuration(void)
{
USART_InitTypeDef USART_InitStructure;
GPIO_InitTypeDef GPIO_InitStructure;
RCC_AHB1
↧