cancel
Showing results for 
Search instead for 
Did you mean: 

upsd33xx spi interface problem

wdcai
Associate II
Posted on May 20, 2004 at 23:06

upsd33xx spi interface problem

3 REPLIES 3
wdcai
Associate II
Posted on May 17, 2011 at 12:00

Hi,All

There is a host spi controller in upsd33xx series,but only one spi slave chip select signal is provided, how can I connect another spi device? I can use cd4051 cmos swicth to do this, but I want to know whethwer GPIO pins such like P1 port can be used as chip select signals?

Thanks!
sjo
Associate II
Posted on May 17, 2011 at 12:00

just clear SSEL bit to disable the CS line, then you can use GPIO to manually set the CS line of your choice before loading the data.

Regards

sjo
wdcai
Associate II
Posted on May 17, 2011 at 12:00

that is to say those signal spicclk,spirxd,spitxd will run normally in SPI interrupt mode using GPIO as chipselect signals of other spi slave device! is it OK?