I am trying to modify a demo application on KDS 2.0 with KSDK 1.1.0. I only have twr-k60d110m and TWR-IND-IO. Am i being able to change
default setting to UART3? Does anyone know?
I can't help with the demos but if you want full flexibility using KDS you can look at µTasker Kinetis TWR-K60D100M support
1. Choose the UART to be used as follows (example of opening the interface on any channel (0..5) and sending a "Hello, World!" output.
tInterfaceParameters.Channel = 3; // 0, 1, 2, 3 ,4 or 5
tInterfaceParameters.ucSpeed = SERIAL_BAUD_115200;
tInterfaceParameters.Config = (CHAR_8 + NO_PARITY + ONE_STOP + USE_XON_OFF + CHAR_MODE);
tInterfaceParameters.ucDMAConfig = UART_TX_DMA;
SerialPortID = fnOpen(TYPE_TTY, FOR_I_O, &tInterfaceParameters);
fnWrite(SerialPortID, "Hello, World!", 13);
2. Fine tune the UART's pin multiplexing by choosing from a set of defines:
Kinetis: µTasker Kinetis support
K60: µTasker Kinetis TWR-K60N512 support / µTasker Kinetis TWR-K60D100M support / µTasker Kinetis TWR-K60F120M support
For the complete "out-of-the-box" Kinetis experience and faster time to market
Hi Yaran Nan,
I don't know which demo are you using.
let's take hello_world_twrk60d100m as an example.
To modify the debug console output to UART3, you need just modify BOARD_DEBUG_UART_INSTANCE from 5 to 3.
This Macro is defined in line 43 in board.h.
hope it helps!
So hey guys thanks for helping me. I still dont know how, but i will try it later.
Retrieving data ...