Hi Yaran
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.
TTYTABLE tInterfaceParameters;
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:
| //#define UART0_A_LOW | // alternative UART0 pin mapping |
| //#define UART0_ON_B | // alternative UART0 pin mapping |
| //#define UART0_ON_D | // alternative UART0 pin mapping |
| //#define UART1_ON_C | // alternative UART1 pin mapping |
| //#define UART2_ON_E | // alternative UART2 pin mapping |
| //#define UART2_ON_F | // alternative UART2 pin mapping |
| //#define UART3_ON_B | // alternative UART3 pin mapping |
| //#define UART3_ON_F | // alternative UART3 pin mapping |
| #define UART3_ON_C | // alternative UART3 pin mapping |
| //#define UART4_ON_C | // alternative UART4 pin mapping |
| //#define UART5_ON_D | // alternative UART5 pin mapping |
Regards
Mark
Kinetis: µTasker Kinetis support
K60: µTasker Kinetis TWR-K60N512 support / µTasker Kinetis TWR-K60D100M support / µTasker Kinetis TWR-K60F120M support
UARTs: http://www.utasker.com/docs/uTasker/uTaskerUART.PDF
For the complete "out-of-the-box" Kinetis experience and faster time to market