<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-7959422847583609906</id><updated>2012-02-16T18:25:26.544-08:00</updated><category term='AVR'/><category term='802.15.4'/><category term='Low Power Listening'/><category term='Ubuntu'/><category term='MAC'/><category term='Dataflash'/><title type='text'>AN ENGINEERING ENIGMA</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://technomission4u.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7959422847583609906/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://technomission4u.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>KSHATRIYA...... A  WARRIOR</name><uri>http://www.blogger.com/profile/08027566963329958732</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>14</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-7959422847583609906.post-747340941014526066</id><published>2011-10-31T09:45:00.000-07:00</published><updated>2011-11-08T23:53:53.219-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='MAC'/><category scheme='http://www.blogger.com/atom/ns#' term='Low Power Listening'/><category scheme='http://www.blogger.com/atom/ns#' term='802.15.4'/><title type='text'>Low Power listening MAC protocol's</title><content type='html'>&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;div style="text-align: center;"&gt;&lt;span style="font-weight: bold;"&gt;MAC protocols study and implementing it on ATMEL MAC&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: left;"&gt;&lt;br /&gt;I had been allocated a topic of Low Power listening in WSN. LPL is a special charactristic of BMAC, a MAC protocol targeted on WSN monitoring systems. I studied various aspects of BMAC and LPL from the following paper.&lt;br /&gt;"Versatile Low Power Media Access for Wireless Sensor Networks"&lt;br /&gt;It is found that LPL can be done on 802.15.4 transceivers as the implementation of LPL allowed the preamble to be variable depending on "channel listening time" of node.&lt;br /&gt;But in 802.15.4 the preamble is fixed so cannot account for LPL. So a novel method of&lt;br /&gt;VPCC (Virtual Preamble Cross Checking) was devised to implement low power listening on 802.15.4 compliant transceivers. The VPCC method was studied from the following paper.&lt;br /&gt;&lt;br /&gt;"Enabling Low Power Listening on IEEE 802.15.4 based Sensor Nodes"&lt;br /&gt;&lt;br /&gt;I have also presented for  my course in Sensor Network Devices.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;I am trying to implement LPL on Atmel MAC and this page will be updated after I start reading about it.&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7959422847583609906-747340941014526066?l=technomission4u.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://technomission4u.blogspot.com/feeds/747340941014526066/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7959422847583609906&amp;postID=747340941014526066' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7959422847583609906/posts/default/747340941014526066'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7959422847583609906/posts/default/747340941014526066'/><link rel='alternate' type='text/html' href='http://technomission4u.blogspot.com/2011/10/low-power-listening-mac-protocols.html' title='Low Power listening MAC protocol&apos;s'/><author><name>KSHATRIYA...... A  WARRIOR</name><uri>http://www.blogger.com/profile/08027566963329958732</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7959422847583609906.post-6604431093656969985</id><published>2011-10-31T09:08:00.000-07:00</published><updated>2011-10-31T09:45:28.942-07:00</updated><title type='text'>Energy harvesting Techniques and IC's</title><content type='html'>This is my reference to create a RF  Energy harvesting System to support Sensor node in a tokamak environment.&lt;br /&gt;I will be updating the details of my research and my information about the various IC's used.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7959422847583609906-6604431093656969985?l=technomission4u.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://technomission4u.blogspot.com/feeds/6604431093656969985/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7959422847583609906&amp;postID=6604431093656969985' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7959422847583609906/posts/default/6604431093656969985'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7959422847583609906/posts/default/6604431093656969985'/><link rel='alternate' type='text/html' href='http://technomission4u.blogspot.com/2011/10/energy-harvesting-techniques-and-ics.html' title='Energy harvesting Techniques and IC&apos;s'/><author><name>KSHATRIYA...... A  WARRIOR</name><uri>http://www.blogger.com/profile/08027566963329958732</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7959422847583609906.post-8608588416978254419</id><published>2011-09-20T02:16:00.001-07:00</published><updated>2011-10-29T08:07:49.720-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Dataflash'/><category scheme='http://www.blogger.com/atom/ns#' term='AVR'/><title type='text'>AT45DB16 Dataflash</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/-tIxUKUZNQ9o/TnnHzS1PY_I/AAAAAAAAALQ/IffMzRuKoOc/s1600/Screenshot-1.png"&gt;&lt;img style="float: right; margin: 0pt 0pt 10px 10px; cursor: pointer; width: 320px; height: 180px;" src="http://4.bp.blogspot.com/-tIxUKUZNQ9o/TnnHzS1PY_I/AAAAAAAAALQ/IffMzRuKoOc/s320/Screenshot-1.png" alt="" id="BLOGGER_PHOTO_ID_5654770491182769138" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;After fiddling a lot  with SPI bus. I finally got my Dataflash to work. I am posting the first part of my code which reads the status register and sends it through USART.&lt;br /&gt;&lt;br /&gt;I  have connected 4.7k Pull-up resistors at SI,SO,SCK,SS pins of SPI bus&lt;br /&gt;&lt;br /&gt;Voltage is 3.1V and current of the system is 50mA.&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;span style="font-weight: bold;"&gt;PROBLEMS &amp;amp; UPDATES&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;ol&gt;&lt;li&gt;Due to sudden spikes in the ISP programmer , I get 0xff in the output. But if I remove ISP connector it works well. But when I restart the system, It hangs and gives me 0xff. I have to check once that problem. I thought it to be a problem but I got to know that it is an inbuilt issue, because both programming and Flash access the memory through SPI port.&lt;/li&gt;&lt;li&gt;Also I have checked device id and got it correct the sequence is 1F,26,00,00 (in hex).&lt;/li&gt;&lt;li&gt;Dataflash Buffer Read and Write&lt;br /&gt;&lt;div style="text-align: left;"&gt;&lt;br /&gt;One of the important thing that must be kept in mind while programming  data flash is that the flash's CS pin has to be deasserted after every  command given. Then only your next command will be execute correctly.  The following are the functions which you can use for reading and  writing into buffer1 (I have not decided on buffers, so you can change  command to get into buffer 2 also). All inner functions are as described  above.&lt;/div&gt;&lt;/li&gt;&lt;/ol&gt;&lt;br /&gt;//**************************************************************&lt;br /&gt;// ****** FUNCTIONS FOR SPI COMMUNICATION TO INTERFACE DATAFLASH*******&lt;br /&gt;//**************************************************************&lt;br /&gt;//Controller: ATmega8 (Clock: 8 Mhz-internal)&lt;br /&gt;//Compiler: AVR-GCC&lt;br /&gt;//Version : 2.0&lt;br /&gt;//Author:&lt;br /&gt;//Date:&lt;br /&gt;//**************************************************************&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;unsigned char send_status()&lt;br /&gt;{&lt;br /&gt;unsigned char k,j;&lt;br /&gt;  k = SPI_transmit(0xD7);&lt;br /&gt;&lt;br /&gt;  j = SPI_receive();&lt;br /&gt;&lt;br /&gt;return j;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;unsigned char read_buffer()&lt;br /&gt;{&lt;br /&gt;  SPI_PORT |=(1&amp;lt;&amp;lt; SPI_CS);&lt;br /&gt;  unsigned char j,k,l;&lt;br /&gt;  SPI_PORT &amp;amp;= ~(1&amp;lt;&amp;lt; SPI_CS);&lt;br /&gt;  j = send_status();&lt;br /&gt;&lt;br /&gt;     while(!((j==0xAC)|(j==0xEC)))&lt;br /&gt;  {&lt;br /&gt;  transmitString1("Error");&lt;br /&gt;  j = send_status();&lt;br /&gt;&lt;br /&gt;  }&lt;br /&gt;  SPI_PORT |=(1&amp;lt;&amp;lt; SPI_CS); &lt;br /&gt;&lt;br /&gt;    SPI_PORT &amp;amp;= ~(1&amp;lt;&amp;lt; SPI_CS);&lt;br /&gt;&lt;br /&gt;  k = SPI_transmit(0xd4);//Single Byte 0x00 to be sent to initiate read.&lt;br /&gt;&lt;br /&gt;  k = SPI_transmit(0x00);&lt;br /&gt;&lt;br /&gt;  k = SPI_transmit((unsigned char)(buffer_counter&amp;gt;&amp;gt;8));&lt;br /&gt;&lt;br /&gt;  k = SPI_transmit((unsigned char)buffer_counter);&lt;br /&gt;&lt;br /&gt;  k = SPI_transmit(0x00);//dont care conditions&lt;br /&gt;&lt;br /&gt;  j = SPI_receive();&lt;br /&gt;&lt;br /&gt;      return j;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;void write_buffer()&lt;br /&gt;{&lt;br /&gt;  SPI_PORT |=(1&amp;lt;&amp;lt; SPI_CS); &lt;br /&gt;  SPI_PORT &amp;amp;= ~(1&amp;lt;&amp;lt; SPI_CS);&lt;br /&gt;  unsigned char j,k,l,status;&lt;br /&gt;  j = send_status();&lt;br /&gt;&lt;br /&gt;  while(!((j==0xAC)|(j==0xEC)))&lt;br /&gt;  {&lt;br /&gt;  transmitString1("Error");&lt;br /&gt;  j = send_status();&lt;br /&gt;&lt;br /&gt;  }&lt;br /&gt;  SPI_PORT |=(1&amp;lt;&amp;lt; SPI_CS); &lt;br /&gt;  SPI_PORT &amp;amp;= ~(1&amp;lt;&amp;lt; SPI_CS);&lt;br /&gt;&lt;br /&gt;  k = SPI_transmit(0x84);&lt;br /&gt;&lt;br /&gt;  k = SPI_transmit(0x00);&lt;br /&gt;&lt;br /&gt;  k = SPI_transmit((unsigned char)(buffer_counter&amp;gt;&amp;gt;8));&lt;br /&gt;&lt;br /&gt;  k = SPI_transmit((unsigned char)buffer_counter);&lt;br /&gt;&lt;br /&gt;  k = SPI_transmit(0x25);&lt;br /&gt;&lt;br /&gt;  SPI_PORT |=(1&amp;lt;&amp;lt; SPI_CS); &lt;br /&gt;  SPI_PORT &amp;amp;= ~(1&amp;lt;&amp;lt; SPI_CS);&lt;br /&gt;  j = send_status();&lt;br /&gt;     while(!((j==0xAC)|(j==0xEC)))&lt;br /&gt;  {&lt;br /&gt;  transmitString1("Error");&lt;br /&gt;  j = send_status();&lt;br /&gt;  }&lt;br /&gt;  SPI_PORT |=(1&amp;lt;&amp;lt; SPI_CS);&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;void chip_erase()&lt;br /&gt;{&lt;br /&gt;  unsigned char k,j;&lt;br /&gt;  SPI_PORT &amp;amp;= ~(1&amp;lt;&amp;lt; SPI_CS);&lt;br /&gt;  k = SPI_transmit(0xC7);&lt;br /&gt;&lt;br /&gt;  k = SPI_transmit(0x94);&lt;br /&gt;&lt;br /&gt;  k = SPI_transmit(0X80);&lt;br /&gt;&lt;br /&gt;  k = SPI_transmit(0X9A);&lt;br /&gt;  SPI_PORT |=(1&amp;lt;&amp;lt; SPI_CS);&lt;br /&gt;  SPI_PORT &amp;amp;= ~(1&amp;lt;&amp;lt; SPI_CS);&lt;br /&gt;  j = send_status();&lt;br /&gt;&lt;br /&gt;  while(!((j==0xAC)|(j==0xEC)))&lt;br /&gt;  {&lt;br /&gt;  transmitString1("Error");&lt;br /&gt;  j = send_status();&lt;br /&gt;  _delay_ms(200);&lt;br /&gt;&lt;br /&gt;  }&lt;br /&gt;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;void device_id()&lt;br /&gt;{//Use the characters to get the device id j,k,l,m&lt;br /&gt;  unsigned char j,k,l,m;&lt;br /&gt;  SPI_PORT &amp;amp;= ~(1&amp;lt;&amp;lt; SPI_CS);&lt;br /&gt;&lt;br /&gt;  k = SPI_transmit(0x9f);&lt;br /&gt;&lt;br /&gt;  j = SPI_receive();&lt;br /&gt;&lt;br /&gt;  k = SPI_receive();&lt;br /&gt;&lt;br /&gt;  l = SPI_receive();&lt;br /&gt;&lt;br /&gt;  m = SPI_receive();&lt;br /&gt;&lt;br /&gt;  SPI_PORT |=(1&amp;lt;&amp;lt; SPI_CS);&lt;br /&gt;&lt;br /&gt;       }&lt;br /&gt;return 0;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;void spi_init(void)&lt;br /&gt;{&lt;br /&gt;/* Set MOSI and SCK , CS output, all others input */&lt;br /&gt;DDRB  = (1&amp;lt;&lt;pb0) 1=""&gt;&amp;lt;&lt;pb1) 1=""&gt;&amp;lt;&lt;pb2) 0=""&gt;&amp;lt;&lt;pb3); portb="0x00;" setup="" master="" msb="" phase="" sck="" idle="" low="" spcr="0x5C;" 1=""&gt;&amp;lt;&lt;mstr) 1=""&gt;&amp;lt;&lt;cpha) 1=""&gt;&amp;lt;&lt;cpol)|(1&gt;&amp;lt;&lt;spr0)|(1&gt;&amp;lt;&lt;spr1); unsigned="" char="" start="" spdr="data;" wait="" for="" transmission="" complete="" spsr="0x00;" 1=""&gt;&amp;lt;&lt;spif))); data="SPDR;" portg="~PORTG;" unsigned="" char="" wait="" for="" reception="" complete="" spdr="0x00;" spsr="" 1=""&gt;&amp;lt;&lt;spif))); data="SPDR;" return=""&gt;&lt;pb0) 1=""&gt;&lt;pb1) 1=""&gt;&lt;pb2) 0=""&gt;&lt;pb3); portb="0x00;" setup="" master="" msb="" phase="" sck="" idle="" low="" spcr="0x5C;" 1=""&gt;&lt;mstr) 1=""&gt;&lt;cpha) 1=""&gt;&lt;cpol)|(1&gt;&lt;spr0)|(1&gt;&lt;spr1); unsigned="" char="" start="" spdr="data;" wait="" for="" transmission="" complete="" spsr="0x00;" 1=""&gt;&lt;spif))); data="SPDR;" portg="~PORTG;" unsigned="" char="" wait="" for="" reception="" complete="" spdr="0x00;" spsr="" 1=""&gt;&lt;spif))); data="SPDR;" return=""&gt;&lt;avr h=""&gt;&lt;util h=""&gt;&lt;avr h=""&gt;&lt;util h=""&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/util&gt;&lt;/avr&gt;&lt;/util&gt;&lt;/avr&gt;&lt;/spif)));&gt;&lt;/spif)));&gt;&lt;/spr1);&gt;&lt;/spr0)|(1&gt;&lt;/cpol)|(1&gt;&lt;/cpha)&gt;&lt;/mstr)&gt;&lt;/pb3);&gt;&lt;/pb2)&gt;&lt;/pb1)&gt;&lt;/pb0)&gt;&lt;/spif)));&gt;&lt;/spif)));&gt;&lt;/spr1);&gt;&lt;/spr0)|(1&gt;&lt;/cpol)|(1&gt;&lt;/cpha)&gt;&lt;/mstr)&gt;&lt;/pb3);&gt;&lt;/pb2)&gt;&lt;/pb1)&gt;&lt;/pb0)&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7959422847583609906-8608588416978254419?l=technomission4u.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://technomission4u.blogspot.com/feeds/8608588416978254419/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7959422847583609906&amp;postID=8608588416978254419' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7959422847583609906/posts/default/8608588416978254419'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7959422847583609906/posts/default/8608588416978254419'/><link rel='alternate' type='text/html' href='http://technomission4u.blogspot.com/2011/09/at45db16-dataflash.html' title='AT45DB16 Dataflash'/><author><name>KSHATRIYA...... A  WARRIOR</name><uri>http://www.blogger.com/profile/08027566963329958732</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/-tIxUKUZNQ9o/TnnHzS1PY_I/AAAAAAAAALQ/IffMzRuKoOc/s72-c/Screenshot-1.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7959422847583609906.post-3772603402503554179</id><published>2011-08-25T03:17:00.000-07:00</published><updated>2011-11-17T05:27:43.747-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Ubuntu'/><title type='text'>Ubuntu &amp; me</title><content type='html'>Accidently my panels got deleted from my profile. The following site helped me to get to the default panel.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.watchingthenet.com/restore-panels-in-ubuntu-back-to-their-default-settings.html"&gt;Site&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7959422847583609906-3772603402503554179?l=technomission4u.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://technomission4u.blogspot.com/feeds/3772603402503554179/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7959422847583609906&amp;postID=3772603402503554179' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7959422847583609906/posts/default/3772603402503554179'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7959422847583609906/posts/default/3772603402503554179'/><link rel='alternate' type='text/html' href='http://technomission4u.blogspot.com/2011/08/ubuntu-me.html' title='Ubuntu &amp; me'/><author><name>KSHATRIYA...... A  WARRIOR</name><uri>http://www.blogger.com/profile/08027566963329958732</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7959422847583609906.post-2420526048092088759</id><published>2011-08-24T03:05:00.000-07:00</published><updated>2011-08-24T03:07:03.117-07:00</updated><title type='text'>Conferences</title><content type='html'>&lt;h4 style="font-weight: normal;"&gt;&lt;a href="http://cordis.europa.eu/fetch?CALLER=EN_NEWS&amp;amp;ACTION=D&amp;amp;SESSION=&amp;amp;RCN=33733"&gt;Second International Conference on Pervasive and Embedded Computing and Communication Systems, Rome, Italy&lt;/a&gt;&lt;/h4&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7959422847583609906-2420526048092088759?l=technomission4u.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://technomission4u.blogspot.com/feeds/2420526048092088759/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7959422847583609906&amp;postID=2420526048092088759' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7959422847583609906/posts/default/2420526048092088759'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7959422847583609906/posts/default/2420526048092088759'/><link rel='alternate' type='text/html' href='http://technomission4u.blogspot.com/2011/08/conferences.html' title='Conferences'/><author><name>KSHATRIYA...... A  WARRIOR</name><uri>http://www.blogger.com/profile/08027566963329958732</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7959422847583609906.post-7283279109894797591</id><published>2011-08-21T08:24:00.000-07:00</published><updated>2011-08-21T08:35:06.668-07:00</updated><title type='text'>RTC Testing &amp; Results</title><content type='html'>&lt;div style="text-align: center;"&gt;&lt;span style="font-weight: bold;"&gt;RTC Testing&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: left;"&gt;Having tested BQ3200DR I am writing down some results.&lt;br /&gt; Testing&lt;br /&gt;Voltage input to MCP:3.2V@60mA&lt;br /&gt;Voltage at TPS2092 output :2.92V&lt;br /&gt;Voltage backup to RTC : 2.5V&lt;br /&gt;&lt;br /&gt;Output is Correct I have testing only for 1 minute.&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7959422847583609906-7283279109894797591?l=technomission4u.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://technomission4u.blogspot.com/feeds/7283279109894797591/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7959422847583609906&amp;postID=7283279109894797591' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7959422847583609906/posts/default/7283279109894797591'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7959422847583609906/posts/default/7283279109894797591'/><link rel='alternate' type='text/html' href='http://technomission4u.blogspot.com/2011/08/rtc-testing-results.html' title='RTC Testing &amp; Results'/><author><name>KSHATRIYA...... A  WARRIOR</name><uri>http://www.blogger.com/profile/08027566963329958732</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7959422847583609906.post-3503085782797018209</id><published>2011-08-17T03:15:00.000-07:00</published><updated>2011-08-17T03:49:51.574-07:00</updated><title type='text'></title><content type='html'>I am in process of using XbeePro Series2 to do multi-hop communication.Having communicated with Xbee in API mode, now reading about Zigbee stack, its layers.&lt;br /&gt;Will be updating regarding the readings and experiments conducted.&lt;br /&gt;&lt;br /&gt;First somethings to be remembered&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;span style="font-weight: bold;"&gt;Unicast Transmissions&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;Unicast transmissions are sent from one source device to another destination device. The&lt;br /&gt;destination device could be an immediate neighbor of the source, or it could be several hops away.&lt;br /&gt;Each device in a ZigBee network has both a 16-bit (network) address and a 64-bit (extended) address. Unicast transmissions are always addressed and routed to the 16-bit address of the destination. However, to ensure data is received by the correct device, thedestination 64-bit address is often included in the RF transmission. If a receiving device has a matching 16-bit address, but not a matching 64-bit address, it will drop the packet and obtain a new 16-bit address.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7959422847583609906-3503085782797018209?l=technomission4u.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://technomission4u.blogspot.com/feeds/3503085782797018209/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7959422847583609906&amp;postID=3503085782797018209' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7959422847583609906/posts/default/3503085782797018209'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7959422847583609906/posts/default/3503085782797018209'/><link rel='alternate' type='text/html' href='http://technomission4u.blogspot.com/2011/08/i-am-in-process-of-using-xbeepro.html' title=''/><author><name>KSHATRIYA...... A  WARRIOR</name><uri>http://www.blogger.com/profile/08027566963329958732</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7959422847583609906.post-6954103564221301408</id><published>2011-08-11T00:38:00.000-07:00</published><updated>2011-08-12T00:59:55.189-07:00</updated><title type='text'>TinyOS on Ubuntu and Mishaps with AVRLIB</title><content type='html'>TinyOS is one of the legal tools of research in WSN &amp;gt; I have installed TinyOS on Ubuntu 10.10.within 5 Min using the following useful site&lt;br /&gt;&lt;a href="http://docs.tinyos.net/tinywiki/index.php/Main_Page"&gt;&lt;br /&gt;TinyOS&lt;/a&gt;&lt;br /&gt;Good documentation and tutorials to get started.Then I had this mishap ,I am able to write and compile programs but I cannot port into&lt;a href="http://www.meshnetics.com/dev-tools/meshbean/"&gt; Meshbean board&lt;/a&gt; which is the standard board with Zigbit on it .You can go to the link given above for more details.&lt;br /&gt;&lt;br /&gt;Then in order to rectify that I have used the support of following query in one site&lt;br /&gt;&lt;a href="http://mail.millennium.berkeley.edu/pipermail/tinyos-help/2011-January/049393.html"&gt;TinyOS Meshbean error&lt;/a&gt;. After I have added softlinks then also I could not rectify the error,But I was able to compile foor IRIS and mica2 motes.&lt;br /&gt;&lt;br /&gt;I found out the solution , I had TinyOS2.x source tree so changed the environmental variables with regard to TinyOS2.x.&lt;br /&gt;&lt;br /&gt;First copied the tinyos.sh from ~/opt/tinyos2.1.1/ to TinyOS2.x  folder .&lt;br /&gt;Then open your .bashrc file in home directory using  "vi .bashrc" and add&lt;br /&gt;&lt;br /&gt;source $HOME/Documents/TinyOS/tinyos/tinyos-2.x/tinyos.sh&lt;br /&gt;&lt;br /&gt;This is the place in my system where I have the source tree. I have copied tinyos.h in "~/Documents/TinyOS/tinyos/tinyos-2.x" . This is a place where I have the source of TinyOS.&lt;br /&gt;&lt;br /&gt;Then in that folder do the following&lt;br /&gt;vi tinyos.h&lt;br /&gt;&lt;br /&gt;and copy paste the following&lt;br /&gt;&lt;br /&gt;echo "Setting up for TinyOS 2.1.1"&lt;br /&gt;export TOSROOT=&lt;br /&gt;export TOSDIR=&lt;br /&gt;export MAKERULES=&lt;br /&gt;&lt;br /&gt;TOSROOT="$HOME/Documents/TinyOS/tinyos/tinyos-2.x"&lt;br /&gt;TOSDIR="$TOSROOT/tos"&lt;br /&gt;CLASSPATH="$CLASSPATH:$TOSROOT/support/sdk/java/tinyos.jar:."&lt;br /&gt;MAKERULES="$TOSROOT/support/make/Makerules"&lt;br /&gt;&lt;br /&gt;export TOSROOT&lt;br /&gt;export TOSDIR&lt;br /&gt;export CLASSPATH&lt;br /&gt;export MAKERULES&lt;br /&gt; I think its self explanatory .Then run ". .bashrc" command to update the bash. Then I was able to compile for meshbean using "make meshbean" command. The hex file is present in "build" folder.&lt;br /&gt;download it using Meshprog and hurray your led blinks on meshbean.&lt;br /&gt;&lt;br /&gt;After that I was using AVRLIB for usual development and I was suprised to see that did not work. I was getting some error. Do plan to read this If you are using TinyOS and AVRLIB on same system and also I got the remedy for that.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.avrfreaks.net/index.php?name=PNphpBB2&amp;amp;file=viewtopic&amp;amp;t=110489"&gt;AVRLIB ERROR&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7959422847583609906-6954103564221301408?l=technomission4u.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://technomission4u.blogspot.com/feeds/6954103564221301408/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7959422847583609906&amp;postID=6954103564221301408' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7959422847583609906/posts/default/6954103564221301408'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7959422847583609906/posts/default/6954103564221301408'/><link rel='alternate' type='text/html' href='http://technomission4u.blogspot.com/2011/08/tinyos-on-ubuntu-and-mishaps.html' title='TinyOS on Ubuntu and Mishaps with AVRLIB'/><author><name>KSHATRIYA...... A  WARRIOR</name><uri>http://www.blogger.com/profile/08027566963329958732</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7959422847583609906.post-6193555547513623018</id><published>2011-08-09T22:37:00.000-07:00</published><updated>2011-08-09T22:41:19.225-07:00</updated><title type='text'>Xbee in API Mode (Transmit Data)</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/--3p8LPBF2zU/TkIZ8cfaxVI/AAAAAAAAAK0/oLAbF_n5JLQ/s1600/xbee-series2-pin-layout.png"&gt;&lt;img style="float: right; margin: 0pt 0pt 10px 10px; cursor: pointer; width: 200px; height: 162px;" src="http://4.bp.blogspot.com/--3p8LPBF2zU/TkIZ8cfaxVI/AAAAAAAAAK0/oLAbF_n5JLQ/s320/xbee-series2-pin-layout.png" alt="" id="BLOGGER_PHOTO_ID_5639098209652098386" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;I have Xbee pro series 2 and have interfaced it with AVR Microcontroller .The following code will help you to transmit data in API mode  with any microcontroller .Have tested it ,You can use it.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Code&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;//*****************************************************************************&lt;br /&gt;//&lt;br /&gt;// File Name    : 'Xbee_API'&lt;br /&gt;// Title        : A simple for Xbee with any general Microcontroller in API mode&lt;br /&gt;// Author        : Sainath nambiar&lt;br /&gt;// Created        : 1/8/2011&lt;br /&gt;// Revised        : 10/8/2011&lt;br /&gt;// Version        : 1.1&lt;br /&gt;// Target MCU    : Any MCU with UART&lt;br /&gt;// Editor Tabs    :&lt;br /&gt;//&lt;br /&gt;//    Description : This include file is designed to help for Xbee programming in API mode&lt;br /&gt;//                  &lt;br /&gt;//&lt;br /&gt;// This code is distributed under the GNU Public License&lt;br /&gt;//        which can be found at http://www.gnu.org/licenses/gpl.txt&lt;br /&gt;//&lt;br /&gt;//*****************************************************************************&lt;br /&gt;#include&lt;stdio.h&gt;&lt;br /&gt;#define SD 0x7E&lt;br /&gt;#define FT 0x10&lt;br /&gt;#define FI 0x01&lt;br /&gt;#define D0 0x00&lt;br /&gt;#define D1 0x13&lt;br /&gt;#define D2 0xA2&lt;br /&gt;#define D3 0x00&lt;br /&gt;#define BR 0x00&lt;br /&gt;#define OP 0x00&lt;br /&gt;void Xbee_test(unsigned char*,unsigned char*,unsigned char,unsigned char* );&lt;br /&gt;/**&lt;br /&gt;* \brief&lt;br /&gt;* \param addr Address of the Receiving xbee&lt;br /&gt;* \param network_id Network ID or 16 Bit destination address&lt;br /&gt;* \param Bytes_sent No of Bytes to be sent&lt;br /&gt;* \param data_rf Data to be sent&lt;br /&gt;*///usart_sendch(byteptr) is any Microcontrollers USART routine&lt;br /&gt;void Xbee_test(unsigned char*addr,unsigned char* network_id,unsigned char Bytes_sent,unsigned char* data_rf)&lt;br /&gt;{&lt;br /&gt;unsigned int i,tmpbyte = 0x00;&lt;br /&gt;unsigned int chksum;&lt;br /&gt;unsigned char* byteptr = NULL;&lt;br /&gt;//usart_sendch(SD);&lt;br /&gt;tmpbyte =(unsigned char)Bytes_sent+14;&lt;br /&gt;byteptr = (unsigned char*)&amp;amp;tmpbyte;&lt;br /&gt;printf("value of byteptr is");&lt;br /&gt;printf("%x",tmpbyte);&lt;br /&gt;printf("\n");&lt;br /&gt;tmpbyte = 0x00;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;//usart_sendch(0x00);&lt;br /&gt;//usart_sendch(byteptr);&lt;br /&gt;&lt;br /&gt;//usart_sendch(FT);&lt;br /&gt;//usart_sendch(FI);&lt;br /&gt;chksum = FT+FI;&lt;br /&gt;printf("value of checksum after FT,FI passed is");&lt;br /&gt;printf("%x",chksum);&lt;br /&gt;printf("\n");&lt;br /&gt;&lt;br /&gt;//usart_sendch(D0);&lt;br /&gt;//usart_sendch(D1);&lt;br /&gt;//usart_sendch(D2);&lt;br /&gt;//usart_sendch(D3);&lt;br /&gt;chksum += D0+D1+D2+D3;&lt;br /&gt;&lt;br /&gt;for( i = 0; i &amp;lt;= 3; i++ ) {         //send address&lt;br /&gt;       tmpbyte += *( addr + i);&lt;br /&gt;       //usart_sendch( *( addr + i ));&lt;br /&gt;}&lt;br /&gt;chksum=chksum + tmpbyte;&lt;br /&gt;printf("value of checksum and address after adress  passed is");&lt;br /&gt;printf("%x",chksum);&lt;br /&gt;printf("\n");&lt;br /&gt;printf("value of address sum is ");&lt;br /&gt;printf("%x",tmpbyte);&lt;br /&gt;printf("\n");&lt;br /&gt;tmpbyte =0x00;&lt;br /&gt;byteptr = (unsigned char*)&amp;amp;network_id ;// have to verify * or **&lt;br /&gt;       for( i = 0; i&amp;lt;2; i++ )&lt;br /&gt;       {         //send address&lt;br /&gt;       tmpbyte += *( network_id + i);&lt;br /&gt;       //usart_sendch( *( network_id + i ));&lt;br /&gt;   printf("value of network id  is");&lt;br /&gt;   printf("%x",*( network_id + i));&lt;br /&gt;   printf("\n");&lt;br /&gt;       }&lt;br /&gt;printf("value of tmpbyte after network id passed is");&lt;br /&gt;chksum+=tmpbyte;&lt;br /&gt;printf("%x",tmpbyte);&lt;br /&gt;printf("\n");&lt;br /&gt;printf("value of checksum and tmpbyte after network id passed is");&lt;br /&gt;printf("%x",chksum);&lt;br /&gt;printf("\n");&lt;br /&gt;//printf("%x",tmpbyte);&lt;br /&gt;printf("\n");&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;//usart_sendch(BR);&lt;br /&gt;//usart_sendch(OP);&lt;br /&gt;chksum += BR+OP;&lt;br /&gt;tmpbyte = 0;&lt;br /&gt;&lt;br /&gt;for( i = 0; i &amp;lt; Bytes_sent; i++) {      //send payload&lt;br /&gt;       tmpbyte += *(data_rf + i);&lt;br /&gt;    &lt;br /&gt;   //usart_sendch(*(data_rf + i));&lt;br /&gt;printf("value of rf data passed is");&lt;br /&gt;printf("%x",*(data_rf + i));&lt;br /&gt;printf("\n");&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;printf("value of tmpbyte after rf data  passed is");&lt;br /&gt;printf("%x",tmpbyte);&lt;br /&gt;printf("\n");&lt;br /&gt;chksum = chksum + tmpbyte;&lt;br /&gt;&lt;br /&gt;   chksum= chksum&amp;amp;0xff;&lt;br /&gt;   chksum =  0xff - chksum;&lt;br /&gt;   //usart_sendch(chksum);&lt;br /&gt;&lt;br /&gt;printf("value of checksum after RF data passed is");&lt;br /&gt;printf("%x",chksum);&lt;br /&gt;printf("\n");&lt;br /&gt;}&lt;br /&gt;int main( void )&lt;br /&gt;{&lt;br /&gt;unsigned char tmpstr[] = {0x54,0x78,0x44,0x61,0x74,0x61,0x30,0x41};&lt;br /&gt;unsigned  char coord[ 8 ] = { 0x40, 0x0A, 0x01, 0x27 };&lt;br /&gt;unsigned char network[ 2 ] = {0xff,0xfe};&lt;br /&gt;Xbee_test( coord, network, 8, tmpstr);&lt;br /&gt;return 0;&lt;br /&gt;}&lt;br /&gt;&lt;/stdio.h&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7959422847583609906-6193555547513623018?l=technomission4u.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://technomission4u.blogspot.com/feeds/6193555547513623018/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7959422847583609906&amp;postID=6193555547513623018' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7959422847583609906/posts/default/6193555547513623018'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7959422847583609906/posts/default/6193555547513623018'/><link rel='alternate' type='text/html' href='http://technomission4u.blogspot.com/2011/08/xbee-in-api-mode-transmit-data.html' title='Xbee in API Mode (Transmit Data)'/><author><name>KSHATRIYA...... A  WARRIOR</name><uri>http://www.blogger.com/profile/08027566963329958732</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/--3p8LPBF2zU/TkIZ8cfaxVI/AAAAAAAAAK0/oLAbF_n5JLQ/s72-c/xbee-series2-pin-layout.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7959422847583609906.post-7968786688003802264</id><published>2011-08-09T06:44:00.000-07:00</published><updated>2011-08-22T03:29:21.260-07:00</updated><title type='text'>Wireless Sensor Networks</title><content type='html'>Important links for Research.&lt;br /&gt;&lt;br /&gt;1 . &lt;a href="http://www-mtl.mit.edu/researchgroups/icsystems/uamps/pubs/"&gt;MicroAmps&lt;/a&gt;&lt;br /&gt;2.&lt;a href="http://www.site.uottawa.ca/%7Eivan/"&gt;Site of a Researcher(Canada)&lt;/a&gt;&lt;br /&gt;3.&lt;a href="http://www.stanford.edu/group/cioffi/"&gt;For Understanding TDMA and CDMA&lt;/a&gt;&lt;br /&gt;4.&lt;a href="http://www.thecourse.us/Students/Wireless_Sensor_Networks.htm"&gt;A Must reading for basic understanding of WSN protocols&lt;/a&gt;&lt;br /&gt;5.&lt;a href="http://users.ece.utexas.edu/%7Ebevans/courses/ee382c/"&gt;Embedded Software Systems&lt;/a&gt;&lt;br /&gt;6.&lt;a href="http://gandalf.arubi.uni-kl.de/avr_projects/arm_projects/"&gt;ARM Related Projects&lt;/a&gt;&lt;br /&gt;7.&lt;a href="http://www.bertos.org/"&gt;A Good RTOS(BeRTOS)&lt;/a&gt;&lt;br /&gt;8.&lt;a href="http://www.johnhenryshammer.com/WOW2/pagesHowTo/networkOverview.php#index"&gt;Mesh Networkig with Xbee&lt;/a&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7959422847583609906-7968786688003802264?l=technomission4u.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://technomission4u.blogspot.com/feeds/7968786688003802264/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7959422847583609906&amp;postID=7968786688003802264' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7959422847583609906/posts/default/7968786688003802264'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7959422847583609906/posts/default/7968786688003802264'/><link rel='alternate' type='text/html' href='http://technomission4u.blogspot.com/2011/08/wireless-sensor-networks.html' title='Wireless Sensor Networks'/><author><name>KSHATRIYA...... A  WARRIOR</name><uri>http://www.blogger.com/profile/08027566963329958732</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7959422847583609906.post-6807156705314306625</id><published>2011-08-09T06:13:00.001-07:00</published><updated>2011-08-09T06:18:08.994-07:00</updated><title type='text'>A new Phase</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/-JrTDxQVv07U/TkEzg2NjLdI/AAAAAAAAAKs/IDJGbvhaJBE/s1600/5730680835_1c7e78af5a_o.jpg"&gt;&lt;img style="float: right; margin: 0pt 0pt 10px 10px; cursor: pointer; width: 207px; height: 320px;" src="http://2.bp.blogspot.com/-JrTDxQVv07U/TkEzg2NjLdI/AAAAAAAAAKs/IDJGbvhaJBE/s320/5730680835_1c7e78af5a_o.jpg" alt="" id="BLOGGER_PHOTO_ID_5638844847845748178" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;I would be updating my research work here starting from tomorrow.&lt;br /&gt;My Research work include&lt;br /&gt;1.Using AVRLIB to create codes for WildCense.&lt;br /&gt;2.Studying IEEE Papers on Wireless Sensor Networks.&lt;br /&gt;3.VLSI related issues.&lt;br /&gt;4.TinyOS porting for WildCense.&lt;br /&gt;                                                               I will be  starting  from tomorrow so let me start working for tomorrow.&lt;br /&gt;See you guys ....&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7959422847583609906-6807156705314306625?l=technomission4u.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://technomission4u.blogspot.com/feeds/6807156705314306625/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7959422847583609906&amp;postID=6807156705314306625' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7959422847583609906/posts/default/6807156705314306625'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7959422847583609906/posts/default/6807156705314306625'/><link rel='alternate' type='text/html' href='http://technomission4u.blogspot.com/2011/08/new-phase.html' title='A new Phase'/><author><name>KSHATRIYA...... A  WARRIOR</name><uri>http://www.blogger.com/profile/08027566963329958732</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/-JrTDxQVv07U/TkEzg2NjLdI/AAAAAAAAAKs/IDJGbvhaJBE/s72-c/5730680835_1c7e78af5a_o.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7959422847583609906.post-9076538041833985268</id><published>2008-07-01T18:41:00.001-07:00</published><updated>2008-07-01T18:41:52.380-07:00</updated><title type='text'>Ramayana by Bill Gates</title><content type='html'>LAN, LAN ago, in the SYSTEM of I/O-dhya, there ruled a PROCESSOR named DOS-rat.  Once he EXECUTED a great sacrifice PROGRAM after which his queens gave an OUTPUT of four SUNs--RAM, LSIman,BUG-rat and SED-rughana.  RAM the eldest was a MICROCHIP with excellent MEMORY. His brothers, however, were only PERIPHERAL ICs. Once when RAM was only 16MB, he married princess 'C'ta. 12years passed and DOS-rat decided to INSTALL RAM as his successor.  However, Queen CIE/CAE(Kayegayee), who was once offered a boon by DOS-rat for a lifesaving HELP COMMAND, took this opportunity at the instigation of her BIOSed maid (a real plotter), and insisted that her son Bug-rat be INSTALLED and that RAM be CUT-N-PASTED to the forest for 14 years.  At this cruel and unexpected demand, a SURGE passed through DOS-rat and he kollapsed, power-less. RAM agreed to LOG INTO forest and 'C'ta insisted to LOGIN with him. LSI-man also resolved on LOGGING IN with his brother.  The forest was the dwelling of SPARCnakha, the TRAN-SISTOR of RAW-van, PROCESSOR of LAN-ka. Attracted by RAM's stature, she proposed that he marry her.RAM, politely declined. Perceiving 'C'ta to be the SOURCE CODE of her distress, she hastened to kill her.  Weeping, SPARC-nakha fled to LAN-ka, where RAW-van, moved by TRAN-SISTOR's plight, approached his uncle MAR-icha. MAR-icha REPROGRAMED himself into the form of a golden stag and drew RAM deep into the forest.  Finally, tired of chase, RAM shot the deer, who, with his last breath, cried out resperately for LSI-man in RAM's voice. Fooled by this VIRTUAL RAM SOUND, 'C'ta urged LSI-man to his brother's aid.  Catching the opportunity, RAW-van DELINKED 'C'ta from her LIBRARY and changed her ROOT DIRECTORY to LAN-ka.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7959422847583609906-9076538041833985268?l=technomission4u.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://technomission4u.blogspot.com/feeds/9076538041833985268/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7959422847583609906&amp;postID=9076538041833985268' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7959422847583609906/posts/default/9076538041833985268'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7959422847583609906/posts/default/9076538041833985268'/><link rel='alternate' type='text/html' href='http://technomission4u.blogspot.com/2008/07/ramayana-by-bill-gates.html' title='Ramayana by Bill Gates'/><author><name>KSHATRIYA...... A  WARRIOR</name><uri>http://www.blogger.com/profile/08027566963329958732</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7959422847583609906.post-923614921537656742</id><published>2008-06-08T09:21:00.001-07:00</published><updated>2008-06-08T09:21:46.328-07:00</updated><title type='text'>A LITTLE GYAN....................</title><content type='html'>&gt; Hard workers...Don't miss this...&lt;br /&gt;&gt;&lt;br /&gt;&gt;          Read It Completely.....&lt;br /&gt;&gt;&lt;br /&gt;&gt;          An unwise investment!!!&lt;br /&gt;&gt;&lt;br /&gt;&gt;&lt;br /&gt;&gt;&lt;br /&gt;&gt; A man came home from work late, tired and irritated,&lt;br /&gt;&gt; to find his 5-year  old son waiting for him at the&lt;br /&gt;&gt; door.&lt;br /&gt;&gt;&lt;br /&gt;&gt;    SON: "Daddy, may I ask you a question?"&lt;br /&gt;&gt;&lt;br /&gt;&gt;    DAD: "Yeah sure, what is it?" replied the man.&lt;br /&gt;&gt;&lt;br /&gt;&gt;    SON: "Daddy, how much do you make an hour?"&lt;br /&gt;&gt;&lt;br /&gt;&gt;    DAD: "That's none of your business. Why do you&lt;br /&gt;&gt; ask such a thing?" the man said angrily.&lt;br /&gt;&gt;&lt;br /&gt;&gt;    SON:    "I just want to know. Please tell me, how&lt;br /&gt;&gt; much do you make an hour?"&lt;br /&gt;&gt;&lt;br /&gt;&gt;    DAD:    "If you must know, I make Rs.100 an&lt;br /&gt;&gt; hour."&lt;br /&gt;&gt;&lt;br /&gt;&gt;    "Oh," the little boy replied, with his head down.&lt;br /&gt;&gt; Looking up, he said,&lt;br /&gt;&gt;&lt;br /&gt;&gt;     "Daddy, may I please borrow Rs.50?"&lt;br /&gt;&gt;&lt;br /&gt;&gt; The father was furious, "If the only reason you&lt;br /&gt;&gt; asked that is so you can borrow some money to buy a&lt;br /&gt;&gt; silly toy or some other nonsense, then you march&lt;br /&gt;&gt; yourself straight to your room and go to bed. Think&lt;br /&gt;&gt; about why you are being so selfish. I work hard&lt;br /&gt;&gt; everyday for such this childish behavior."&lt;br /&gt;&gt;&lt;br /&gt;&gt;      The little boy quietly went to his room and&lt;br /&gt;&gt; shut the door.&lt;br /&gt;&gt;&lt;br /&gt;&gt; The man sat down and started to get even angrier&lt;br /&gt;&gt; about the little boy's questions. How dare he ask&lt;br /&gt;&gt; such questions only to get some money?&lt;br /&gt;&gt;&lt;br /&gt;&gt; After about an hour or so, the man had calmed down,&lt;br /&gt;&gt; and started to think:&lt;br /&gt;&gt;&lt;br /&gt;&gt; Maybe there was something he really needed to buy&lt;br /&gt;&gt; with that Rs.50 and he really didn't ask for money&lt;br /&gt;&gt; very often. The man went to the door of the little&lt;br /&gt;&gt; boy's room and opened the door. &lt;br /&gt;&gt;&lt;br /&gt;&gt;    "Are you asleep, son?" He asked.&lt;br /&gt;&gt;&lt;br /&gt;&gt;    "No daddy, I'm awake," replied the boy.&lt;br /&gt;&gt;&lt;br /&gt;&gt;    "I've been thinking, maybe I was too hard on you&lt;br /&gt;&gt; earlier," said the man.&lt;br /&gt;&gt;&lt;br /&gt;&gt;    "It's been a long day and I took out my&lt;br /&gt;&gt; aggravation on you. Here's the Rs.50 you asked for."&lt;br /&gt;&gt;&lt;br /&gt;&gt;          The little boy sat straight up, smiling.&lt;br /&gt;&gt; "Oh, thank you daddy!" He yelled.&lt;br /&gt;&gt;&lt;br /&gt;&gt;          Then, reaching under his pillow he pulled&lt;br /&gt;&gt; out some crumpled up bills. The man, seeing that the&lt;br /&gt;&gt; boy already had money, started to get angry again.&lt;br /&gt;&gt; The little boy slowly counted out his money, and&lt;br /&gt;&gt; then looked up at his father.&lt;br /&gt;&gt;&lt;br /&gt;&gt;    "Why do you want more money if you already have&lt;br /&gt;&gt; some?" the father grumbled.&lt;br /&gt;&gt;&lt;br /&gt;&gt;    "Because I didn't have enough, but now I do," the&lt;br /&gt;&gt; little boy replied.&lt;br /&gt;&gt;&lt;br /&gt;&gt;     "Daddy, I have Rs.100 now. Can I buy an hour of&lt;br /&gt;&gt; your time? Please come     home early tomorrow. I&lt;br /&gt;&gt; would like to have dinner with you."&lt;br /&gt;&gt;&lt;br /&gt;&gt;&lt;br /&gt;&gt;&lt;br /&gt;&gt;          Share this story with someone you like....&lt;br /&gt;&gt;&lt;br /&gt;&gt;&lt;br /&gt;&gt;&lt;br /&gt;&gt;     But even better, share Rs.100 worth of time with&lt;br /&gt;&gt; someone you...........love. It's just a short&lt;br /&gt;&gt; reminder to all of you working so hard in life. We&lt;br /&gt;&gt; should not let time slip through our fingers without&lt;br /&gt;&gt; having spent some time with those who really matter&lt;br /&gt;&gt; to us, those close to our hearts.&lt;br /&gt;&gt;&lt;br /&gt;&gt;&lt;br /&gt;&gt;&lt;br /&gt;&gt;          If we die tomorrow, the company that we are&lt;br /&gt;&gt; working for could easily replace us in a matter of&lt;br /&gt;&gt; days.............. But the family &amp;amp; friends we leave&lt;br /&gt;&gt; behind will feel the loss for the rest of their&lt;br /&gt;&gt; lives. And come to think of it, we pour ourselves&lt;br /&gt;&gt; more into work than to ...............our family.&lt;br /&gt;&lt;!-- google_ad_section_end --&gt;&lt;!-- / message --&gt;&lt;!-- sig --&gt;                           __________________&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7959422847583609906-923614921537656742?l=technomission4u.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://technomission4u.blogspot.com/feeds/923614921537656742/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7959422847583609906&amp;postID=923614921537656742' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7959422847583609906/posts/default/923614921537656742'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7959422847583609906/posts/default/923614921537656742'/><link rel='alternate' type='text/html' href='http://technomission4u.blogspot.com/2008/06/little-gyan.html' title='A LITTLE GYAN....................'/><author><name>KSHATRIYA...... A  WARRIOR</name><uri>http://www.blogger.com/profile/08027566963329958732</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7959422847583609906.post-5877279406089160349</id><published>2008-04-21T21:28:00.000-07:00</published><updated>2008-04-21T21:33:51.892-07:00</updated><title type='text'>MICROCONTROLLERS</title><content type='html'>&lt;h1 style="margin-left: -0.25in; text-align: center; text-indent: 0in;" align="center"&gt;&lt;span style="font-style: normal; text-decoration: none;font-size:18;" &gt;INTRODUCTION TO MICRO CONTROLLERS(8051)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/h1&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in; text-align: justify;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:14;"  &gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in; text-align: justify;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:14;"  &gt;Microprocessors and micro controller stem from the same idea, are made by the same people, and are sold to the same types same types of system designers and programmers.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in; text-align: justify;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:14;"  &gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in; text-align: justify;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:14;"  &gt;Microprocessor's the term has come to be knows to be known is a general-purpose Digital computer central processing unit (CPU). To make the Microprocessor a complete micro computer, one must add memory, usually read-only program memory (ROM) and read and write memory, memory decoders, an oscillator, and a number of input/output devices such parallel and serial data ports. To communicate with external world it needs to have some additional circuitry.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in; text-align: justify;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:14;"  &gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in; text-align: justify;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:14;"  &gt;Micro controller, which is a true computer on a chip. The design incorporates all of the features found in a microprocessor CPU: ALU, PC, SP, and registers. It has also has added the other features need make a complete computer. ROM, RAM, parallel I/O, Serial I/O, counters, and a clock circuitry.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in; text-align: justify;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:14;"  &gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in; text-align: justify;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:14;"  &gt;To summarize, the microprocessor is concerned with rapid movement of code and data from external addresses to the chip; the micro controller is concerned with rapid movement of bits within the chip. The microcontrollercan function as a computer with addition of no external digital parts; the microprocessor must have man additional parts to be operational.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in; text-align: justify;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:14;"  &gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in; text-align: justify;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:14;"  &gt;&lt;span style=""&gt; &lt;/span&gt;Micro controllers are available in N-Channel Metal Oxide Silicon (NMOS) and Complementary Metal Oxide Silicon (CMOS) construction in variety of package types. They are ranging from 8031 to 8751.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in; text-align: justify;"&gt;&lt;u&gt;&lt;span style=";font-family:&amp;quot;;font-size:14;"  &gt;&lt;o:p&gt;&lt;span style="text-decoration: none;"&gt; &lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/u&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in; text-align: justify;"&gt;&lt;u&gt;&lt;span style=";font-family:&amp;quot;;font-size:14;"  &gt;&lt;o:p&gt;&lt;span style="text-decoration: none;"&gt; &lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/u&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in; text-align: justify;"&gt;&lt;u&gt;&lt;span style=";font-family:&amp;quot;;font-size:14;"  &gt;Micro controller Features are&lt;/span&gt;&lt;/u&gt;&lt;span style=";font-family:&amp;quot;;font-size:14;"  &gt;: -&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in; text-align: justify;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:14;"  &gt;&lt;span style=""&gt;  &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in; text-align: justify;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:14;"  &gt;&lt;span style=""&gt;    &lt;/span&gt;1.&lt;span style=""&gt;  &lt;/span&gt;Internal ROM and RAM &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in; text-align: justify;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:14;"  &gt;&lt;span style=""&gt;    &lt;/span&gt;2.&lt;span style=""&gt;  &lt;/span&gt;I/O Ports with programmable pins&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in; text-align: justify;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:14;"  &gt;&lt;span style=""&gt;    &lt;/span&gt;3.&lt;span style=""&gt;  &lt;/span&gt;Timers and Counters&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in; text-align: justify;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:14;"  &gt;&lt;span style=""&gt;    &lt;/span&gt;4.&lt;span style=""&gt;  &lt;/span&gt;Serial Data Communication&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in; text-align: justify;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:14;"  &gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in; text-align: justify;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:14;"  &gt;&lt;span style=""&gt; &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in; text-align: justify;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:14;"  &gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in; text-align: justify;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:14;"  &gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in; text-align: justify;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:14;"  &gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in; text-align: justify;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:14;"  &gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in; text-align: justify;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:14;"  &gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in; text-align: justify;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:14;"  &gt;&lt;span style=""&gt; &lt;/span&gt;&lt;u&gt;The 8051 Architecture consists of these specific features&lt;/u&gt;:-&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in; text-align: justify;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:14;"  &gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in; text-align: justify;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:14;"  &gt;&lt;span style=""&gt;   &lt;/span&gt;1. Eight-bit CPU with registers A (the accumulator) and B&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in; text-align: justify;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:14;"  &gt;&lt;span style=""&gt;   &lt;/span&gt;2. Sixteen-bit Program Counter (PC) and Data pointer (DPTR).&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in; text-align: justify;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:14;"  &gt;&lt;span style=""&gt;   &lt;/span&gt;3. Eight-bit Program Status Word (PSW).&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in; text-align: justify;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:14;"  &gt;&lt;span style=""&gt;   &lt;/span&gt;4. Eight -bit Stack Pointer (SP).&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in; text-align: justify;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:14;"  &gt;&lt;span style=""&gt;   &lt;/span&gt;5. Internal ROM or EPROM (8751) of (8031) to 4k (8051).&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in; text-align: justify;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:14;"  &gt;&lt;span style=""&gt;   &lt;/span&gt;6. Internal RAM of 128 bytes.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in; text-align: justify;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:14;"  &gt;&lt;span style=""&gt;        &lt;/span&gt;a. Four register banks, each containing eight registers.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in; text-align: justify;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:14;"  &gt;&lt;span style=""&gt;        &lt;/span&gt;b. Sixteen bytes, which may be addressed at the bit level.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in; text-align: justify;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:14;"  &gt;&lt;span style=""&gt;        &lt;/span&gt;c. Eighty bytes of general-purpose data memory.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in; text-align: justify;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:14;"  &gt;&lt;span style=""&gt;  &lt;/span&gt;7. Thirty-two input/output pins arranged as four 8-bit ports: P0 - P3.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in; text-align: justify;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:14;"  &gt;&lt;span style=""&gt;  &lt;/span&gt;8. Two 16 bit Timers/Counters: T0 and T1.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in; text-align: justify;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:14;"  &gt;&lt;span style=""&gt;  &lt;/span&gt;9.&lt;span style=""&gt;  &lt;/span&gt;Full duplex serial data Receiver/Transmitter: SBUF.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in; text-align: justify;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:14;"  &gt;&lt;span style=""&gt;  &lt;/span&gt;10. Control registers: TCON, TMOD, SCON, PCON, IP and IE.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in; text-align: justify;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:14;"  &gt;&lt;span style=""&gt;  &lt;/span&gt;11. Two external and three internal interrupt sources.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in; text-align: justify;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:14;"  &gt;&lt;span style=""&gt;  &lt;/span&gt;12. Oscillator and clock circuits.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in; text-align: justify;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:14;"  &gt;&lt;span style=""&gt;   &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in; text-align: justify;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:14;"  &gt;8051 is a collection of 8 and 16 bit registers and 8 bit memory locations. These registers and memory locations can be made to operate using the software instructions.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in; text-align: justify;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:14;"  &gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in; text-align: justify;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:14;"  &gt;The program instructions control the registers and digital data paths that are contained inside the 8051,as well as memory locations that are located outside the 8051.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in; text-align: justify;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:14;"  &gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in; text-align: justify;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:14;"  &gt;&lt;span style=""&gt;  &lt;/span&gt;Micro controller is same as Microcomputer but there is some special purpose registers. Most of registers have specific function. They are specify by symbolic name, such as A or TH0 or PC.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in; text-align: justify;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:14;"  &gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in; text-align: justify;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:14;"  &gt;&lt;span style=""&gt;  &lt;/span&gt;Each register has an internal 1-byte address assigned to it. Some registers are both byte and bit addressable. That is, the entire byte of data or bit s at such register address may be read or altered.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in; text-align: justify;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:14;"  &gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in; text-align: justify;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:14;"  &gt;&lt;span style=""&gt; &lt;/span&gt;Software instructions are generally able to specify a register by its address, its symbolic name or both.&lt;span style=""&gt;  &lt;/span&gt;Many of the pins are used for more than one function. Not at the same time.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in;"&gt;&lt;u&gt;&lt;span style=";font-family:&amp;quot;;font-size:12;"  &gt;&lt;o:p&gt;&lt;span style="text-decoration: none;"&gt; &lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/u&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in;"&gt;&lt;u&gt;&lt;span style=";font-family:&amp;quot;;font-size:12;"  &gt;&lt;o:p&gt;&lt;span style="text-decoration: none;"&gt; &lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/u&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in;"&gt;&lt;u&gt;&lt;span style=";font-family:&amp;quot;;font-size:12;"  &gt;&lt;o:p&gt;&lt;span style="text-decoration: none;"&gt; &lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/u&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in;"&gt;&lt;u&gt;&lt;span style=";font-family:&amp;quot;;font-size:12;"  &gt;&lt;o:p&gt;&lt;span style="text-decoration: none;"&gt; &lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/u&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in;"&gt;&lt;b style=""&gt;&lt;u&gt;&lt;span style=";font-family:&amp;quot;;font-size:12;"  &gt;&lt;o:p&gt;&lt;span style="text-decoration: none;"&gt; &lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in;"&gt;&lt;b style=""&gt;&lt;u&gt;&lt;span style=";font-family:&amp;quot;;font-size:12;"  &gt;&lt;o:p&gt;&lt;span style="text-decoration: none;"&gt; &lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in;"&gt;&lt;b style=""&gt;&lt;u&gt;&lt;span style=";font-family:&amp;quot;;font-size:12;"  &gt;&lt;o:p&gt;&lt;span style="text-decoration: none;"&gt; &lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in;"&gt;&lt;b style=""&gt;&lt;u&gt;&lt;span style=";font-family:&amp;quot;;font-size:12;"  &gt;&lt;o:p&gt;&lt;span style="text-decoration: none;"&gt; &lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in;"&gt;&lt;b style=""&gt;&lt;u&gt;&lt;span style=";font-family:&amp;quot;;font-size:12;"  &gt;LIST&lt;span style=""&gt;  &lt;/span&gt;OF SPECIAL FUNCTION REGISTERS IN 8051&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;b style=""&gt;&lt;span style=";font-family:&amp;quot;;font-size:12;"  &gt;:-&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in;"&gt;&lt;b style=""&gt;&lt;i style=""&gt;&lt;u&gt;&lt;span style=";font-family:&amp;quot;;font-size:12;"  &gt;&lt;o:p&gt;&lt;span style="text-decoration: none;"&gt; &lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/u&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in;"&gt;&lt;b style=""&gt;&lt;i style=""&gt;&lt;u&gt;&lt;span style=";font-family:&amp;quot;;font-size:12;"  &gt;SYMBOL REGISTER&lt;/span&gt;&lt;/u&gt;&lt;/i&gt;&lt;/b&gt;&lt;b style=""&gt;&lt;i style=""&gt;&lt;span style=";font-family:&amp;quot;;font-size:12;"  &gt;&lt;span style=""&gt;    &lt;/span&gt;&lt;u&gt; ADDRESS&lt;/u&gt;&lt;span style=""&gt;  &lt;/span&gt;&lt;span style=""&gt;  &lt;/span&gt;&lt;u&gt;BIT ADDRESSABLE&lt;/u&gt; &lt;span style=""&gt;                                  &lt;/span&gt;&lt;u&gt;RESET&lt;/u&gt;&lt;span style=""&gt;      &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in;"&gt;&lt;b style=""&gt;&lt;i style=""&gt;&lt;span style=";font-family:&amp;quot;;font-size:12;"  &gt;&lt;span style=""&gt;                &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in;"&gt;&lt;b style=""&gt;&lt;span style=";font-family:&amp;quot;;font-size:12;"  &gt;ACC&lt;span style=""&gt;         &lt;/span&gt;Accumulator&lt;span style=""&gt;              &lt;/span&gt;E0h&lt;span style=""&gt;     &lt;/span&gt;Yes (Function)&lt;span style=""&gt;                                   &lt;/span&gt;00h&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in;"&gt;&lt;b style=""&gt;&lt;span style=";font-family:&amp;quot;;font-size:12;"  &gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in;"&gt;&lt;b style=""&gt;&lt;span style=";font-family:&amp;quot;;font-size:12;"  &gt;B&lt;span style=""&gt;   &lt;/span&gt;B register&lt;span style=""&gt;                    &lt;/span&gt;F0h&lt;span style=""&gt;     &lt;/span&gt;Yes (Function)&lt;span style=""&gt;                                   &lt;/span&gt;00h&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in;"&gt;&lt;b style=""&gt;&lt;span style=";font-family:&amp;quot;;font-size:12;"  &gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in;"&gt;&lt;b style=""&gt;&lt;span style=";font-family:&amp;quot;;font-size:12;"  &gt;DPTR&lt;span style=""&gt;       &lt;/span&gt;Data Pointer&lt;span style=""&gt;                                                  &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in;"&gt;&lt;b style=""&gt;&lt;span style=";font-family:&amp;quot;;font-size:12;"  &gt;DPH&lt;span style=""&gt;          &lt;/span&gt;Data Pointer high&lt;span style=""&gt;      &lt;/span&gt;83h&lt;span style=""&gt;                                                                  &lt;/span&gt;00h&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in;"&gt;&lt;b style=""&gt;&lt;span style=";font-family:&amp;quot;;font-size:12;"  &gt;&lt;span style=""&gt; &lt;/span&gt;DPL&lt;span style=""&gt;         &lt;/span&gt;Data Pointer low&lt;span style=""&gt;       &lt;/span&gt;82h&lt;span style=""&gt;                                                                  &lt;/span&gt;00h&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in;"&gt;&lt;b style=""&gt;&lt;span style=";font-family:&amp;quot;;font-size:12;"  &gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in;"&gt;&lt;b style=""&gt;&lt;span style=";font-family:&amp;quot;;font-size:12;"  &gt;IE&lt;span style=""&gt;  &lt;/span&gt;Interrupt enables&lt;span style=""&gt;       &lt;/span&gt;A8h&lt;span style=""&gt;     &lt;/span&gt;Yes (Function)&lt;span style=""&gt;                                               &lt;/span&gt;0x000000B&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in;"&gt;&lt;b style=""&gt;&lt;span style=";font-family:&amp;quot;;font-size:12;"  &gt;IP&lt;span style=""&gt;  &lt;/span&gt;Interrupt priority&lt;span style=""&gt;      &lt;/span&gt;B8h&lt;span style=""&gt;     &lt;/span&gt;Yes (Function)&lt;span style=""&gt;                                               &lt;/span&gt;xx000000B&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in;"&gt;&lt;b style=""&gt;&lt;span style=";font-family:&amp;quot;;font-size:12;"  &gt;P0&lt;span style=""&gt;  &lt;/span&gt;Port 0&lt;span style=""&gt;                          &lt;/span&gt;80h&lt;span style=""&gt;      &lt;/span&gt;Yes &lt;span style=""&gt;     &lt;/span&gt;(Function)&lt;span style=""&gt;                              &lt;/span&gt;FFh&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in;"&gt;&lt;b style=""&gt;&lt;span style=";font-family:&amp;quot;;font-size:12;"  &gt;P1&lt;span style=""&gt;  &lt;/span&gt;Port 1&lt;span style=""&gt;                          &lt;/span&gt;90h&lt;span style=""&gt;      &lt;/span&gt;Yes &lt;span style=""&gt;     &lt;/span&gt;(Function)&lt;span style=""&gt;                              &lt;/span&gt;FFh&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;  &lt;h2 style="margin-left: -0.25in;"&gt;P2&lt;span style=""&gt;  &lt;/span&gt;Port 2&lt;span style=""&gt;                          &lt;/span&gt;A0h&lt;span style=""&gt;     &lt;/span&gt;Yes &lt;span style=""&gt;     &lt;/span&gt;(Function)&lt;span style=""&gt;                              &lt;/span&gt;FFh&lt;/h2&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in;"&gt;&lt;b style=""&gt;&lt;span style=";font-family:&amp;quot;;font-size:12;"  &gt;P3&lt;span style=""&gt;  &lt;/span&gt;Port 3&lt;span style=""&gt;                          &lt;/span&gt;B0h&lt;span style=""&gt;     &lt;/span&gt;Yes &lt;span style=""&gt;     &lt;/span&gt;(Function)&lt;span style=""&gt;                              &lt;/span&gt;FFh&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in;"&gt;&lt;b style=""&gt;&lt;span style=";font-family:&amp;quot;;font-size:12;"  &gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in;"&gt;&lt;b style=""&gt;&lt;span style=";font-family:&amp;quot;;font-size:12;"  &gt;PCON&lt;span style=""&gt;       &lt;/span&gt;Power control&lt;span style=""&gt;                        &lt;/span&gt;87h&lt;span style=""&gt;      &lt;/span&gt; &lt;span style=""&gt;      &lt;/span&gt;&lt;span style=""&gt;     &lt;/span&gt;(Function)&lt;span style=""&gt;                              &lt;/span&gt;0xxxxxxxB&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in;"&gt;&lt;b style=""&gt;&lt;span style=";font-family:&amp;quot;;font-size:12;"  &gt;PSW&lt;span style=""&gt;         &lt;/span&gt;Pgm status word&lt;span style=""&gt;        &lt;/span&gt;D0h&lt;span style=""&gt;     &lt;/span&gt;Yes (Function)&lt;span style=""&gt;                                   &lt;/span&gt;00h&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in;"&gt;&lt;b style=""&gt;&lt;span style=";font-family:&amp;quot;;font-size:12;"  &gt;SBUF&lt;span style=""&gt;        &lt;/span&gt;Serial data buffer&lt;span style=""&gt;      &lt;/span&gt;99h &lt;span style=""&gt;                                                                 &lt;/span&gt;xxxxxxxxB&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in;"&gt;&lt;b style=""&gt;&lt;span style=";font-family:&amp;quot;;font-size:12;"  &gt;SCON&lt;span style=""&gt;       &lt;/span&gt;Serial controller&lt;span style=""&gt;         &lt;/span&gt;98h&lt;span style=""&gt;      &lt;/span&gt;Yes (Function)&lt;span style=""&gt;                                   &lt;/span&gt;00h&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in;"&gt;&lt;b style=""&gt;&lt;span style=";font-family:&amp;quot;;font-size:12;"  &gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in;"&gt;&lt;b style=""&gt;&lt;span style=";font-family:&amp;quot;;font-size:12;"  &gt;SP&lt;span style=""&gt; &lt;/span&gt;Stack pointer&lt;span style=""&gt;             &lt;/span&gt;81h&lt;span style=""&gt;                                                                  &lt;/span&gt;07h&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in;"&gt;&lt;b style=""&gt;&lt;span style=";font-family:&amp;quot;;font-size:12;"  &gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in;"&gt;&lt;b style=""&gt;&lt;span style=";font-family:&amp;quot;;font-size:12;"  &gt;TCON&lt;span style=""&gt;      &lt;/span&gt;Timer control&lt;span style=""&gt;             &lt;/span&gt;88h&lt;span style=""&gt;      &lt;/span&gt;Yes (Function)&lt;span style=""&gt;                       &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in;"&gt;&lt;b style=""&gt;&lt;span style=";font-family:&amp;quot;;font-size:12;"  &gt;TH0&lt;span style=""&gt;          &lt;/span&gt;Timer high 0&lt;span style=""&gt;              &lt;/span&gt;8Ch&lt;span style=""&gt;     &lt;/span&gt; &lt;span style=""&gt;                                                           &lt;/span&gt;00h&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in;"&gt;&lt;b style=""&gt;&lt;span style=";font-family:&amp;quot;;font-size:12;"  &gt;TH1&lt;span style=""&gt;          &lt;/span&gt;Timer high 1&lt;span style=""&gt;              &lt;/span&gt;8Dh&lt;span style=""&gt;                                                                 &lt;/span&gt;00h&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in;"&gt;&lt;b style=""&gt;&lt;span style=";font-family:&amp;quot;;font-size:12;"  &gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in;"&gt;&lt;b style=""&gt;&lt;span style=";font-family:&amp;quot;;font-size:12;"  &gt;TL0&lt;span style=""&gt;           &lt;/span&gt;Timer low 0&lt;span style=""&gt;                &lt;/span&gt;8Ah&lt;span style=""&gt;                                                                 &lt;/span&gt;00h&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in;"&gt;&lt;b style=""&gt;&lt;span style=";font-family:&amp;quot;;font-size:12;"  &gt;TL1&lt;span style=""&gt;           &lt;/span&gt;Timer low 1&lt;span style=""&gt;                &lt;/span&gt;8Bh&lt;span style=""&gt;                                                                 &lt;/span&gt;00h&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in;"&gt;&lt;b style=""&gt;&lt;span style=";font-family:&amp;quot;;font-size:12;"  &gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in;"&gt;&lt;b style=""&gt;&lt;span style=";font-family:&amp;quot;;font-size:12;"  &gt;TMOD&lt;span style=""&gt;      &lt;/span&gt;Timer mode&lt;span style=""&gt;               &lt;/span&gt;89h&lt;span style=""&gt;      &lt;/span&gt;&lt;span style=""&gt;       &lt;/span&gt;(Function)&lt;span style=""&gt;           &lt;/span&gt;&lt;span style=""&gt;            &lt;/span&gt;&lt;span style=""&gt;            &lt;/span&gt;00h&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in; text-align: justify;"&gt;&lt;b style=""&gt;&lt;span style=";font-family:&amp;quot;;font-size:12;"  &gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in; text-align: justify;"&gt;&lt;u&gt;&lt;span style=";font-family:&amp;quot;;font-size:14;"  &gt;Port 1: &lt;/span&gt;&lt;/u&gt;&lt;span style=";font-family:&amp;quot;;font-size:14;"  &gt;(#1-#8) Port 1 is an 8-bit bi-directional I/O port with internal pull-ups. Port 1 pins that have 1s written to them are pulled high by the internal pull-ups, and in that state can be used as inputs. As inputs, port 1 pins that are externally being pulled low will source current because of the internal pull-ups. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in; text-align: justify;"&gt;&lt;u&gt;&lt;span style=";font-family:&amp;quot;;font-size:14;"  &gt;&lt;o:p&gt;&lt;span style="text-decoration: none;"&gt; &lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/u&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in; text-align: justify;"&gt;&lt;u&gt;&lt;span style=";font-family:&amp;quot;;font-size:14;"  &gt;&lt;o:p&gt;&lt;span style="text-decoration: none;"&gt; &lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/u&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in; text-align: justify;"&gt;&lt;u&gt;&lt;span style=";font-family:&amp;quot;;font-size:14;"  &gt;&lt;o:p&gt;&lt;span style="text-decoration: none;"&gt; &lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/u&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in; text-align: justify;"&gt;&lt;u&gt;&lt;span style=";font-family:&amp;quot;;font-size:14;"  &gt;&lt;o:p&gt;&lt;span style="text-decoration: none;"&gt; &lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/u&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in; text-align: justify;"&gt;&lt;u&gt;&lt;span style=";font-family:&amp;quot;;font-size:14;"  &gt;&lt;o:p&gt;&lt;span style="text-decoration: none;"&gt; &lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/u&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in; text-align: justify;"&gt;&lt;u&gt;&lt;span style=";font-family:&amp;quot;;font-size:14;"  &gt;&lt;o:p&gt;&lt;span style="text-decoration: none;"&gt; &lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/u&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in; text-align: justify;"&gt;&lt;u&gt;&lt;span style=";font-family:&amp;quot;;font-size:14;"  &gt;&lt;o:p&gt;&lt;span style="text-decoration: none;"&gt; &lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/u&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in; text-align: justify;"&gt;&lt;u&gt;&lt;span style=";font-family:&amp;quot;;font-size:14;"  &gt;RST: (#9)&lt;/span&gt;&lt;/u&gt;&lt;span style=";font-family:&amp;quot;;font-size:14;"  &gt; Reset. A high on this pin for two machine cycles while the oscillator is running, resets the device. An internal diffused resistor to Vss permits a power-on reset using only an external capacitor to Vcc.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in; text-align: justify;"&gt;&lt;u&gt;&lt;span style=";font-family:&amp;quot;;font-size:14;"  &gt;&lt;o:p&gt;&lt;span style="text-decoration: none;"&gt; &lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/u&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in; text-align: justify;"&gt;&lt;u&gt;&lt;span style=";font-family:&amp;quot;;font-size:14;"  &gt;Port 3: &lt;/span&gt;&lt;/u&gt;&lt;span style=";font-family:&amp;quot;;font-size:14;"  &gt;(#10-#17) Port 3 is an 8-bit bi-directional I/O port with internal pull-ups. It also serves the functions of various special features of the 80C51 Family as follows:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in; text-align: justify;"&gt;&lt;i style=""&gt;&lt;u&gt;&lt;span style=";font-family:&amp;quot;;font-size:14;"  &gt;&lt;o:p&gt;&lt;span style="text-decoration: none;"&gt; &lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/u&gt;&lt;/i&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in; text-align: justify;"&gt;&lt;b style=""&gt;&lt;i style=""&gt;&lt;u&gt;&lt;span style=";font-family:&amp;quot;;font-size:14;"  &gt;Port Pin&lt;/span&gt;&lt;/u&gt;&lt;/i&gt;&lt;/b&gt;&lt;b style=""&gt;&lt;i style=""&gt;&lt;span style=";font-family:&amp;quot;;font-size:14;"  &gt;&lt;span style=""&gt; &lt;/span&gt;&lt;u&gt;Pin #&lt;/u&gt;&lt;span style=""&gt;           &lt;/span&gt;&lt;u&gt;Alternate Function&lt;/u&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;b style=""&gt;&lt;span style=";font-family:&amp;quot;;font-size:14;"  &gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in; text-align: justify;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:14;"  &gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in; text-align: justify;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:14;"  &gt;P3.0&lt;span style=""&gt;                 &lt;/span&gt;10&lt;span style=""&gt;               &lt;/span&gt;RXD (serial input port)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in; text-align: justify;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:14;"  &gt;P3.1&lt;span style=""&gt;                 &lt;/span&gt;11&lt;span style=""&gt;               &lt;/span&gt;TXD (serial output port)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in; text-align: justify;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:14;"  &gt;P3.2&lt;span style=""&gt;                 &lt;/span&gt;12&lt;span style=""&gt;               &lt;/span&gt;INT0\ (external interrupt 0)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in; text-align: justify;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:14;"  &gt;P3.3&lt;span style=""&gt;                 &lt;/span&gt;13&lt;span style=""&gt;               &lt;/span&gt;INT1\ (external interrupt 1)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in; text-align: justify;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:14;"  &gt;P3.4&lt;span style=""&gt;                 &lt;/span&gt;14&lt;span style=""&gt;               &lt;/span&gt;T0 (timer 0 external input)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in; text-align: justify;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:14;"  &gt;P3.5&lt;span style=""&gt;                 &lt;/span&gt;15&lt;span style=""&gt;               &lt;/span&gt;T1 (timer 1 external input)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in; text-align: justify;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:14;"  &gt;P3.6&lt;span style=""&gt;                 &lt;/span&gt;16&lt;span style=""&gt;               &lt;/span&gt;WR\ (external data memory write strobe)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in; text-align: justify;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:14;"  &gt;P3.7&lt;span style=""&gt;                 &lt;/span&gt;17&lt;span style=""&gt;               &lt;/span&gt;RD\ (external data memory read strobe)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in; text-align: justify;"&gt;&lt;u&gt;&lt;span style=";font-family:&amp;quot;;font-size:14;"  &gt;&lt;o:p&gt;&lt;span style="text-decoration: none;"&gt; &lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/u&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in; text-align: justify;"&gt;&lt;u&gt;&lt;span style=";font-family:&amp;quot;;font-size:14;"  &gt;XTAL2: (#18)&lt;/span&gt;&lt;/u&gt;&lt;span style=";font-family:&amp;quot;;font-size:14;"  &gt; Output from the inverting oscillator amplifier.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in; text-align: justify;"&gt;&lt;u&gt;&lt;span style=";font-family:&amp;quot;;font-size:14;"  &gt;&lt;o:p&gt;&lt;span style="text-decoration: none;"&gt; &lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/u&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in; text-align: justify;"&gt;&lt;u&gt;&lt;span style=";font-family:&amp;quot;;font-size:14;"  &gt;XTAL1:(#19)&lt;/span&gt;&lt;/u&gt;&lt;span style=";font-family:&amp;quot;;font-size:14;"  &gt; Input to the inverting oscillator amplifier.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in; text-align: justify;"&gt;&lt;u&gt;&lt;span style=";font-family:&amp;quot;;font-size:14;"  &gt;&lt;o:p&gt;&lt;span style="text-decoration: none;"&gt; &lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/u&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in; text-align: justify;"&gt;&lt;u&gt;&lt;span style=";font-family:&amp;quot;;font-size:14;"  &gt;Vss: (#20)&lt;/span&gt;&lt;/u&gt;&lt;span style=";font-family:&amp;quot;;font-size:14;"  &gt; Circuit ground potential&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in; text-align: justify;"&gt;&lt;u&gt;&lt;span style=";font-family:&amp;quot;;font-size:14;"  &gt;&lt;o:p&gt;&lt;span style="text-decoration: none;"&gt; &lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/u&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in; text-align: justify;"&gt;&lt;u&gt;&lt;span style=";font-family:&amp;quot;;font-size:14;"  &gt;Port 2: (#21-#28)&lt;/span&gt;&lt;/u&gt;&lt;span style=";font-family:&amp;quot;;font-size:14;"  &gt; Port 2 is an 8-bit bi-directional I/O port with internal pull-ups. Port 2 emits the high-order address byte during accesses to external memory that use &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in; text-align: justify;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:14;"  &gt;16-bit addresses. In this application, it uses the strong internal pullups when emitting 1s. More About the Ports&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in; text-align: justify;"&gt;&lt;u&gt;&lt;span style=";font-family:&amp;quot;;font-size:14;"  &gt;&lt;o:p&gt;&lt;span style="text-decoration: none;"&gt; &lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/u&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in; text-align: justify;"&gt;&lt;u&gt;&lt;span style=";font-family:&amp;quot;;font-size:14;"  &gt;pSEN\:(#29)&lt;/span&gt;&lt;/u&gt;&lt;span style=";font-family:&amp;quot;;font-size:14;"  &gt; Program Store Enable is the read strobe to external Program Memory. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in; text-align: justify;"&gt;&lt;u&gt;&lt;span style=";font-family:&amp;quot;;font-size:14;color:black;"   &gt;&lt;o:p&gt;&lt;span style="text-decoration: none;"&gt; &lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/u&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in; text-align: justify;"&gt;&lt;u&gt;&lt;span style=";font-family:&amp;quot;;font-size:14;color:black;"   &gt;ALE/PROG&lt;/span&gt;&lt;/u&gt;&lt;u&gt;&lt;span style=";font-family:&amp;quot;;font-size:14;"  &gt;:(#30)&lt;/span&gt;&lt;/u&gt;&lt;span style=";font-family:&amp;quot;;font-size:14;"  &gt; Address Latch Enable output pulse for latching the low byte of the address during accesses to external memory. ALE is emitted at a constant rate of 1/6 of the oscillator frequency, for external timing or clocking purposes, even when there are no accesses to external memory. (However, one ALE pulse is skipped during each access to external Data Memory.) This pin is also the program pulse input (PROG) during EPROM programming.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in; text-align: justify;"&gt;&lt;u&gt;&lt;span style=";font-family:&amp;quot;;font-size:14;"  &gt;&lt;o:p&gt;&lt;span style="text-decoration: none;"&gt; &lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/u&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in; text-align: justify;"&gt;&lt;u&gt;&lt;span style=";font-family:&amp;quot;;font-size:14;"  &gt;&lt;o:p&gt;&lt;span style="text-decoration: none;"&gt; &lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/u&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in; text-align: justify;"&gt;&lt;u&gt;&lt;span style=";font-family:&amp;quot;;font-size:14;"  &gt;&lt;o:p&gt;&lt;span style="text-decoration: none;"&gt; &lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/u&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in; text-align: justify;"&gt;&lt;u&gt;&lt;span style=";font-family:&amp;quot;;font-size:14;"  &gt;&lt;o:p&gt;&lt;span style="text-decoration: none;"&gt; &lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/u&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in; text-align: justify;"&gt;&lt;u&gt;&lt;span style=";font-family:&amp;quot;;font-size:14;"  &gt;EA\ /Vpp: (#31)&lt;/span&gt;&lt;/u&gt;&lt;span style=";font-family:&amp;quot;;font-size:14;"  &gt; When EA\ is held high the CPU executes out of internal Program Memory (unless the Program Counter exceeds 0FFFh in the 80C51). Holding EA\ low forces the CPU to execute out of external memory regardless of the Program counter value. In the 80C31, EA\ must be externally wired low. In the EPROM devices, this pin also receives the programming supply voltage (Vpp) during EPROM programming.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in; text-align: justify;"&gt;&lt;u&gt;&lt;span style=";font-family:&amp;quot;;font-size:14;"  &gt;&lt;o:p&gt;&lt;span style="text-decoration: none;"&gt; &lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/u&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in; text-align: justify;"&gt;&lt;u&gt;&lt;span style=";font-family:&amp;quot;;font-size:14;"  &gt;Port 0: (#39-#32)&lt;/span&gt;&lt;/u&gt;&lt;span style=";font-family:&amp;quot;;font-size:14;"  &gt; Port 0 is an 8-bit open drain bi-directional port. As an open drain output port, it can sink eight LS TTL loads. Port 0 pins that have 1s written to them float, and in that state will function as high impedance inputs. Port 0 is also the multiplexed low-order address and data bus during accesses to external memory. In this application it uses strong internal pull-ups when emitting 1s. Port 0 emits code bytes during program verification. In this application, external pull-ups are required. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in; text-align: justify;"&gt;&lt;u&gt;&lt;span style=";font-family:&amp;quot;;font-size:14;"  &gt;&lt;o:p&gt;&lt;span style="text-decoration: none;"&gt; &lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/u&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in; text-align: justify;"&gt;&lt;u&gt;&lt;span style=";font-family:&amp;quot;;font-size:14;"  &gt;Vcc: (#40)&lt;/span&gt;&lt;/u&gt;&lt;span style=";font-family:&amp;quot;;font-size:14;"  &gt; Supply Voltage.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in; text-align: justify;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:14;"  &gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;h4 style="margin-left: -0.25in;"&gt;&lt;i&gt;TIMERS AND COUNTERS:-&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/h4&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in; text-align: justify;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:14;"  &gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in; text-align: justify;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:14;"  &gt;The 80C51 has two 16-bit Timer/Counter registers: Timer 0 and Timer 1. Both can be configured to operate either as timers or event counters. In addition to the "Timer" or "Counter" selection, Timer 0 and Timer 1 have four operating modes from which to select.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in; text-align: justify;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:14;"  &gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in; text-align: justify;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:14;"  &gt;Timer 0 &amp;amp; Timer 1:-&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in; text-align: justify;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:14;"  &gt;Control bits C/T in the Special Function Register TMOD select the "Timer" or "Counter" function. These two Timer/Counters have four operating modes, which are selected by bit-pairs (M1,M0) in TMOD. Modes 0, 1, and 2 are the same for both Timers/Counters. Mode 3 is different.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;h3 style="margin-left: -0.25in;"&gt;Mode 0:-&lt;/h3&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in; text-align: justify;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:14;"  &gt;&lt;span style=""&gt;     &lt;/span&gt;In this mode, the Timer register is configured as a 13-bit register. As the count rolls over from all 1s to all 0s, it sets the Timer interrupt flag TFx. The counted input is enabled to the Timer when TRx=1 and either GATE=0 or INTx\=1. Rx is a control bit in the Special Function Register TCON. GATE is in TMOD.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in; text-align: justify;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:14;"  &gt;The 13-bit register consists of all 8 bits of THX and the lower 5 bits of TLx. The upper 3 bits of TLx are indeterminate and should be ignored. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in; text-align: justify;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:14;"  &gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;h3 style="margin-left: -0.25in;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/h3&gt;  &lt;h3 style="margin-left: -0.25in;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/h3&gt;  &lt;h3 style="margin-left: -0.25in;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/h3&gt;  &lt;h3 style="margin-left: -0.25in;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/h3&gt;  &lt;h3 style="margin-left: -0.25in;"&gt;Mode 1:-&lt;/h3&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in; text-align: justify;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:14;"  &gt;&lt;span style=""&gt;     &lt;/span&gt;Mode 1 is the same as Mode 0, except that the Timer register is being run with all 16 bits.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in; text-align: justify;"&gt;&lt;i style=""&gt;&lt;span style=";font-family:&amp;quot;;font-size:14;"  &gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;  &lt;h3 style="margin-left: -0.25in;"&gt;Mode 2:-&lt;/h3&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in; text-align: justify;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:14;"  &gt;&lt;span style=""&gt;     &lt;/span&gt;Mode 2 configures the Timer register as an 8-bit Counter (TLx) with automatic reload. Overflow from TLx not only sets TFx, but also reloads TLx with the contents of THx, which is preset by software. The reload leaves THx unchanged.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in; text-align: justify;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:14;"  &gt;Mode 2 operation is the same for both Timer/Counters.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in; text-align: justify;"&gt;&lt;i style=""&gt;&lt;span style=";font-family:&amp;quot;;font-size:14;"  &gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;  &lt;h3 style="margin-left: -0.25in;"&gt;Mode 3:-&lt;/h3&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in; text-align: justify;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:14;"  &gt;&lt;span style=""&gt;     &lt;/span&gt;Timer 1 in Mode 3 simply holds its count. The effect is the same as setting TR1=0.Timer 0 in Mode 3 establishes TL0 and TH0 as two separate counters. TL0 uses the Timer 0 control bits: C/T, GATE, TR0, INT0, and TF0. TH0 is locked into a timer function (counting machine cycles) and takes over the use of TR1 and TF1 from Timer 1. Thus, TH0 now controls the "Timer 1" interrupt.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in; text-align: justify;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:14;"  &gt;Mode 3 is provided for applications requiring an extra 8-bit timer on the counter. With Timer 0 in Mode 3, an 80C51 can look like it has three Timer/Counters. When Timer 0 is in Mode 3, Timer 1 can be turned on and off by switching it out of and into its own Mode 3, or can still be used by the serial port as a baud rate generator, or in fact, in any application not requiring an interrupt.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in; text-align: justify;"&gt;&lt;u&gt;&lt;span style="font-size:14;"&gt;&lt;o:p&gt;&lt;span style="text-decoration: none;"&gt; &lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/u&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in; text-align: justify;"&gt;&lt;u&gt;&lt;span style=";font-family:&amp;quot;;font-size:14;"  &gt;DETAILS ABOUT SFR'S &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/u&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in; text-align: justify;"&gt;&lt;u&gt;&lt;span style=";font-family:&amp;quot;;font-size:14;"  &gt;USED FOR TIMER/COUNTER MANIPULATIONS&lt;/span&gt;&lt;/u&gt;&lt;span style=";font-family:&amp;quot;;font-size:14;"  &gt;:-&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in; text-align: justify;"&gt;&lt;span style=""&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in; text-align: justify;"&gt;&lt;span style=""&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in; text-align: justify;"&gt;&lt;i style=""&gt;&lt;u&gt;&lt;span style=";font-family:&amp;quot;;font-size:14;"  &gt;TCON&lt;/span&gt;&lt;/u&gt;&lt;/i&gt;&lt;i style=""&gt;&lt;span style=";font-family:&amp;quot;;font-size:14;"  &gt;: Timer/Counter Control Register. Bit Addressable.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in; text-align: justify;"&gt;&lt;span style=""&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in; text-align: justify;"&gt;&lt;span style=""&gt;&lt;span style=""&gt; &lt;/span&gt;&lt;!--[if gte vml 1]&gt;&lt;v:shapetype id="_x0000_t75" coordsize="21600,21600" spt="75" preferrelative="t" path="m@4@5l@4@11@9@11@9@5xe" filled="f" stroked="f"&gt;  &lt;v:stroke joinstyle="miter"&gt;  &lt;v:formulas&gt;   &lt;v:f eqn="if lineDrawn pixelLineWidth 0"&gt;   &lt;v:f eqn="sum @0 1 0"&gt;   &lt;v:f eqn="sum 0 0 @1"&gt;   &lt;v:f eqn="prod @2 1 2"&gt;   &lt;v:f eqn="prod @3 21600 pixelWidth"&gt;   &lt;v:f eqn="prod @3 21600 pixelHeight"&gt;   &lt;v:f eqn="sum @0 0 1"&gt;   &lt;v:f eqn="prod @6 1 2"&gt;   &lt;v:f eqn="prod @7 21600 pixelWidth"&gt;   &lt;v:f eqn="sum @8 21600 0"&gt;   &lt;v:f eqn="prod @7 21600 pixelHeight"&gt;   &lt;v:f eqn="sum @10 21600 0"&gt;  &lt;/v:formulas&gt;  &lt;v:path extrusionok="f" gradientshapeok="t" connecttype="rect"&gt;  &lt;o:lock ext="edit" aspectratio="t"&gt; &lt;/v:shapetype&gt;&lt;v:shape id="_x0000_i1025" type="#_x0000_t75" style="'width:282.75pt;" ole=""&gt;  &lt;v:imagedata src="file:///C:\DOCUME~1\admin\LOCALS~1\Temp\msohtmlclip1\01\clip_image001.gif" title=""&gt; &lt;/v:shape&gt;&lt;![endif]--&gt;&lt;!--[if !vml]--&gt;&lt;img src="file:///C:/DOCUME%7E1/admin/LOCALS%7E1/Temp/msohtmlclip1/01/clip_image001.gif" shapes="_x0000_i1025" height="37" width="377" /&gt;&lt;!--[endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;o:oleobject type="Embed" progid="PBrush" shapeid="_x0000_i1025" drawaspect="Content" objectid="_1270363587"&gt;  &lt;/o:OLEObject&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in; text-align: justify;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:14;"  &gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in; text-align: justify;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:14;"  &gt;TF1&lt;span style=""&gt;      &lt;/span&gt;Timer 1 overflow flag. Set by hardware when the Timer/Counter 1 &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in; text-align: justify;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:14;"  &gt;&lt;span style=""&gt;     &lt;/span&gt;&lt;span style=""&gt;        &lt;/span&gt;overflows.&lt;span style=""&gt;    &lt;/span&gt;Cleared by hardware as processor vectors to the interrupt&lt;span style=""&gt;    &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in; text-align: justify;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:14;"  &gt;service routine.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in; text-align: justify;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:14;"  &gt;TR1&lt;span style=""&gt;       &lt;/span&gt;Timer 1 run control bit. Set/cleared by software to turn Timer/Counter 1 ON/OFF.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in; text-align: justify;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:14;"  &gt;TF0&lt;span style=""&gt;        &lt;/span&gt;Timer 0 overflow flag. Set by hardware when the Timer/Counter 0 overflows. &lt;span style=""&gt;  &lt;/span&gt;Cleared by hardware as processor vectors to the service routine.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in; text-align: justify;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:14;"  &gt;TR0&lt;span style=""&gt;       &lt;/span&gt;Timer 0 run control bit. Set/cleared by software to turn Timer/Counter 0 ON/OFF.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in; text-align: justify;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:14;"  &gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in; text-align: justify;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:14;"  &gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in; text-align: justify;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:14;"  &gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in; text-align: justify;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:14;"  &gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in; text-align: justify;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:14;"  &gt;IE1&lt;span style=""&gt;      &lt;/span&gt;External Interrupt 1 edge flag. Set by hardware when External Interrupt edge &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in; text-align: justify;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:14;"  &gt;Is ducted. Cleared by hardware when interrupt is processed.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in; text-align: justify;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:14;"  &gt;IT1&lt;span style=""&gt;      &lt;/span&gt;Interrupt 1 type control bit. Set/cleared by software to specify falling edge/low &lt;span style=""&gt;   &lt;/span&gt;&lt;span style=""&gt; &lt;/span&gt;level triggered External Interrupt.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in; text-align: justify;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:14;"  &gt;IE0&lt;span style=""&gt;         &lt;/span&gt;External Interrupt 0 edge flag. Set by hardware when External Interrupt edge&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in; text-align: justify;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:14;"  &gt;&lt;span style=""&gt; &lt;/span&gt;Is detected. Cleared by hardware when interrupt is processed.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in; text-align: justify;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:14;"  &gt;IT0&lt;span style=""&gt;         &lt;/span&gt;Interrupt 0-type control bit. Set/cleared by software to specify falling &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in; text-align: justify;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:14;"  &gt;edge/low&lt;span style=""&gt;  &lt;/span&gt;level triggered External Interrupt.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in; text-align: justify;"&gt;&lt;span style=""&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in; text-align: justify;"&gt;&lt;i style=""&gt;&lt;span style=";font-family:&amp;quot;;font-size:11;"  &gt;TMOD: Timer/Counter Mode Control Register. Not Bit Addressable&lt;/span&gt;&lt;/i&gt;&lt;span style=";font-family:&amp;quot;;font-size:11;"  &gt;.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in; text-align: justify;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:11;"  &gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in; text-align: justify;"&gt;&lt;span style=""&gt;&lt;!--[if gte vml 1]&gt;&lt;v:shape id="_x0000_i1026" type="#_x0000_t75" style="'width:276pt;height:31.5pt'" ole=""&gt;  &lt;v:imagedata src="file:///C:\DOCUME~1\admin\LOCALS~1\Temp\msohtmlclip1\01\clip_image002.gif" title=""&gt; &lt;/v:shape&gt;&lt;![endif]--&gt;&lt;!--[if !vml]--&gt;&lt;img src="file:///C:/DOCUME%7E1/admin/LOCALS%7E1/Temp/msohtmlclip1/01/clip_image002.gif" shapes="_x0000_i1026" height="42" width="368" /&gt;&lt;!--[endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;o:oleobject type="Embed" progid="PBrush" shapeid="_x0000_i1026" drawaspect="Content" objectid="_1270363588"&gt;  &lt;/o:OLEObject&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in; text-align: justify;"&gt;&lt;span style=""&gt;&lt;span style=""&gt;              &lt;/span&gt;&lt;u&gt;Timer 1&lt;/u&gt;&lt;span style=""&gt;                           &lt;/span&gt;&lt;span style=""&gt;           &lt;/span&gt;&lt;u&gt;Timer 0&lt;/u&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in; text-align: justify;"&gt;&lt;span style=""&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in; text-align: justify;"&gt;&lt;span style=""&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in; text-align: justify;"&gt;&lt;span style=""&gt;GATE&lt;span style=""&gt;                            &lt;/span&gt;When TRx (in TCON) is set and GATE=1, Timer/CounterX will run &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in; text-align: justify;"&gt;&lt;span style=""&gt;&lt;span style=""&gt;                         &lt;/span&gt;only while INTx pin is high (hardware control). When GATE=0,&lt;span style=""&gt;                                                       &lt;/span&gt;Timer/CounterX will run only while TRx=1 (software control).&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in; text-align: justify;"&gt;&lt;span style=""&gt;C/T&lt;span style=""&gt;                 &lt;/span&gt;Timer or Counter selector. Cleared for Timer operation (input from &lt;span style=""&gt;                               &lt;/span&gt;internal system clock). Set for Counter operation &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in; text-align: justify;"&gt;&lt;span style=""&gt;(input from TX input&lt;span style=""&gt;   &lt;/span&gt;pin).&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in; text-align: justify;"&gt;&lt;span style=""&gt;M1&lt;span style=""&gt;                  &lt;/span&gt;Mode selector bit.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in; text-align: justify;"&gt;&lt;span style=""&gt;M0&lt;span style=""&gt;                  &lt;/span&gt;Mode selector bit.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in; text-align: justify;"&gt;&lt;span style=""&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in; text-align: justify;"&gt;&lt;u&gt;&lt;span style=""&gt;M1&lt;/span&gt;&lt;/u&gt;&lt;span style=""&gt;&lt;span style=""&gt;  &lt;/span&gt;&lt;u&gt;M0&lt;/u&gt;&lt;span style=""&gt;                          &lt;/span&gt;&lt;u&gt;Mode&lt;/u&gt;&lt;span style=""&gt;    &lt;/span&gt;&lt;u&gt;Operating Mode&lt;/u&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in; text-align: justify;"&gt;&lt;span style=""&gt;0&lt;span style=""&gt;      &lt;/span&gt;0&lt;span style=""&gt;                              &lt;/span&gt;0&lt;span style=""&gt;              &lt;/span&gt;13-bit Timer (8048 compatible)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in; text-align: justify;"&gt;&lt;span style=""&gt;0&lt;span style=""&gt;      &lt;/span&gt;1&lt;span style=""&gt;                              &lt;/span&gt;1&lt;span style=""&gt;              &lt;/span&gt;16-bit Timer/Counter&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in; text-align: justify;"&gt;&lt;span style=""&gt;1&lt;span style=""&gt;      &lt;/span&gt;0&lt;span style=""&gt;                              &lt;/span&gt;2&lt;span style=""&gt;              &lt;/span&gt;8-bit Auto-Reload Timer/Counter&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in; text-align: justify;"&gt;&lt;span style=""&gt;1&lt;span style=""&gt;      &lt;/span&gt;1&lt;span style=""&gt;                              &lt;/span&gt;3&lt;span style=""&gt;              &lt;/span&gt;(Timer 0) TL0 is an 8-bit Timer/Counter controlled by &lt;span style=""&gt;                                         &lt;/span&gt;&lt;span style=""&gt;            &lt;/span&gt;the standard Timer 0 control bits. TH0 is an 8-bit Timer &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in; text-align: justify;"&gt;&lt;span style=""&gt;And is &lt;span style=""&gt;           &lt;/span&gt;controlled by Timer 1 control bits.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in; text-align: justify;"&gt;&lt;span style=""&gt;1&lt;span style=""&gt;      &lt;/span&gt;1&lt;span style=""&gt;                              &lt;/span&gt;3&lt;span style=""&gt;              &lt;/span&gt;(Timer 1) Timer/Counter 1 stopped.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in;"&gt;&lt;u&gt;&lt;span style=";font-family:&amp;quot;;font-size:14;"  &gt;SERIAL PORT SET-UP IN 8051&lt;/span&gt;&lt;/u&gt;&lt;span style=";font-family:&amp;quot;;font-size:14;"  &gt;: -&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:12;"  &gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:14;"  &gt;The serial port is full duplex, meaning it can transmit and receive simultaneously. It is also receive-buffered, meaning it can commence reception of a second byte before a previously received byte has been read from the register. (However, if the first byte still hasn't been read by the time reception of the second byte is complete, one of the bytes will be lost.) The serial port receive and transmit registers are both accessed at Special Function Register &lt;i style=""&gt;SBUF&lt;/i&gt;. Writing to &lt;i style=""&gt;SBUF&lt;/i&gt; loads the transmit register, and reading SBUF accesses a physically separate receive register.&lt;span style="color:black;"&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:12;color:black;"   &gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in;"&gt;&lt;u&gt;&lt;span style=";font-family:&amp;quot;;font-size:12;color:black;"   &gt;&lt;o:p&gt;&lt;span style="text-decoration: none;"&gt; &lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/u&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in;"&gt;&lt;u&gt;&lt;span style=";font-family:&amp;quot;;font-size:12;color:black;"   &gt;&lt;o:p&gt;&lt;span style="text-decoration: none;"&gt; &lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/u&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in;"&gt;&lt;u&gt;&lt;span style=";font-family:&amp;quot;;font-size:12;color:black;"   &gt;&lt;o:p&gt;&lt;span style="text-decoration: none;"&gt; &lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/u&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in;"&gt;&lt;u&gt;&lt;span style=";font-family:&amp;quot;;font-size:12;color:black;"   &gt;&lt;o:p&gt;&lt;span style="text-decoration: none;"&gt; &lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/u&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in;"&gt;&lt;u&gt;&lt;span style=";font-family:&amp;quot;;font-size:12;color:black;"   &gt;&lt;o:p&gt;&lt;span style="text-decoration: none;"&gt; &lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/u&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in;"&gt;&lt;u&gt;&lt;span style=";font-family:&amp;quot;;font-size:12;color:black;"   &gt;DATA TRANSMISSION:&lt;/span&gt;&lt;/u&gt;&lt;span style=";font-family:&amp;quot;;font-size:12;color:black;"   &gt; -&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:12;color:black;"   &gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoBodyTextIndent"&gt;&lt;span style=""&gt;     &lt;/span&gt;Transmission of serial data bits begins anytime data is written to sbuf. " TI "&lt;span style=""&gt;  &lt;/span&gt;(SCON) set to 1 when data has been transmitted and signifies that " SBUF " is empty and that another data byte can be sent.&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:14;color:black;"   &gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in;"&gt;&lt;u&gt;&lt;span style=";font-family:&amp;quot;;font-size:12;color:black;"   &gt;DATA RECEPTION:&lt;/span&gt;&lt;/u&gt;&lt;span style=";font-family:&amp;quot;;font-size:12;color:black;"   &gt; -&lt;/span&gt;&lt;span style=";font-family:&amp;quot;;font-size:14;color:black;"   &gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:14;color:black;"   &gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:14;color:black;"   &gt;&lt;span style=""&gt;     &lt;/span&gt;Reception of serial data will begin if the receive enable bit (REN) in SCON is set to ' 1 ' for all modes. For mode ' 0 ' only RI must be cleared to 0. Receiver interrupt flag ' RI ' (in SCON) is set after data has been received in all modes. Setting of &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:14;color:black;"   &gt;&lt;span style=""&gt; &lt;/span&gt;' REN ' bit&lt;span style=""&gt;  &lt;/span&gt;is a direct program control that limits the reception of unexpected data.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in; text-align: justify;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:14;"  &gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in;"&gt;&lt;u&gt;&lt;span style=";font-family:&amp;quot;;font-size:14;"  &gt;The serial port can operate in 4 modes:&lt;span style="color:black;"&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/u&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:14;color:black;"   &gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:14;color:black;"   &gt;Mode 0: - &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:14;color:black;"   &gt;Serial data enters and exits through RXD. TXD output the shift clock. 8 bits are transmitted/received (LSB first). The baud rate is fixed at 1/12 the oscillator frequency.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:14;color:black;"   &gt;Mode 1:- &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:14;color:black;"   &gt;10 bits are transmitted (through TxD) or received (through RxD): a start bit (0), 8 data bits (LSB first), and a stop bit (1). On receive, the stop bit goes into RB8 in Special Function Register SCON. The baud rate is variable. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:14;color:black;"   &gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:14;color:black;"   &gt;Mode 2: &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:14;color:black;"   &gt;11 bits are transmitted (through TXD) or received (through RXD): start bit (0), 8 data bits (LSB first), a programmable 9th data bit, and a stop bit (1). On Transmit, the 9th data bit (TB8 in SCON) can be assigned the value of 0 or 1. Or, for example, the parity bit (P, in the PSW) could be moved into TB8. On receive the 9th data bit goes into RB8 in Special Function Register SCON, while the stop bit is ignored. The baud rate is programmable to either 1/32 or 1/64 the oscillator frequency. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:14;color:black;"   &gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:14;color:black;"   &gt;Mode 3:11 bits are transmitted (through TxD) or received (through RxD): a start bit (0), 8 data bits (LSB first), a programmable 9th data bit, and a stop bit (1). In fact, Mode 3 is the same as Mode 2 in all aspects except baud rate. The baud rate in Mode 3 is variable. More About Modes 2 and 3&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:14;color:black;"   &gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: -0.25in;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:14;color:black;"   &gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  ENJOY......................................KSHATRIYA A WARRIOR&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7959422847583609906-5877279406089160349?l=technomission4u.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://technomission4u.blogspot.com/feeds/5877279406089160349/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7959422847583609906&amp;postID=5877279406089160349' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7959422847583609906/posts/default/5877279406089160349'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7959422847583609906/posts/default/5877279406089160349'/><link rel='alternate' type='text/html' href='http://technomission4u.blogspot.com/2008/04/microntrollers.html' title='MICROCONTROLLERS'/><author><name>KSHATRIYA...... A  WARRIOR</name><uri>http://www.blogger.com/profile/08027566963329958732</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
