I want to load up the FreeRTOS UART example for the FRDM-KL64Z board, but I can't get it to work. I import the example project and I open Pin config tool to let MCUXpresso initialize the pins needed for the project. I get a small warning that the UART1 peripheral isn't initialized, so I let MCUXpresso initialize it for me, but when I try to debug I don't see anything printed on my terminal. What could be the problem?
I've tried running some other example projects that worked with printf redirected to uart, so I know that my terminal at least is configured correctly.
We don't have a FRDM-KL64Z board, do you mean Frdm-kl46z?
For Frdm-kl46z board, I imported the freertos_uart demo, the default setting, I can see UART1 is initialized correctly.
There is a readme file in the installation dem folder. Please refer to it for more details.
Yes, I meant Frdm-kl46z. I run the debugger again and I can see that uart is initialized indeed, just like in your screenshot. If so, why do I not see anything printed on my terminal, like the readme says should happen? I'm sure my terminal is configured correctly, as I've been able to see it work with other examples that simply use uart as a debug console.
In order to run freertos_demo with FRDM-KL46Z, we need a USB to Com convert.
Pin Name Pin Name Board Location
RX PTE0 J2 pin 18
TX PTE1 J2 pin 20
GND GND J2 pin 14