Lpc54018 SPI Config

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

Lpc54018 SPI Config

1,525 次查看
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 项奖励
回复
4 回复数

1,475 次查看
Sukumar_M
Contributor I

Thanks for Support to me.

0 项奖励
回复

1,505 次查看
Sukumar_M
Contributor I

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

0 项奖励
回复

1,503 次查看
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 项奖励
回复

1,517 次查看
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 项奖励
回复