This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Implementing HDLC using PRU on AM3359 - is it possible and how?

Other Parts Discussed in Thread: PROFIBUS

We want to use ICE as a general purpose industrial communications gateway.
One legacy protocol support requirement needs HDLC - just physical layer handling - the rest we can handle in software
It is a synchronous protocol running (in our case) at either 48000bps or 180000bps
The data stream uses NRZI encoding and receiver derives its clock from the data which uses bit stuffing to ensure that even when the remote transmitter is idle there is a changing bit pattern.
As the PRU works for PROFIBUS which uses NRZI encoding (but is Asych 11bit character) at speeds of upto 12Mbits our requirement of 180Kbits seems modest but the Synchonous and bit stuffing might be a challenge?

We currently have a solution that uses a USB-HDLC module (using an FPGA) and the host is Windows and .NET C# but our final form factor needs to shrink into an embedded form factor.

Any comments or suggestions?