sampling a dataline with different bit lengths

Discussion in 'Embedded Systems and Microcontrollers' started by bignick270, Feb 15, 2011.

  1. bignick270

    Thread Starter Active Member

    Mar 25, 2009
    I am using a RF module where at the transmitter is sending out bytes of data at 108uS per bit.

    On the receiver side, the receiver's output on the data line has 1's that are stretched to ~140uS and the 0's have shrunken to ~90uS.

    What would be the best way to sample this data stream using a microcontroller (not using a UART or other communication module of a uC)?