Skip to main content
wdcai
Associate III
May 20, 2004
Question

upsd33xx spi interface problem

  • May 20, 2004
  • 3 replies
  • 614 views
Posted on May 20, 2004 at 23:06

upsd33xx spi interface problem

This topic has been closed for replies.

3 replies

wdcai
wdcaiAuthor
Associate III
May 17, 2011
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!
wdcai
wdcaiAuthor
Associate III
May 17, 2011
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?

sjo
Associate III
May 17, 2011
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