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.

switching of board rate in PIC microcontrollers

Status
Not open for further replies.

thunderboympm

Full Member level 5
Joined
Sep 17, 2007
Messages
243
Helped
32
Reputation
64
Reaction score
29
Trophy points
1,308
Location
Malappuram, India
Activity points
2,469
hi,
One of my project i am using PIC microcontroller (PIC18F452). in the particular project i am using two serial communication devices. i am using cd4016 for switching between them. the problem is the two devices are communicating with two different board rate, is there any problems will arise in the communication between the devices and microcontroller, i mean FERR or OERR?
 

Hi,

What you mean is "baud rate".

The CD4016 will not cause any baud rate problem. But your software needs to handle the different baud rates.

You should switch the CD4016 only when the all communications are idle. Else you have to expect FERR and/or OERR.
..but then just dismiss the received data...

Klaus
 
The RX input of the unused communications device should also be pulled to logic high. The is the idle state for the PIC TX line. Leaving it floating or low has caused me problems when switching between different devices. I'm switching on the digital side since I need to route to other uCs as well as RS-232 drivers to external equipment. If you switch on the RS-232 side, it may not make a difference. Just something to keep in mind.
 
Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top