Page 1 of 1
MCP23S17 SPI MCP23017 I²C
Posted: Sat Jan 03, 2015 5:03 am
by Rudi
Happy New Year!
would be fine for a directly support with icon's
txs
best wishes
rudi

Re: MCP23S17 SPI MCP23017 I²C
Posted: Mon Jan 05, 2015 12:52 pm
by Rudi
hi
after you add SPI_MASTER Icon
be sure, that you change setup follow:
( Standard )
Clock Phase = Leading Edge
change it to
Clock Phase = Trailing Edge
now it run like a charme for me
solved and done.
will update user components with MCP23S17 ICON / flowchart for test and play
Best wishes
rudi

Re: MCP23S17 SPI MCP23017 I²C
Posted: Mon Jan 05, 2015 2:04 pm
by Rudi
MCP23S17 SPI
~~~~~~~~~~~
base is attached -
for your mcu change in projekt your mcu
controll spi pins
you can play, change with it - have fun
best wishes
rudi
EDIT:
one little mistake
the
IOCON.HAEN must be 0x08
i have wrote in code 0x04
will update next time here