Hi! I have two FPGAs that communicate through only 2 signal lines (clock and data line) and the communication protocol will be based on packets of 16 bits (custom protocol, not I2c). My question is, how can the slave detect the start condition of the packet? What techniques are there to recognize when the packet begins? Thank you.
You can try out a 'rs232-like'way: Keep the line in a high state, and before you send a packet, use a start bit, with value zero. Same goes for end bit.
Thank you very much! I forgot to mention that these are LVDS signals and i'm using Spartan 6LX9, is it possible to detect high state in LVDS? I'm a newbie in FPGAs so my questions may be stupid..
Thank you very much! I forgot to mention that these are LVDS signals and i'm using Spartan 6LX9, is it possible to detect high state in LVDS? I'm a newbie in FPGAs so my questions may be stupid..