KL43 SPI (using Arduino Pins) example

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

KL43 SPI (using Arduino Pins) example

跳至解决方案
864 次查看
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.

标签 (1)
0 项奖励
回复
1 解答
646 次查看
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 项奖励
回复
2 回复数
647 次查看
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 项奖励
回复
646 次查看
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 项奖励
回复