I have two microcontrollers one of which is an arduino mini. I need to output 8 digital pins from one from one to the other. I need this "data" to be fast and reliable so I am shying away from serial (I2c, ISP etc). I am wondering though about a shift register, I think these would still be fast enough but I wondered if this makes sense:
Microcontroller A shifts out 8 bits to shift register A, then microcontroller B uses shift register B to shift in the bits. Shift register A and B are connected in parallel through their shift bits.
So basically I will have of two registers directly connected so I can shift bits in with one side and shift bits out with the other. Saving a lot of pins but maintaining speed at the same time.
Is this necessary or can I just use 1 register where once micro controller can shift in and the other can shift out on the same register?
I am going to be using ISP anyways for another controller that is attached to all of this, but this specific connection I want to be rock solid. I may just end up using a bus but am curious if registers are used this way?
Thoughts? Thanks in advance!