Author Topic: Non addressable SPI devices with Addressable SPI devices. (AD5290, MC23s17)  (Read 3050 times)

0 Members and 1 Guest are viewing this topic.

Offline iampoorTopic starter

  • Frequent Contributor
  • **
  • Posts: 500
  • Country: us
Hi

I am building a little demo board with a few shift registers, an MC23s17, and a couple Analog Devices AD5290 to learn about digital signal interfacing, and all that jazz.  O0

Since the MCP device has settable "address" pins, and the ad5290 just shifts in data, would this be an appropriate hookup method? Im using a Pic micro controller. And yes I am aware of the tiny errors like the upground pins.  8) It was the only screenshot I have right now.

Also, would it be possible to enable independant addressing using the cs line tied to a micro controller pin?

Im just trying to not make this a software nightmare.
 

Offline AndreasF

  • Frequent Contributor
  • **
  • Posts: 251
  • Country: gb
    • mind-dump.net
The address pins on the MCP are only relevant for I2C communication. In SPI addressing of individual slave devices is done via their CS pins.
my random ramblings mind-dump.net
 

Offline jancumps

  • Supporter
  • ****
  • Posts: 1273
  • Country: be
  • New Low
The TI TMS570 family supports addressable SPI. They call it 'encoded chip select' where you can combine CS pins to form an address - the slave listens for a particular CS combination to react. Is that outside the SPI standard?
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf