- Tue Nov 26, 2019 5:07 am
#84735
Thanks for the link I have not seen it before. It is good. I tried the shift of the GPIO12 and 13. No result there either.
Now, Comparing the picture at the top and the text you refer to further down there is a mismatch.
The picture refer to GPIO13 as MOSI but he text refer to GPIO12. How come?
I have done some tracing with a oscilloscope ( I am new to it) The signals coming out on
GPIO15: CS it is dropping from high to low every about 2 sec according to loop
GPIO14: CLK , A batches of 8 rise from low to High. I guess each batch represent one lap in the for loop, sending a command.
GPIO13: MOSI, after modifying the script I got response on it.
GPIO12: LOW no action
It seems as if the ESP is doing what it is supposed to do.
I'll post the script as it is now. Wired as in the first attachment
Next step is to get the MCP23S17 working
It is wired as follows
pin 14: MISO not used
pin 13: MOSI signal in as described above.
pin 12: CLK signal as above
pin 11 GND
pin 10 3.3 V
pin 18 RESET 3.3 V
Chip address corresponding to the whats stated in the instruction MCP outputchip(1, 15);
A0 tested with both GND and 3.3 , A1 A2 GND in both cases
Still no result on the output pins of MCP23S17
Anybody got an idea?
You do not have the required permissions to view the files attached to this post.