AnsweredAssumed Answered

Incorrecte baudrate in FRDM-K64F flexcan example

Question asked by Johan Wallstrom on Jun 21, 2016
Latest reply on Jun 21, 2016 by Johan Wallstrom



I'm trying to run the flexcan_loopback example in the SDK 2.0 IAR for FRDM-K64F.


I changed the UART instance to UART4, and changed the MUX for the correct pins, and activated the clocks for PORTE.
Despite that, no changes from standard. But the problem is, the output baudrate is half the specified.


In BOARD_InitDebugConsole, uartClkSrcFreq is set to 120MHz. I don't know if that is correct.


Any ideas? Is it system clock that is wrong or only the uart baudrate?