Quantcast
Channel: Microcontrollers
Viewing all articles
Browse latest Browse all 4923

How to write data to SPI slave device in MCP23S17 IC?

$
0
0
Hello,
I am working on SPI MCP23S17 16bit I/O expander IC,as a output mode, to turn on LED's. Need to know how to write data to this IC bit by bit,How many byte cycle need to run to glow all the LED ON in PORT A and PORT B. One cycle consist of how many bits. can anyone help regarding this.
and if it is multiple slaves will the address remain same or not,
Please need a help, as I am new in SPI communication.

Viewing all articles
Browse latest Browse all 4923

Trending Articles