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

Bobbyerilar
Thu Mar 28 2024, 08:08 am
pb58
Thu Mar 28 2024, 05:54 am
Clarazkafup
Thu Mar 28 2024, 02:24 am
Walterkic
Thu Mar 28 2024, 01:19 am
Davidusawn
Wed Mar 27 2024, 08:30 pm
Richardsop
Tue Mar 26 2024, 10:33 pm
Stevencog
Tue Mar 26 2024, 04:26 pm
Bernardwarge
Tue Mar 26 2024, 11:15 am