Invert SSEL function of SPI peripheral

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

Invert SSEL function of SPI peripheral

771 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by emielzij on Tue Nov 25 02:22:29 MST 2014
Hi,

I try to send data to a device that can communicate using the SPI bus.
But the SYNC pin on the device is active low. I configured the spi peripheral on the lpc11c24 and did some measurements.
The SSEL line becomes high and goes low just before the microcontroller sends the data. But for a correct operations this needs to be inverted.

What is a convenient way to invert the SSEL spi function? I couldn't find a configuration option.

Or should I just pull a pin manually each time?
0 项奖励
回复
1 回复

748 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by R2D2 on Tue Nov 25 03:16:57 MST 2014

Quote: emielzij
What is a convenient way to invert the SSEL spi function?



Hardware  :)


Quote: emielzij
I couldn't find a configuration option.



There's no option to switch SSEL active high. If you don't want to add an inverter, just use SSEL pin as GPIO and set it manually. 




0 项奖励
回复