Full Duplex Code

Tips, Tricks and methods for programming, learn ways of making your programming life easier, and share your knowledge with others.

Moderators: Benj, Mods

Post Reply
Docara
Posts: 315
Joined: Sun Jun 23, 2013 1:29 pm
Has thanked: 28 times
Been thanked: 61 times
Contact:

Full Duplex Code

Post by Docara »

Hi

Does anyone have examples of Full Duplex code utilising the PIC/AVR Serial ports they could post ? Alternatively, a full explanation of the concept (ultimate goal RS485)


Thanks.

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: Full Duplex Code

Post by Benj »

Hello,

I beleive the UART component currently offers full duplex communications. You can then use say a RS232 line driver to allow this signal to travel over distance.

https://www.matrixtsl.com/wiki/index.ph ... ccfa4c5efc

RS485 I beleive only supports half duplex as you can only ever transmit or receive at any given time.

Post Reply