Microcontroller

Advertise

KODE IKLAN DISINI

Safe Link Converter

Encrypting your link and protect the link from viruses, malware, thief, etc!
Made your link safe to visit.

How to use our tool:

  1. Click on How To Use menu above.
  2. Click on the code and CTRL + C on your keyboard.
  3. Paste the code in your HTML blog theme before the </body>.
  4. Save your HTML blog theme. you are done!
  5. Now, your blog's outbound links was encrypted!

Advertise

KODE IKLAN DISINI

Your link show here

Advertise

KODE IKLAN DISINI
 A microcontroller (sometimes abbreviated µC, uC or MCU) is a small computer on a single integrated circuit containing a processor core, memory, and programmable input/output peripherals. Program memory in the form of NOR flashor OTP ROM is also often included on chip, as well as a typically small amount of RAM. Microcontrollers are designed for embedded applications, in contrast to the microprocessors used in personal computers or other general purpose applications.
Microcontrollers are used in automatically controlled products and devices, such as automobile engine control systems, implantable medical devices, remote controls, office machines, appliances, power tools, toys and other embedded systems. By reducing the size and cost compared to a design that uses a separate microprocessor, memory, and input/output devices, microcontrollers make it economical to digitally control even more devices and processes. Mixed signal microcontrollers are common, integrating analog components needed to control non-digital electronic systems.

Microcontroller manufacturers have been competing for a long time for attracting choosy customers and every couple of days a new chip with a higher operating frequency, more memory and upgraded A/D converters appeared on the market.
However, most of them had the same or at least very similar architecture known in the world of microcontrollers as “8051 compatible”. What is all this about?
The whole story has its beginnings in the far 80s when Intel launched the first series of microcontrollers called the MCS 051. Even though these microcontrollers had quite modest features in comparison to the new ones, they conquered the world very soon and became a standard for what nowadays is called the microcontroller.
The main reason for their great success and popularity is a skillfully chosen configuration which satisfies different needs of a large number of users allowing at the same time constant expansions (refers to the new types of microcontrollers). Besides, the software has been developed in great extend in the meantime, and it simply was not profitable to change anything in the microcontroller’s basic core. This is the reason for having a great number of various microcontrollers which basically are solely upgraded versions of the 8051 family. What makes this microcontroller so special and universal so that almost all manufacturers all over the world manufacture it today under different name?

 8 bit Controller 

The 9S08 (68HCS08 or S08 for short) is a 8-bit microcontroller (µC) family originally from Motorola, 
now produced by Freescale Semiconductor,[1] descended from the Motorola 6800 microprocessor. 
It is a CISC microcontroller. The 9S08 devices are more powerful and usually less expensive than  the aging 68HC05 microcontrollers, and are found in almost any type of embedded systems. 
The larger members, which include an MMU, offer up to 128KB of paged flash, and 8KB of RAM.The paging scheme used allows for a theoretical maximum of 4MB of flash.

MMU equipped variants offer two extra CPU instructions, CALL and RTC, which are used instead of JSR and RTS respectively when dealing with subroutines placed in paged memory, allowing direct page-to-page subroutine calls. 
In a single atomic operation, CALL saves and RTC restores not only the PC but also one extra address byte, the PPAGE (program page) byte. Because of this extra byte, and to also keep the stack balanced, a subroutine ending with RTC must always be called with CALL, even if it resides in the same memory page.

Internally, the 9S08 instruction set is upward compatible with the 6805, with the addition of stack indexed addressing modes. (Instructions using the SP register have opcodesprefixed with the byte 0x9E). It has a single eight-bit accumulator, A, one eight-bit index register, X, or one sixteen-bit index registers, HX (formed from the combination of H and X registers), a condition code register, a 16-bit stack pointer, and a program counter. 
For compatibility with the 6805 which does not have an H register, the most significant byte of the HX register, H, is cleared during reset, and H is the only register not stacked automatically when entering any ISR (Interrupt Service Routine). Some instructions treat the H and X registers as a combined 16-bit HX register. Unlike the 6805, the stack can be placed anywhere in memory using appropriate instructions.

The standard method of programming or debugging the 9S08 family is via a standard 6-pin BDM interface (only one pin is used for communication with the microcontroller).

A wide variety of peripherals is available for different members and/or packages. SCI, SPI, 8/10/12-bit A/D, (C)PWM, Input Captures, and Output Compares are common with most members, but no external bus is available. Some members come with a built-in CAN controller.