Re: PIC16F877 interfacing with MM74HC595 for LED application
a) are the above signals(just interfacing) enough(optimized) for the subjected application except VDD and GND.
- You need to drive RCLK (Register clock) pin as well to transfer content of shift register to output latch. You need rising edge to do that.
b) Is there any requirement for RCK clock pin??
-look under a
c) how should i connect /SCLR pin?
This is shift register clear function, not needed in most cases, just tie to +5V.
If you use MCU SPI, you don't have to use "bit banging" to drive shift register, SPI's hardware can do that for you. You just place byte in Tx register and let it rip. Although if you are having difficulties understanding '595 data sheet, using any off-beat paths in design might out of your scope.