2019-09-04 12:15 AM
Hi,
I'm using SPC560B54L5 Discovery board.
I'm trying to get serial communication to work at baud rate 115200. And it works well with other baudrate like 9600,38400 and 57600.
#define SPC5_PERIPHERAL1_CLK_DIV_VALUE 2U
#define SPC5_LINFLEX0_CLK (SPCGetSystemClock() / SPC5_PERIPHERAL1_CLK_DIV_VALUE)
SPCGetSystemClock() returns 16000000U
I have changed SPC5_PERIPHERAL1_CLK_DIV_VALUE to 1U,2U and 4U but the data received is incorrect in all the case.
Data is transmitted properly but the received data is incorrect.
So how to achieve serial communication at baud 115200?
I imported sample code SPC560Bxx_RLA SERIAL Test Application for Discovery.
2019-09-25 01:59 AM
Hello ,
This test application is set at 37600
Could you send me your serial configuration ?
Did you use Synchronous or Asynchronous ?
Best regards
Erwan