Hello,
I am working on an I2S application for my university although I need UART enabled for various development purposes.
I have worked with UART with AVR controllers although the application needs the higher powered 32-bit capabilities of the KL26Z
In my experience with AVRs, using the UART was simply setting simple parameters in the UART control registers and then enabling them and using simple functions.
Does anybody have code I could use or point me in the right direction?
Hi, Shannon
I2S and I2C are not the same serial communication function.
For KL26Z, you can use KL26 sample code from link FRDM-KL26Z: Freescale Freedom Development Platform for Kinetis KL16 and KL26 MCUs (up to 128 KB Flas...
The sample code named "FRDM_KL26_SC". After you install it, you can find demo code in path ...\FRDM-KL26Z_SC\FRDM-KL26Z_SC_Rev_1.0\klxx-sc-baremetal\build\iar\FRDM_KL26ZDemo. UART setting function is in C file sysinit.c.
Hope my reply can help you.
Best Regards
Paul