Let's talk about the differences between S12 (mcs12xs128) and 51 to new users who just got started with 51.

Source: Internet
Author: User

MCS51 is also made a lot of Keil, that is, many of them are transparent to you, so you don't have to worry about it. The number of registers you need to contact is also small, at this time, you write more functions, but writing C Programs on this platform is more restrictive than writing C console programs on a PC. The output does not want the console to obtain feedback through printing, but through the I/O port output and through the peripheral circuit.

Then, after learning 51 (probably all the routines are run, this level is enough. Of course, you can also play on this basis. There are a lot of fun, such as getting the encoding of each key of the infrared remote control, then, you can use the encoding of each key tested by yourself to do a lot of creative and interesting things ~~) Next, let's talk about S12. You will be exposed to a large number of registers, and you will find that they are all in the Operation register. This gives you a different experience on 51, each I/O port has three or more registers. The input and output of I/O must be determined by setting registers, it will be exposed to a very complex file (what is forgotten, it is defined as a register), it will be exposed to the paging mechanism of the memory, and will be exposed to the interrupt ing ~~ In short, compared with 51, there will be a lot of fresh things waiting for you to explore and explore. Now you have to get in touch with the datasheet of the chip. You have to read the technical documents in English. (The Datasheet is better to read the technical documents in English ~~)

Many new users get started with embedded by playing 51. After playing 51, it is necessary to play some advanced microcontroller, I think it is better to choose 16-bit S12 (mcs12xs128. S12 has a feature: You need to configure a large number of registers and write the program for initialization module on your own, this basic framework is helpful for understanding and learning in the future. If it is easy to use, k60, a 32-bit chip with a support library such as fire, feels that this is not good for your learning and hands-on. So do not be lazy if you are studying. Through the configuration register, to write the code of the initialization module, and then to write the application. In this way, a small system will come out. When the system is stable and working, you will not be able to feel the pride, joy, and excitement that you will not be able to realize through the operation on the k60. So, first get started with 51, then select S12, then you can select k60 or stm32, so step by step from low to advanced is more appropriate !!

Well, let's talk about it in a rough way from the perspective of people. I hope that new people will stick to it step by step, until it becomes a real technician !! I will continue to stick to it, concentrate on technology, and make progress together !! The young generation of the motherland creates a new situation and a new atmosphere for the motherland in the world's technical field ~~!!


Let's talk about the differences between S12 (mcs12xs128) and 51 to new users who just got started with 51.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.