Question
STEVAL-ROBOT-1 MODBUS baud rate. How to increase the baud rate from the factory 19,200? Currently stops working at 38,400
I tried changing the baud here in main()
static void MX_USART1_UART_Init(void)
huart1.Init.BaudRate = 57600;
and here in mbtask.c:
void ModbusRTUTask()
eMBErrorCode eStatus = eMBInit( MB_RTU, MB_SLAVE_ADDRESS, 3, 57600, MB_PAR_NONE );
As mentioned, this only works to 38400.
Logic analyzer on the RS422 lines shows MODBUS packets from master at 1M fine.
Thank you.