What data clock frequency is? Can standard UART be used?
I mentioned UART RX only as an example,
from which I could derive my own design and because
an UART TX is described in an app note.
So, no standard UART is not usable.
The protocol delivers an data bit stream and a clock.
The UDB cicuit has the task to decode this stream.
The data is sent in packets, starting with a preamble of minimum
of 10 1's followed by data bytes, starting with a single 0.
The packet ist finished with a 1 after the last data byte.
Until now, I have two count7 to count preamble and data bits
and a state machine for control. Now the data bits have to be stuffed
in some sort of shift register, which firmware can read out bytewise.
I thought this could be done with the datapath shift.
Because I didn't use the datapath before, an example would be helpful.
If communication speed is <=115kBd, it would be much easier to receive and sort out the input stream by using regular UART Rx +CPU. If you decide to go with UDB, I suggest to take a look on SPI component as an example.