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

Richardedils
Wed Apr 24 2024, 04:07 am
ChrisLub
Tue Apr 23 2024, 05:21 pm
Davidbab
Tue Apr 23 2024, 10:41 am
Richardrit
Tue Apr 23 2024, 09:54 am
HenryLaf
Mon Apr 22 2024, 03:50 pm
bleradrar
Mon Apr 22 2024, 06:38 am
ppu-pro_ka
Sun Apr 21 2024, 07:39 pm
Infewow
Sun Apr 21 2024, 06:30 pm