10 years, 8 months ago.

UARTs FRDM-K64F

How to setup additional Serialport ?

1 Answer

10 years, 8 months ago.

Just like you did the first one: https://developer.mbed.org/handbook/Serial

Here are all pinout options for the UARTs: http://developer.mbed.org/users/mbed_official/code/mbed-src/file/fc4922e0c183/targets/hal/TARGET_Freescale/TARGET_KPSDK_MCUS/TARGET_MCU_K64F/TARGET_FRDM/PeripheralPins.c

Scroll down to the UART section and see which RX and TX pins you can use. A single serial object needs to have the same UART for both its RX and TX pin.