Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronic Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Register Log in

[PIC] UART- Taking input from Keyboard (Hyperterminal ) and Echoing the same String/Char...

Status
Not open for further replies.

rameshkrishnan

Newbie level 3
Joined
May 14, 2015
Messages
4
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
24
Hi Guys,



I am using dsPIC30F5011 Micocontroller. I am working on UART Peripheral. I am done pretty good with UART Reception on hyperterminal. Now i want to work on UART transmitting,

I have to enter a string in hyperterminal and print the same as echo on hyperterminal

If somebody has the code, Help me...........
 

xenos

Full Member level 4
Joined
May 9, 2015
Messages
212
Helped
82
Reputation
164
Reaction score
81
Trophy points
28
Location
127.0.0.1
Activity points
1,182
Are you sure you understand the uart reception? You talk from the side of mC or the PC side?

You should check if uart RC flag is set and then read the RCREG and write back to TXREG (so it will be transmitted back to PC as an echo).

Post your code here so we can see what code you should add and be compatible with your current program.
 
Last edited:

milan.rajik

Banned
Joined
Apr 1, 2013
Messages
2,528
Helped
540
Reputation
1,078
Reaction score
523
Trophy points
1,393
Activity points
0
Here is a UART echoing project written using mikroC PRO dsPIC Compiler. Hope this works for you.
 

Attachments


Status
Not open for further replies.
Toggle Sidebar

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top