3 Replies Latest reply on May 21, 2019 4:18 PM by BoTa_264741

    UDB datapath serial in, parallel ( to CPU ) out example

    rojac_1564316

      Hello,

       

      I'm on the way of builing a UDB component to extract data bytes from a bit stream in DCC format. Here an example:

       

      DCCprotocoll.png

      Until now, I am using two count7 for counting lenght of preamble and byte bits

      and a state machine to control everything.

       

      Now I need a serial in shift register to shift in eight bits and to read out by CPU.

      A great help would be an example, maybe something like a U(S)ART RX.

       

      Regards