{"id":325,"date":"2024-06-02T05:47:51","date_gmt":"2024-06-01T22:47:51","guid":{"rendered":"http:\/\/www.tneutron.net\/mikro\/?p=325"},"modified":"2024-05-31T07:54:27","modified_gmt":"2024-05-31T00:54:27","slug":"at89s51-microcontroller-architecture","status":"publish","type":"post","link":"https:\/\/www.tneutron.net\/mikro\/at89s51-microcontroller-architecture\/","title":{"rendered":"AT89S51 Microcontroller Architecture"},"content":{"rendered":"<p><span class=\"notranslate\">The architecture of the microcontroller AT89S51 can be seen as follows:<\/span><\/p>\n<p><a href=\"http:\/\/i0.wp.com\/www.tneutron.net\/mikro\/wp-content\/uploads\/sites\/5\/2015\/08\/image.png\"><img loading=\"lazy\" decoding=\"async\" title=\"image\" src=\"http:\/\/i1.wp.com\/www.tneutron.net\/mikro\/wp-content\/uploads\/sites\/5\/2015\/08\/image_thumb2.png?resize=438%2C327\" alt=\"image\" width=\"438\" height=\"327\" border=\"0\" \/><\/a><\/p>\n<p><span class=\"notranslate\"> Block diagram Figure 15 microcontroller 89S51<\/span><\/p>\n<p><span class=\"notranslate\"> 8051 microcontroller and memory architecture can be seen in the picture<\/span><\/p>\n<p><a href=\"http:\/\/i1.wp.com\/www.tneutron.net\/mikro\/wp-content\/uploads\/sites\/5\/2015\/08\/image9.png\"><img loading=\"lazy\" decoding=\"async\" title=\"image\" src=\"http:\/\/i2.wp.com\/www.tneutron.net\/mikro\/wp-content\/uploads\/sites\/5\/2015\/08\/image_thumb8.png?resize=393%2C227\" alt=\"image\" width=\"393\" height=\"227\" border=\"0\" \/><\/a><\/p>\n<p><span class=\"notranslate\"> Figure 16 Memory Microcontroller Architecture 8051<\/span><\/p>\n<p><span class=\"notranslate\"> <strong>Facility Timer and Counter<\/strong><\/span><br \/>\n<span class=\"notranslate\"> Many microcontroller applications require the counting of external events, such as the frequency of the pulse or the generation of internal time delay between computers.<\/span> <span class=\"notranslate\"> Both of these examples can be performed using software techniques, but the loop software for counting or timing mejadikan overburdened processors.<\/span> <span class=\"notranslate\"> Therefore, to avoid this we can use the facilities available in the microcontroller in the form of 16-bit up counter named T0 and T1.<\/span> <span class=\"notranslate\"> Each counter may be programmed to count internal clock pulses, to act as a timer or be programmed as a counter to count external pulses.<\/span><\/p>\n<p><span class=\"notranslate\"> <strong>Interruption Timer Counter<\/strong><\/span><br \/>\n<span class=\"notranslate\"> Counter has been incorporated into the chip, the processor can do the job sehigga counting and timing.<\/span> <span class=\"notranslate\"> When a program wants to count a certain number of pulses internal or external events, a figure placed on the counter.<\/span> <span class=\"notranslate\"> Counter is incremented from the initial figure to the maximum and then back to zero at the end of the pulse, and also set the timer flag.<\/span> <span class=\"notranslate\"> Flag condition tested by a nstruksi to tell the program that the matter has been done or flags are used to meninterupsi program.<\/span><\/p>\n<p><a href=\"http:\/\/i2.wp.com\/www.tneutron.net\/mikro\/wp-content\/uploads\/sites\/5\/2015\/08\/image13.png\"><img loading=\"lazy\" decoding=\"async\" title=\"image\" src=\"http:\/\/i0.wp.com\/www.tneutron.net\/mikro\/wp-content\/uploads\/sites\/5\/2015\/08\/image_thumb13.png?resize=444%2C227\" alt=\"image\" width=\"444\" height=\"227\" border=\"0\" \/><\/a><\/p>\n<p><span class=\"notranslate\"> Figure 17 Logic Control Timer \/ Counter<\/span><\/p>\n<p><span class=\"notranslate\"> <strong>Serial Data Input \/ Output<\/strong><\/span><br \/>\n<span class=\"notranslate\"> The computer is to be able to communicate with other computers.<\/span> <span class=\"notranslate\"> One inexpensive way to communicate is to send and receive serial data bits.<\/span> <span class=\"notranslate\"> 8051 has a serial data communication circuit that uses SBUF registers to retain data.<\/span> <span class=\"notranslate\"> Register SCON controls data communications, data rate control register PCON.<\/span> <span class=\"notranslate\"> And RDX pin (P3.0) and TDX (P3.1) connects to a serial data network.<\/span><\/p>\n<p><span class=\"notranslate\"> SBUF physically consists of two registers.<\/span> <span class=\"notranslate\"> One is just to write and is used to maintain the data to be transmitted via the TDX 8051.<\/span> <span class=\"notranslate\"> The other is simply to read and maintain data received from external sources via RDX.<\/span> <span class=\"notranslate\"> The two are not separated using address 99h.<\/span> <span class=\"notranslate\"> There are four programmable modes for serial data communications is selected by setting bits in the SCON SMX.<\/span> <span class=\"notranslate\"> Baud rate is determined by the selected mode.<\/span> <span class=\"notranslate\"> Figure 1.17 shows the bit assignments for SCON and PCON.<\/span><\/p>\n<p><span class=\"notranslate\"> <strong>Interruptions Serial Data<\/strong><\/span><br \/>\n<span class=\"notranslate\"> Serial data communication is communication process relatively slow, taking several ms per byte of data to do so.<\/span><\/p>\n<p><a href=\"http:\/\/i2.wp.com\/www.tneutron.net\/mikro\/wp-content\/uploads\/sites\/5\/2015\/08\/image14.png\"><img loading=\"lazy\" decoding=\"async\" title=\"image\" src=\"http:\/\/i0.wp.com\/www.tneutron.net\/mikro\/wp-content\/uploads\/sites\/5\/2015\/08\/image_thumb14.png?resize=444%2C79\" alt=\"image\" width=\"444\" height=\"79\" border=\"0\" \/><\/a><\/p>\n<p><span class=\"notranslate\"> Figure 18 Function Register SCON and PCON<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>The architecture of the microcontroller AT89S51 can be seen as follows: Block diagram Figure 15 microcontroller 89S51 8051 microcontroller and<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"colormag_page_container_layout":"default_layout","colormag_page_sidebar_layout":"default_layout","footnotes":""},"categories":[1238],"tags":[321,286],"class_list":["post-325","post","type-post","status-publish","format-standard","hentry","category-english","tag-at89s51-architecture","tag-at89s51-microcontroller-architecture"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.9 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>AT89S51 Microcontroller Architecture - TN Mikro<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.tneutron.net\/mikro\/at89s51-microcontroller-architecture\/\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:title\" content=\"AT89S51 Microcontroller Architecture - TN Mikro\" \/>\n<meta name=\"twitter:description\" content=\"The architecture of the microcontroller AT89S51 can be seen as follows: Block diagram Figure 15 microcontroller 89S51 8051 microcontroller and\" \/>\n<meta name=\"twitter:image\" content=\"http:\/\/i1.wp.com\/www.tneutron.net\/mikro\/wp-content\/uploads\/sites\/5\/2015\/08\/image_thumb2.png?resize=438%2C327\" \/>\n<meta name=\"twitter:creator\" content=\"@t_neutron\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Taufiqullah\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.tneutron.net\\\/mikro\\\/at89s51-microcontroller-architecture\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.tneutron.net\\\/mikro\\\/at89s51-microcontroller-architecture\\\/\"},\"author\":{\"name\":\"Taufiqullah\",\"@id\":\"https:\\\/\\\/www.tneutron.net\\\/mikro\\\/#\\\/schema\\\/person\\\/b57f791b694136047454bb6ac5cbe375\"},\"headline\":\"AT89S51 Microcontroller Architecture\",\"datePublished\":\"2024-06-01T22:47:51+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.tneutron.net\\\/mikro\\\/at89s51-microcontroller-architecture\\\/\"},\"wordCount\":403,\"image\":{\"@id\":\"https:\\\/\\\/www.tneutron.net\\\/mikro\\\/at89s51-microcontroller-architecture\\\/#primaryimage\"},\"thumbnailUrl\":\"http:\\\/\\\/i1.wp.com\\\/www.tneutron.net\\\/mikro\\\/wp-content\\\/uploads\\\/sites\\\/5\\\/2015\\\/08\\\/image_thumb2.png?resize=438%2C327\",\"keywords\":[\"AT89S51 Architecture\",\"at89s51 microcontroller architecture\"],\"articleSection\":[\"English\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.tneutron.net\\\/mikro\\\/at89s51-microcontroller-architecture\\\/\",\"url\":\"https:\\\/\\\/www.tneutron.net\\\/mikro\\\/at89s51-microcontroller-architecture\\\/\",\"name\":\"AT89S51 Microcontroller Architecture - TN Mikro\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.tneutron.net\\\/mikro\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.tneutron.net\\\/mikro\\\/at89s51-microcontroller-architecture\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.tneutron.net\\\/mikro\\\/at89s51-microcontroller-architecture\\\/#primaryimage\"},\"thumbnailUrl\":\"http:\\\/\\\/i1.wp.com\\\/www.tneutron.net\\\/mikro\\\/wp-content\\\/uploads\\\/sites\\\/5\\\/2015\\\/08\\\/image_thumb2.png?resize=438%2C327\",\"datePublished\":\"2024-06-01T22:47:51+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/www.tneutron.net\\\/mikro\\\/#\\\/schema\\\/person\\\/b57f791b694136047454bb6ac5cbe375\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.tneutron.net\\\/mikro\\\/at89s51-microcontroller-architecture\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.tneutron.net\\\/mikro\\\/at89s51-microcontroller-architecture\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.tneutron.net\\\/mikro\\\/at89s51-microcontroller-architecture\\\/#primaryimage\",\"url\":\"http:\\\/\\\/i1.wp.com\\\/www.tneutron.net\\\/mikro\\\/wp-content\\\/uploads\\\/sites\\\/5\\\/2015\\\/08\\\/image_thumb2.png?resize=438%2C327\",\"contentUrl\":\"http:\\\/\\\/i1.wp.com\\\/www.tneutron.net\\\/mikro\\\/wp-content\\\/uploads\\\/sites\\\/5\\\/2015\\\/08\\\/image_thumb2.png?resize=438%2C327\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.tneutron.net\\\/mikro\\\/at89s51-microcontroller-architecture\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.tneutron.net\\\/mikro\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"AT89S51 Microcontroller Architecture\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.tneutron.net\\\/mikro\\\/#website\",\"url\":\"https:\\\/\\\/www.tneutron.net\\\/mikro\\\/\",\"name\":\"TN Mikro\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.tneutron.net\\\/mikro\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.tneutron.net\\\/mikro\\\/#\\\/schema\\\/person\\\/b57f791b694136047454bb6ac5cbe375\",\"name\":\"Taufiqullah\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/dcdf36434717ce57bea7f17eb3c140a2ff8def45941b720aa8fc1cccd6cdd505?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/dcdf36434717ce57bea7f17eb3c140a2ff8def45941b720aa8fc1cccd6cdd505?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/dcdf36434717ce57bea7f17eb3c140a2ff8def45941b720aa8fc1cccd6cdd505?s=96&d=mm&r=g\",\"caption\":\"Taufiqullah\"},\"description\":\"Taufiqullah\",\"sameAs\":[\"http:\\\/\\\/www.tneutron.net\",\"https:\\\/\\\/x.com\\\/t_neutron\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"AT89S51 Microcontroller Architecture - TN Mikro","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.tneutron.net\/mikro\/at89s51-microcontroller-architecture\/","twitter_card":"summary_large_image","twitter_title":"AT89S51 Microcontroller Architecture - TN Mikro","twitter_description":"The architecture of the microcontroller AT89S51 can be seen as follows: Block diagram Figure 15 microcontroller 89S51 8051 microcontroller and","twitter_image":"http:\/\/i1.wp.com\/www.tneutron.net\/mikro\/wp-content\/uploads\/sites\/5\/2015\/08\/image_thumb2.png?resize=438%2C327","twitter_creator":"@t_neutron","twitter_misc":{"Written by":"Taufiqullah","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.tneutron.net\/mikro\/at89s51-microcontroller-architecture\/#article","isPartOf":{"@id":"https:\/\/www.tneutron.net\/mikro\/at89s51-microcontroller-architecture\/"},"author":{"name":"Taufiqullah","@id":"https:\/\/www.tneutron.net\/mikro\/#\/schema\/person\/b57f791b694136047454bb6ac5cbe375"},"headline":"AT89S51 Microcontroller Architecture","datePublished":"2024-06-01T22:47:51+00:00","mainEntityOfPage":{"@id":"https:\/\/www.tneutron.net\/mikro\/at89s51-microcontroller-architecture\/"},"wordCount":403,"image":{"@id":"https:\/\/www.tneutron.net\/mikro\/at89s51-microcontroller-architecture\/#primaryimage"},"thumbnailUrl":"http:\/\/i1.wp.com\/www.tneutron.net\/mikro\/wp-content\/uploads\/sites\/5\/2015\/08\/image_thumb2.png?resize=438%2C327","keywords":["AT89S51 Architecture","at89s51 microcontroller architecture"],"articleSection":["English"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.tneutron.net\/mikro\/at89s51-microcontroller-architecture\/","url":"https:\/\/www.tneutron.net\/mikro\/at89s51-microcontroller-architecture\/","name":"AT89S51 Microcontroller Architecture - TN Mikro","isPartOf":{"@id":"https:\/\/www.tneutron.net\/mikro\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.tneutron.net\/mikro\/at89s51-microcontroller-architecture\/#primaryimage"},"image":{"@id":"https:\/\/www.tneutron.net\/mikro\/at89s51-microcontroller-architecture\/#primaryimage"},"thumbnailUrl":"http:\/\/i1.wp.com\/www.tneutron.net\/mikro\/wp-content\/uploads\/sites\/5\/2015\/08\/image_thumb2.png?resize=438%2C327","datePublished":"2024-06-01T22:47:51+00:00","author":{"@id":"https:\/\/www.tneutron.net\/mikro\/#\/schema\/person\/b57f791b694136047454bb6ac5cbe375"},"breadcrumb":{"@id":"https:\/\/www.tneutron.net\/mikro\/at89s51-microcontroller-architecture\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.tneutron.net\/mikro\/at89s51-microcontroller-architecture\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.tneutron.net\/mikro\/at89s51-microcontroller-architecture\/#primaryimage","url":"http:\/\/i1.wp.com\/www.tneutron.net\/mikro\/wp-content\/uploads\/sites\/5\/2015\/08\/image_thumb2.png?resize=438%2C327","contentUrl":"http:\/\/i1.wp.com\/www.tneutron.net\/mikro\/wp-content\/uploads\/sites\/5\/2015\/08\/image_thumb2.png?resize=438%2C327"},{"@type":"BreadcrumbList","@id":"https:\/\/www.tneutron.net\/mikro\/at89s51-microcontroller-architecture\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.tneutron.net\/mikro\/"},{"@type":"ListItem","position":2,"name":"AT89S51 Microcontroller Architecture"}]},{"@type":"WebSite","@id":"https:\/\/www.tneutron.net\/mikro\/#website","url":"https:\/\/www.tneutron.net\/mikro\/","name":"TN Mikro","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.tneutron.net\/mikro\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.tneutron.net\/mikro\/#\/schema\/person\/b57f791b694136047454bb6ac5cbe375","name":"Taufiqullah","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/dcdf36434717ce57bea7f17eb3c140a2ff8def45941b720aa8fc1cccd6cdd505?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/dcdf36434717ce57bea7f17eb3c140a2ff8def45941b720aa8fc1cccd6cdd505?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/dcdf36434717ce57bea7f17eb3c140a2ff8def45941b720aa8fc1cccd6cdd505?s=96&d=mm&r=g","caption":"Taufiqullah"},"description":"Taufiqullah","sameAs":["http:\/\/www.tneutron.net","https:\/\/x.com\/t_neutron"]}]}},"_links":{"self":[{"href":"https:\/\/www.tneutron.net\/mikro\/wp-json\/wp\/v2\/posts\/325","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.tneutron.net\/mikro\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.tneutron.net\/mikro\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.tneutron.net\/mikro\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.tneutron.net\/mikro\/wp-json\/wp\/v2\/comments?post=325"}],"version-history":[{"count":1,"href":"https:\/\/www.tneutron.net\/mikro\/wp-json\/wp\/v2\/posts\/325\/revisions"}],"predecessor-version":[{"id":2820,"href":"https:\/\/www.tneutron.net\/mikro\/wp-json\/wp\/v2\/posts\/325\/revisions\/2820"}],"wp:attachment":[{"href":"https:\/\/www.tneutron.net\/mikro\/wp-json\/wp\/v2\/media?parent=325"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.tneutron.net\/mikro\/wp-json\/wp\/v2\/categories?post=325"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.tneutron.net\/mikro\/wp-json\/wp\/v2\/tags?post=325"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}