01-12-2011 10:33 AM
I have a state machine with each state reading one byte from serial port. The bytes read in state 1, 2, 3, 4 combines an unsigned 32-bit number.
How to store the bytes read from different state and combine them together in the end, without having unwired tunnel problem?
Thanks,
01-12-2011 12:09 PM
Shift registers.
But why would you read one byte in each of 4 different states? That's like reading a book a letter at a time. I would read all 4 bytes in a single state.
01-12-2011 01:31 PM
Yes, I decided to read 4 bytes at a time instead. Thanks.