Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics 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.

U1RXREG with UART not being on?

Status
Not open for further replies.

M3GAPL3X

Junior Member level 3
Joined
Jul 29, 2009
Messages
30
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Activity points
1,521
u1rxreg

Hi guys,

Here is my situation. I am using a dsPIC33FJ64MC802 and it has 2 UART’s. The application I am developing will need access to three UART ports. I will be using two devices on UART1 (not simultaneously) and one on UART2.

My main question is, is the U1RXREG register available when UART is not enabled? M idea is that when the application starts, I will monitor the U1RXREG and see what type of data it has. Depending on what data I receive in that register, I will activate either device A or device B to use UART1.

If U1RXREG is not available with UART not being on, I was thinking I can either turn device A or device B on startup and initialize UART1. When there is data in the U1RXREG, I can jump to an ISR which would check to see which type of data it is. If it is data to turn the other UART device on, I would turn the current device off and turn the other one on and let it do what it needs to.

Any help on this would be great. Just looking for ideas as I am a newbie.
 

uart2

Hi Can u Explain me correctly what u want exactly. So that i can help u.


I am not getting ur statement correctly. I m using the same controller to my project.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top