Proprietary serial protocol development

EDN Admin

Well-known member
Joined
Aug 7, 2010
Messages
12,794
Location
In the Machine
Hi All,
Ive developed basic serial and parallel port applications in the past using C# however I now need to produce a proprietary 23-bit serial data protocol interface to support an old product.
Unfortunately this means that I cant use the standard SerialPort library as it would send by default start, 8-bits data, parity, stop frames.
Does anyone have any experience of simulating non-standard serial protocols using either the serial port or parallel port? Is there any functionality available within the .NET libraries to allow single bit read/write of a serial port?
My alternatives are to 1) use 2 lines from the parallel port and alternate between read and write cycles. Required baud rate is only 300. Or 2) use external hardware i.e. PIC or FPGA to convert standard serial frames to 23-bit frames.
Any help much appreciated.
Carl.


View the full article
 
Back
Top