9 years, 1 month ago.

Source code for on-board demo program

My FRDM-KL46Z came with a demo program that tests the slider, compass and accelerometer with output to the built-in segment LCD.

Where can I find the source code for this program?

(I have found libraries for the slider, compass and accelerometer, but I can't find anything for the segment lcd. Can I drive it like a segment LED display (multiplexing the com lines and setting the segments I want to light up high), are there restrictions on timing (i.e. will a segment burn out if the multiplexing frequency is too slow?)

Question relating to:

The FRDM-KL46Z is an ultra-low-cost development platform enabled by the Kinetis L series KL4x MCU family built on the ARM® Cortex™-M0+ processor. Features include easy access to MCU I/O, battery-ready, …

1 Answer

9 years, 1 month ago.

It cannot be used like that, there is a seperate peripheral on-chip which drives that LCD, and it has stuff like charge pumps on board to generate the required higher voltages for the LCD display.

There is a simple library for the display, and here are all programs which use that: https://developer.mbed.org/users/Sissors/code/SLCD/dependents. The top one is a good choice to try it out, but you can also look at others.

Accepted Answer

Thanks. I tried the FRDM-KL46Z LCD rtc Demo example, and it worked well.

posted by Per J. G. 30 Jan 2015