Hi .
I am doing a Project in 8052 McU.i need to have two serial port so i thought of writing soft UART with any two GPIO..i selected P3.2,P3.3 of 8052..can anyone help me...i got some rough idea about the Software..but for a fully complted one i need ur help..can any one have sample code..am confused with serial data controlling i mean how to mimic the functionalit of SCON regster..i dnt even knw wheter it s required or not..pls help someone..
If your dead line is to morrow then may be you should consi der stop bits.
And another thing - are you sure your code uses the same bit order as the other side for your data bits?
i need result rather than time.i have provided stop bits there...then one more thing is hyper terminal has a specific code to accept data.i mean whether LSB or MSB which should go out first.is my logic correct which i implemented here..any comments..since no one here to guide me as well
Why you ask? Did you read the link I posted?
You really have stop bits? And how many bit times do you hold your stop bits? And what is your delay after the while loop, but before your "stop bit" line?