electronics forum

Rules | Recent posts | topic RSS | Search | Register  | Log in

U1RXREG with UART not being on?


Post new topic  Reply to topic    EDAboard.com Forum Index -> Microcontrollers -> U1RXREG with UART not being on?
Author Message
M3GAPL3X



Joined: 29 Jul 2009
Posts: 29


Post22 Aug 2009 20:20   

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.
Back to top
Google
AdSense
Google Adsense




Post22 Aug 2009 20:20   

Ads




Back to top
Prabakaran



Joined: 22 Jan 2007
Posts: 160
Helped: 5
Location: Chennai(India)


Post25 Aug 2009 12:53   

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.
Back to top
Arabic versionBulgarian versionCatalan versionCzech versionDanish versionGerman versionGreek versionEnglish versionSpanish versionFinnish versionFrench versionHindi versionCroatian versionIndonesian versionItalian versionHebrew versionJapanese versionKorean versionLithuanian versionLatvian versionDutch versionNorwegian versionPolish versionPortuguese versionRomanian versionRussian versionSlovak versionSlovenian versionSerbian versionSwedish versionTagalog versionUkrainian versionVietnamese versionChinese version
Post new topic  Reply to topic    EDAboard.com Forum Index -> Microcontrollers -> U1RXREG with UART not being on?
Page 1 of 1 All times are GMT + 1 Hour
Similar topics:
How to Create UART with Software (not used SBUF) on 8051 (7)
STAT_BF not being set in 877 after data income (1)
copy pcb components not being saved Altium designer (1)
random is being read, does not appear in sensititvity list (4)
My NOT always enabled tri-state buffers are being removed! (1)
Need help with a project- voltage at C being too low (6)
help on Serial Communication using software not UART (5)
debuging witht external Uart in K_e_i_l M_on 51 not work (2)
Looking for (UART to SPI / SPI to UART) with PIC (3)
Help!ez430rf2500-seh solar energy tool-can not use UART mode (1)


Abuse || Administrator || Moderators || Support us || sitemap
topic RSS