Lpc54018 SPI Config

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

Lpc54018 SPI Config

762 Views
Sukumar_M
Contributor I

Hi,

I Working on LPC54018-EVK . i should config spi on this Board. The first pulse of clock 

Width should be high(On+Off =width of first pulse).And The Spi Ssel0 How can be enable.

0 Kudos
Reply
4 Replies

712 Views
Sukumar_M
Contributor I

Thanks for Support to me.

0 Kudos
Reply

742 Views
Sukumar_M
Contributor I

Thanks, I configured but 0xff and 0x7f data's Should be send but this times always data High .

0 Kudos
Reply

740 Views
ZhangJennie
NXP TechSupport
NXP TechSupport

How did you configure the code?

Besides, how does it work if you use this solution ?

https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-SPI%E9%80%9A%E4%BF%A1/m-p/1417923#M47974

 

0 Kudos
Reply

754 Views
ZhangJennie
NXP TechSupport
NXP TechSupport

Hi

In order to enable ssel0, we need:

1. config ssel0 pin in pin config tool. for example (this screenshot is from LPC55s69, but same for your device)

ZhangJennie_0-1648018004537.png

after generate code, new pin_mux.c will  include ssel0 pin initialization code

step 2. set TXSSEL0_N FIFO write data register to select ssel0 spi device.

ZhangJennie_1-1648019337060.png

 

Hope this will help you 

Jun Zhang

 

0 Kudos
Reply