Discussion in "8051 Discussion Forum" started by    say2paul    Aug 18, 2008.
Wed Aug 20 2008, 01:16 am
#11

Hey Arun...could you plz elaborate a bit on your method.It's interesting.




Hi SJ,

i hope you would have used the "9th bit mode" in serial port programming of 8051!



Arun
 say2paul like this.
Wed Aug 20 2008, 10:07 am
#12
C.C.

Actually I was confused when you said I need to connect multiple devices at the same time to a single RX/TX port of 8051 microcontroller.

But now I think I got (a bit) what you want to say.. I am assuming it as following:

1. 8051 RX/TX is connected to GSM Modem.
2. Same 8051 RX/TX is connected to RFID (MIFARE) Card reader.
3. I need to use interrupt signal to activate the required device. Eg: If I need to communicate with GSM modem, I will send interrupt signal to GSM modem and similarly if I need to communicated with RFID reader, I will send interrupt signal to the RFID reader.

I don't know how will I send these interrupt signal. I think I need to interrupt DSR DTR RTS...

Can you please explain bit more!
Wed Aug 20 2008, 04:01 pm
#13

Hi Paul,

there is some server problem with my net connection (BSNL Broadband) since morning i am trying to log in but it fails. now i am at internet cafe, so my advice for time being would be to use Software UART for your needs and not to bother about the thing which i suggested.

right now i have limited access to net, so i''ll explain some other time.



Arun
 say2paul like this.
Wed Aug 20 2008, 04:58 pm
#14
No probs Arun..

Cheers!
Thu Aug 21 2008, 01:34 am
#15

i hope you would have used the "9th bit mode" in serial port programming of 8051!



But that would work only in a multidrop system with multiple micros as slaves,wouldn't it?
Or am I missing sth?
Thu Aug 21 2008, 02:34 am
#16
multi processor mode is there in 8051, see SM2 bit in SCON.
Thu Aug 21 2008, 10:09 am
#17
Yeah Ajay,I know about it...but it would work only with multiple micros.The OP wants to connect multiple slaves which are not microcontrollers.
Fri Aug 22 2008, 01:41 am
#18
yeah.. i know, there is one more protocol used for multi slave connections on rs232, its SB-bus (custom made protocol for 125 addressable slaves on single rs232)

more information read this:
http://sbprojects.com/sbbus/sbbus.htm

Hope is helpful or maybe new to you
Fri Aug 22 2008, 09:27 am
#19
Nice link Ajay,thanks.
Wed May 20 2009, 12:13 am
#20
Thanks.The above procedure for software UART is working properly.
But i need some help . below->

1. First i want check the received character with a reference character, if that is matched with reference character then the characters will received otherwise it will not receive.

What should be done?

Get Social

Information

Powered by e107 Forum System

Downloads

Comments

JamesroW
Mon May 06 2024, 09:37 am
Chrispes
Mon May 06 2024, 07:34 am
ArktiTic
Sun May 05 2024, 07:06 pm
CesslasyNear
Sun May 05 2024, 02:58 pm
chimichmedic1204
Sun May 05 2024, 11:06 am
Jamiegob
Sun May 05 2024, 10:11 am
Gregoryjed
Sun May 05 2024, 10:02 am
Mariocax
Sun May 05 2024, 08:51 am