brunofunchas
Full Member level 3
Hello!
I'm trying to communicate with five SN74HC165 IC, by SPI, but the chips to not respond to the PIC18F887!
I have seen the SPI debugger and the microcontroller reads zeros from them. On the oscilloscope I can seen that it first puts low on the SH/LD pin to read the inputs then set it high, then it selects each slave one by one and sends the clock pulses but I can not see any answer.
I'm sampling to fast? Fosc = 8Mhz divided by 4.
Any ideas where the problem is?
Thanks.
I'm trying to communicate with five SN74HC165 IC, by SPI, but the chips to not respond to the PIC18F887!
I have seen the SPI debugger and the microcontroller reads zeros from them. On the oscilloscope I can seen that it first puts low on the SH/LD pin to read the inputs then set it high, then it selects each slave one by one and sends the clock pulses but I can not see any answer.
I'm sampling to fast? Fosc = 8Mhz divided by 4.
Any ideas where the problem is?
Thanks.