Hi all,
I am trying to control a serial-to-parallel 74HC595 shift register with my Microchip PIC.
I need to load 8 bits into the shift register, then, clock the externally facing layer of registers so they will pick the value off of the shift register and send it out to the world.
Right now, I am assuming the best way to clock this layer of registers is by connecting that clock to a GPIO latch-controlled PIC pin and clock it manually in my code when I need to. The only problem with that is I need some general control over the duration of this clock pulse.
So.... how fast can a latch pin on a Microchip device (specifically, the dsPIC33FJ128GP802) switch? As fast as the device clock? Or am I totally off and should be doing something different?
Thanks!
I am trying to control a serial-to-parallel 74HC595 shift register with my Microchip PIC.
I need to load 8 bits into the shift register, then, clock the externally facing layer of registers so they will pick the value off of the shift register and send it out to the world.
Right now, I am assuming the best way to clock this layer of registers is by connecting that clock to a GPIO latch-controlled PIC pin and clock it manually in my code when I need to. The only problem with that is I need some general control over the duration of this clock pulse.
So.... how fast can a latch pin on a Microchip device (specifically, the dsPIC33FJ128GP802) switch? As fast as the device clock? Or am I totally off and should be doing something different?
Thanks!