KL43 SPI (using Arduino Pins) example

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

KL43 SPI (using Arduino Pins) example

Jump to solution
661 Views
jschimpf
Contributor I

I noticed that the FRDMKL43 board shares the SCK SPI pin with the LCD.  Do you have to disable the LCD to use SPI ? Is there an SPI example ?

Thank you for the help.

Labels (1)
0 Kudos
1 Solution
443 Views
kerryzhou
NXP TechSupport
NXP TechSupport

Hi Jim Schimpf,

      Do you just want to use the SCK SPI pin which already used as the LCD pin in the FRDM-KL43?

    Actually, there still have other SCK SPI pin, eg PTC3 alt2, not only PTD5, so you don't need to disable the LCD pin when you use the SPI.

    If you want the SPI example, we have KSDK for FRDM-KL43, please download ksdk1.2.0 from this link;

    www.freescale.com/ksdk

    After you install the ksdk in default, you can find the SPI code from this path:C:\Freescale\KSDK_1.2.0\examples\frdmkl43z\driver_examples\spi\spi_blocking

  Wish it helps you!

If you still have question, please contact with me!

  


Have a great day,

Jingjing

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

View solution in original post

0 Kudos
2 Replies
444 Views
kerryzhou
NXP TechSupport
NXP TechSupport

Hi Jim Schimpf,

      Do you just want to use the SCK SPI pin which already used as the LCD pin in the FRDM-KL43?

    Actually, there still have other SCK SPI pin, eg PTC3 alt2, not only PTD5, so you don't need to disable the LCD pin when you use the SPI.

    If you want the SPI example, we have KSDK for FRDM-KL43, please download ksdk1.2.0 from this link;

    www.freescale.com/ksdk

    After you install the ksdk in default, you can find the SPI code from this path:C:\Freescale\KSDK_1.2.0\examples\frdmkl43z\driver_examples\spi\spi_blocking

  Wish it helps you!

If you still have question, please contact with me!

  


Have a great day,

Jingjing

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

0 Kudos
443 Views
mjbcswitzerland
Specialist V

Jim

The SLCD share its pins with various functions - using the SPI CLK line as alternative doesn't require the SLCD to be disabled, although if it is otherwise in use a segment/or plane can be distorted if the drive line is used for something else.

See the following for SPI operation with an SPI based low power RF module and your board:

µTasker FRDM-KL43Z support

It also includes SPI based SD card operation and SPI based Ethernet controller for the KL43.

Regards

Mark

Kinetis: µTasker Kinetis support

KL43: µTasker FRDM-KL43Z support  / µTasker TWR-KL43Z48M support

For the complete "out-of-the-box" Kinetis experience and faster time to market

0 Kudos