<?xml version="1.0" encoding="utf-8" ?>
				<!-- generator="e107" -->
				<!-- content type="Forum / topic" -->
				<rdf:RDF xmlns="http://purl.org/rss/1.0/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/" xmlns:content="http://purl.org/rss/1.0/modules/content/">
				<channel rdf:about="http://www.8051projects.net/">
				<title>8051 Microcontroller Projects AVR PIC Projects Tutorials Ebooks Libraries codes : Forum / topic</title>
				<link>http://www.8051projects.net/</link>
				<description>Learn to make simple microcontroller projects, pic, 8051, avr and arm projects. download 8051 projects, tutorials, libraries, sample codes. join the microcontroller discussion forum and ask doubts regarding electronics. the best source for 8051 over internet.</description>
				<dc:language>en-gb</dc:language>
				<dc:date>2009-01-08T11:44:24-08:00</dc:date>
				<dc:creator>contact@nospam.com</dc:creator>
				<admin:generatorAgent rdf:resource="http://e107.org" />
				<admin:errorReportsTo rdf:resource="mailto:contact@nospam.com" />
				<sy:updatePeriod>hourly</sy:updatePeriod>
				<sy:updateFrequency>1</sy:updateFrequency>
				<sy:updateBase>2000-01-01T12:00+00:00</sy:updateBase>
				<items>
				<rdf:Seq>
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t9457.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t9457.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t9457.html" />
				</rdf:Seq>
				</items>
				</channel>
						<item rdf:about="http://www.8051projects.net/forum-t9457.html">
						<title>8051 serial communication</title>
						<link>http://www.8051projects.net/forum-t9457.html</link>
						<dc:date>2009-01-08T11:44:24-08:00</dc:date>
						<dc:creator></dc:creator>
						<dc:subject></dc:subject>
						<description>CODE:here is my sample code for serial communication<br />org 00h<br />sjmp 30h<br /><br />org 30h<br />start:<br />mov tmod,#20h<br />mov th1,#0fdh<br />mov scon,#50h<br />setb tr1<br />ag:<br />jnb ri,$<br />mov a,sbuf<br />clr ri<br />inc a<br />mov sbuf,a<br />jnb ti,$<br />clr ti<br />sjmp ag<br />endbaud rate is 9600 1stop bit and no parity this works fine i.e when i send a  1 to the microcontroller from the pc microcontroller  increments and sends me a 2.i checked this in advanced serial port monitor.http://www.aggsoft.com/serial-port-monitor.htmwhen i replace inc a with mov a,#07 then it shows no transmission from microcontroller side.what could be the problemis there any other gud software for checking my serial data???help me urgently??</description>
						</item>
						<item rdf:about="http://www.8051projects.net/forum-t9457.html">
						<title>Re: 8051 serial communication</title>
						<link>http://www.8051projects.net/forum-t9457.html</link>
						<dc:date>2009-01-08T11:44:24-08:00</dc:date>
						<dc:creator>pdi33</dc:creator>
						<dc:subject></dc:subject>
						<description>hi ashish, the problem with ur code is about the way the PC communicates in. Well, it does not communicate in hex or decimal. in fact it can only recognize ASCII codes. So in the first case when u send say 1 to the microcontroller, the value that ur accumulator is actually receiving is 31h (ascii for '1'). this is then incremented i.e. it takes the value 32h and sends back to PC which recognises it as character '2'. But in the second case( where u found a problem), u r sending a fixed value 07h which is recognised as a special command (audible bell in this case) so u are not seeing any characters on the PC. try sending say 37h and u will get character '7' on the screen.  u can also send/receive bytes on the hyper terminal for checking ur serial hardware communication. just take care that the settings on baud rate etc. match ur microcontroller settings.</description>
						</item>
						<item rdf:about="http://www.8051projects.net/forum-t9457.html">
						<title>Re: 8051 serial communication</title>
						<link>http://www.8051projects.net/forum-t9457.html</link>
						<dc:date>2009-01-08T11:44:24-08:00</dc:date>
						<dc:creator>ashishdaga</dc:creator>
						<dc:subject></dc:subject>
						<description>thanks a lot for replying will chk that soon</description>
						</item>
				</rdf:RDF>