SSP slave select issue

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

SSP slave select issue

895 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Rahul mankumbare on Fri Feb 19 04:17:33 MST 2016
Hi,

I am using LPC1768 SSP in SPI mode & using it in Master mode.

My slave device is Current sensor.

I am using SSP1.

When I configure P0.6 as SSEL pin in SSP1, I am able to communicate with current sensor & read current data.


When I configure P0.6 as a GPIO & make it LOW Current sensor does not respond.

I am not getting what happens when I make P0.6 as SSEL in SSP1.


I want to use 4 current sensors. So there are 3 more SSEL pins are used which are GPIO.
Now How should I communicate with all sensors using GPIO as slave select.


In my project SPI is busy in communication with other MCU's. So I have to use SSP only.


Please suggest something.







Labels (1)
0 Kudos
Reply
4 Replies

822 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Rahul mankumbare on Wed Feb 24 03:56:24 MST 2016

I checked pin behaviour on DSO & followed same in program.

CS Low
data transfer  single byte
CS high
0 Kudos
Reply

822 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by serge on Tue Feb 23 05:16:25 MST 2016
What was the answer? It may be helpfull for others on this forum
0 Kudos
Reply

822 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Rahul mankumbare on Tue Feb 23 04:58:21 MST 2016
Thanks for your reply.

I have got the answer before your reply.


;-)  8-)  8-)
0 Kudos
Reply

822 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by serge on Tue Feb 23 02:55:17 MST 2016
Watch the behaviour of GPIO0_6 on an osciloscope so you will see what actualy happens.
0 Kudos
Reply