In general the data stream on a good signal level is very clean. But when there is no RF signal, the radio module will produce a lot of noise that is converted to random pulses through the data slicer. This creates a lot of bad data and false triggers on a non rolling code systems if digital filtering is not applied. With the keeloq encryption it is safe to assume that such triggers will not happen. The probability to have 66 bits in a correct timing and also in the correct sequence, not mentioning the other safety measures of keeloq like counter etc, is really low if not zero.
When you referred to 5 sampling points I was thinking of timers etc to maintain a fixed sampling point in time...
Your code showed the application of KISS in a fine way!
Thank you for your great ideas,
Ioannis
Bookmarks