Invert SSEL function of SPI peripheral

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Invert SSEL function of SPI peripheral

741件の閲覧回数
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 返信

718件の閲覧回数
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 件の賞賛
返信