Discussion in "New Ideas regarding projects" started by    Draj    Mar 9, 2008.
Sun Mar 09 2008, 10:27 am
#1

hello Sir,

Please, give me tutorials or article regarding Software serial communicaton Port For 8051
I want to use two serial communication port for 8051in my project.
I need one Software port ,so that I can use any two pin of microcontroller as Tx/Rx....
Please help me...

Thankx
Sun Mar 09 2008, 01:56 pm
#3
Thank you, Sir.

I want to send data to PC through this software port.
Is it necesary to connect MAX 232 for it?.
Sun Mar 09 2008, 03:15 pm
#4
of course you need max232
Sun Mar 09 2008, 05:25 pm
#5
Thank u !!!!!abbas1707
Plz give explanation of following command.I am writing code in Assembly lang.in Keil
software...

1.?SU?PUTC SEGMENT CODE
?SU?GETC SEGMENT CODE
2.RSEG ?SU?PUTC
3.RSEG ?SU?GETC

Sun Mar 09 2008, 08:42 pm
#6
Sir.
above statement are from this tutorial
http://www.8051projects.net/serial-communication/software-uart-8051.php
Plz explain this
?SU?PUTC SEGMENT CODE
?SU?GETC SEGMENT CODE
RSEG ?SU?PUTC
RSEG ?SU?GETC
Sun Mar 09 2008, 10:36 pm
#7
?SU?PUTC SEGMENT CODE
?SU?GETC SEGMENT CODE

the above tells assembler to allocate code space for code segment named "?SU?PUTC" and "?SU?GETC"

RSEG ?SU?PUTC
RSEG ?SU?GETC

the above tells assembler that ?SU?PUTC or ?SU?GETC code segments are going to start now.

RSEG and SEGMENT are assembler directives. You can use these routines along with your C programs also. They are designed to work with both C and assembly. Usage is explained in tutorial
Sun Mar 09 2008, 10:51 pm
#8
Can I use putc & getc subrouting without using these segment command?
Sun Mar 09 2008, 11:15 pm
#9
you can remove them.. but some changes has to be made in the code.
First tell me are you using C or assembly?
Mon Mar 10 2008, 01:25 am
#10
Sir I am using Assembly lang..in keil software.....

Get Social

Information

Powered by e107 Forum System

Downloads

Comments

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
WilliamErync
Sun May 05 2024, 02:35 am