pic18f2523 interfacing with mcp23s17 through spi

Submitted by priya on Fri, 10/29/2021 - 14:42


i wnat to make spi interface between pic18f2523 and mcp23s17,means i want to write data to mcp23s17 so that led connected on porta and portb blinks.please help me in coding

PIC18F2523 already having SPI and maybe code configurator to get readymade SPI code. Kindly use that. There are different libraries are available that you can also use to send the data to MCP23S17. What library are you using? Did you write the code? Kindly share.

  Joined February 12, 2018      696
Monday at 02:11 PM