stuck kl43 SLCD

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

stuck kl43 SLCD

546 Views
andrewpikul
Contributor I

We're trying to set up the SLCD controller bit by bit on the KL43 (we're using the FRDM board). We've turned on the SLCD clock and we've set up the SLCD registers properly (I think). The clock is left at the default to use the internal oscillator and then we turn on the PAD_SAFE, and then set the control to an internal 1 V reference on Vll1 w/ charge pump etc. We enable some pins and write some waveform registers.

Just to see if it works, we probe Vll1,2, and 3 and, besides not seeing any lcd waveforms, see that vll2 discharges like a capacitor upon contact with our scope probe.

We have not touched the PCR registers because the default setting seems to be correct.

Are we missing something?

Labels (1)
0 Kudos
3 Replies

380 Views
andrewpikul
Contributor I

So after several hours I solved my own problem. Thanks for the help Mark, but because your comment got hidden during moderation, I wasn't able to use your resources.

Basically I didn't realize I had to set registers in the OSC and the MCG areas to get the 32k to turn on. Even after giving the docs a thorough read, I still find the clock structure somewhat obtuse.

0 Kudos

380 Views
kerryzhou
NXP TechSupport
NXP TechSupport

Hi Andrew Pikul,

    Thank you very much for the resolution sharing.

    If you use the default the clock for the SLCD source, you really need to enable OSC, because the default is using the OSC32KCLK, you can find it in the KL43 reference manual.

25.jpg

26.jpg

Wish it helps you!

If your don't have any other problem, please help to mark the correct answer to close this question.

Thank you!


Have a great day,
Kerry

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos

380 Views
mjbcswitzerland
Specialist V

Hi

See
http://www.utasker.com/docs/uTasker/uTasker_SLCD.pdf
https://www.youtube.com/watch?v=nm2DmZv1rj8
http://www.utasker.com/kinetis/FRDM-KL43Z.html
http://www.utasker.com/kinetis/TWR-KL43Z48M.html

Attached is the code for configuring and writing digits to the FRDM-KL43Z board (search for FRDM_KL43Z for specific part because it contains also compatible code for various boards and SLCD types).

Regards

Mark
Kinetis for professionals: http://www.utasker.com/kinetis.html

0 Kudos