Invert SSEL function of SPI peripheral

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

Invert SSEL function of SPI peripheral

739 Views
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 Kudos
Reply
1 Reply

716 Views
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 Kudos
Reply