SPI I/O expander MCP23S17 Microchip?

Petr Tomasek tomasek na etf.cuni.cz
Středa Duben 21 20:43:12 CEST 2010


On Wed, Apr 21, 2010 at 06:12:59PM +0000, Dolnsky Pavel wrote:
> Netusite proc je tento IC vybaven vstupy A0,A1,A2 i u SPI verze? Nejak mi unika smysl, kdyz u SPI tak jako tak musim vybrat IC s kterym komunikuji pomoci signalu CS.
> Nebo lze pripojit 8ks techto IC na jeden CS a ovladat tak primo 128 I/O?

RTFDS
http://ww1.microchip.com/downloads/en/DeviceDoc/21952b.pdf
strana 8

  »The MCP23S17 is a slave SPI device. The slave
address contains four fixed bits and three user-defined
hardware address bits (if enabled via IOCON.HAEN)
(pins A2, A1 and A0) with the read/write bit filling out
the control byte.«

> Nevite o ukazkovem kodu pro rizeni techto IC, idealne v C.

Opravdu nestaci si precist Datashit?

> Dekuji
> Pavel



-- 
Petr Tomasek <http://www.etf.cuni.cz/~tomasek>
Jabber: butrus at jabbim.cz
SIP: butrus at ekiga.net


More information about the Hw-list mailing list