I'm attempting to learn a bit about serial communication and I'm just running examples and ideas in a simulator. I was wondering...
If I am feeding 8 bits into a shift register, and I have a shift register that doesn't latch, what would someone recommend to latch the output as it shifts the last bit in..and before it begins to shift the bits out?
My guess.. is to use a counter to count out every 8 bits and send a signal to 2 set-reset latches (each chip having 4 latches available) as the first bit shifts into the 8th position.
Is there a better chip to accomplish this? (Other than the 74HC595. MultiSim doesn't have that chip in the database).
I do a bit of programming and my overall intention is to eventually feed a serial command that will latch outputs to transistors to turn on relays.. pretty common I would imagine. While I know I could learn PIC's (I've played with basic stamps), I want to learn the long way around so that when I start tackling PIC's, I'll have more of a foundation on exactly what is going on.
Also, after looking over the datasheet, I think UARTS are a bit out of my grasp still. I really just want to use a basic set of IC's to get the job done so that I can read the datasheets, look at the logic diagram, and realize exactly how the serial to parallel translation is taking place. I'm not attempting serial communication yet, just simulations.
If anyone has some ideas, I would appreciate it.
If I am feeding 8 bits into a shift register, and I have a shift register that doesn't latch, what would someone recommend to latch the output as it shifts the last bit in..and before it begins to shift the bits out?
My guess.. is to use a counter to count out every 8 bits and send a signal to 2 set-reset latches (each chip having 4 latches available) as the first bit shifts into the 8th position.
Is there a better chip to accomplish this? (Other than the 74HC595. MultiSim doesn't have that chip in the database).
I do a bit of programming and my overall intention is to eventually feed a serial command that will latch outputs to transistors to turn on relays.. pretty common I would imagine. While I know I could learn PIC's (I've played with basic stamps), I want to learn the long way around so that when I start tackling PIC's, I'll have more of a foundation on exactly what is going on.
Also, after looking over the datasheet, I think UARTS are a bit out of my grasp still. I really just want to use a basic set of IC's to get the job done so that I can read the datasheets, look at the logic diagram, and realize exactly how the serial to parallel translation is taking place. I'm not attempting serial communication yet, just simulations.
If anyone has some ideas, I would appreciate it.