Software serial communication Port for 8051
Sun Mar 09 2008, 10:27 am
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, 12:05 pm
Sun Mar 09 2008, 01:56 pm
Thank you, Sir.
I want to send data to PC through this software port.
Is it necesary to connect MAX 232 for it?.
I want to send data to PC through this software port.
Is it necesary to connect MAX 232 for it?.
Sun Mar 09 2008, 05:25 pm
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
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
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
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
?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
?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, 11:15 pm
you can remove them.. but some changes has to be made in the code.
First tell me are you using C or assembly?
First tell me are you using C or assembly?
Powered by e107 Forum System