<?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:50:01-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-t9408.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t9408.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t9408.html" />
				</rdf:Seq>
				</items>
				</channel>
						<item rdf:about="http://www.8051projects.net/forum-t9408.html">
						<title>AT90S8515 UART</title>
						<link>http://www.8051projects.net/forum-t9408.html</link>
						<dc:date>2009-01-08T11:50:01-08:00</dc:date>
						<dc:creator></dc:creator>
						<dc:subject></dc:subject>
						<description>HI ALL,  I work with MCU 1 st time and i have a problem in programming UART transmisionThat my programe is to send 0xff and ON indication LED then OFF the LED for 1 secbut i found that the LED ON forever  ,pls check my programme.i use at90s8515 with 8mhz crystaland that my programme.........CODE:LDI R18,0X80 &nbsp; ;STACK POINTER<br />OUT $3D,R18<br /><br />SBI $11,4 &nbsp; &nbsp; &nbsp;;O/P LED INDECATION<br /><br />LDI R16,51 &nbsp; &nbsp; ;9600 BOUD RATE @8MHZ<br />OUT $09,R16<br /><br />NEXT:<br />SBI $12,4 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ;LED ON<br />LDI R31,HIGH&#40;2*ASD&#41;<br />LDI R30,LOW&#40;2*ASD&#41;<br />RCALL STRANSMIT<br />RCALL DELAY1<br />CBI $12,4 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ;LED OFF<br />RCALL DELAY1<br />RJMP NEXT<br /><br />DELAY1: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ;ONE SEC DELAY<br />ldi r20, 20<br />ldi r21, 255<br />ldi r22, 255<br />DELAY:<br />dec r22<br />brne DELAY<br />dec r21<br />brne DELAY<br />dec r20<br />brne DELAY<br />ret<br /><br />STRANSMIT:<br />SBI $0A,3 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ;TXEN &nbsp;UCR(3)=1<br />AGAIN1:<br />LPM R20,Z<br />CPI R20,0 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;;COMBAR WITH LAST ZERO<br />BREQ QUIT<br />OUT $0C,R20 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;;DATA IN UDR<br />W:<br />SBIS $0B,5 &nbsp; &nbsp;; ?<br />RJMP W<br />ADIW R31:R30,1<br />RJMP AGAIN1<br />QUIT:<br />CBI $0A,3<br />RET<br /><br /><br />ASD: .DB 0XFF<br />&nbsp; &nbsp; &nbsp;.DB 0<br />&nbsp;</description>
						</item>
						<item rdf:about="http://www.8051projects.net/forum-t9408.html">
						<title>Re: AT90S8515 UART</title>
						<link>http://www.8051projects.net/forum-t9408.html</link>
						<dc:date>2009-01-08T11:50:01-08:00</dc:date>
						<dc:creator>Ajay</dc:creator>
						<dc:subject></dc:subject>
						<description>I think you cannot use this instructionLPM R20,Zcoz you are using 8515 so only LPM is allowed without operands.</description>
						</item>
						<item rdf:about="http://www.8051projects.net/forum-t9408.html">
						<title>Re: AT90S8515 UART</title>
						<link>http://www.8051projects.net/forum-t9408.html</link>
						<dc:date>2009-01-08T11:50:01-08:00</dc:date>
						<dc:creator>ENG&#092; AHMED</dc:creator>
						<dc:subject></dc:subject>
						<description>great thx ........... AJAY</description>
						</item>
				</rdf:RDF>