Forum Replies Created
Viewing 1 post (of 1 total)
-
AuthorPosts
-
Aniket KulkarniParticipant
Thank you Sir for replying.
I did. And after that tried to run the most basic code to serially transmit the character ‘A’ continuously. To my surprise what i got is a heart and one more character. On keil simulation, it is perfectly transmitting ‘A’. I have checked the serial to USB converter that I am using by shorting its 2 & 3 pin. It transmits each and every character nicely. As far as the burner is concerned, my other simple code such as blinking LED and so on are working fine. I displayed hello world (basic one, just to check LCD) and worked out well. So I am quite puzzled now where the problem is. Changed my MAX232 as well thinking it to be the culprit.By the way, one more question, a strange thing I noticed with another program of getting an ECHO, once a character was received, the SCON value became 0x55(0101 0101) in place of 0x51 (as the RI sets, 0101 0001). Even after clearing RI, the value becomes 0x54 (0101 0100<–cleared RI) thus making all further communication meaning less and it doesn’t understand 8 bit data anymore because of TB8 or RB8 being set. though the problem can be solved by giving SCON 0x50 again and again, but that’s certainly not the solution.please help.PS:- It receives ‘c’, ‘d’ and ‘g’ nicely8-O -
AuthorPosts
Viewing 1 post (of 1 total)