AnsweredAssumed Answered

How to initialize/access UART???

Question asked by Oleg Bondarenko on Jan 5, 2012
Latest reply on Sep 30, 2013 by Jems Lesco

I just started to study Kinetis and was really puzzled by absence of any example projects using a simple UART. All serial output is alway directed to printf() and there is no documentation at all with any information on how to select where the printf() output is directed, I was able to find uart_init (UART_MemMapPtr uartch, int sysclk, int baud), but again all I have is that source code. If try to use uart_putchar (UART_MemMapPtr channel, char ch) it requires some 'channel', that is no easy to guess. Is there any working UART example that shows how to access UART directly? 

 

Outcomes