UART Write and Read at a time

Please check the frequently asked questions before posting to the forum.
Post Reply
Author
Message
jkjoy
Posts: 29
Joined: 23 May 2012 05:19

UART Write and Read at a time

#1 Post by jkjoy » 07 Jul 2014 08:58

Hello,

Can somebody help me to know whether it is possible to write and read UART data at a time.
My intention is to assure I am receiving the exact data I sent, this for for some kind of Collision detection.
Please advise

Thanks

User avatar
marina.petrovic
Posts: 2986
Joined: 18 Apr 2013 08:11

Re: UART Write and Read at a time

#2 Post by marina.petrovic » 07 Jul 2014 13:06

Hi,

You can try to use UART interrupt.
For additional information you should take a look at datasheet of the microcontroller that you use.

Best regards,
Marina

jkjoy
Posts: 29
Joined: 23 May 2012 05:19

Re: UART Write and Read at a time

#3 Post by jkjoy » 07 Jul 2014 13:26

Thanks.
I simulated it with UART interrupt and it works as expected.

Thanks again

Post Reply

Return to “mikroPascal FAQ”