1360 views|3 replies

25

Posts

0

Resources
The OP
 

How do beginners learn microcontrollers? Which software is better for simulation? [Copy link]

 First of all, every microcontroller programming software has a software simulation function. We can learn some functions of microcontrollers through this software simulation function. For example, the software simulation function can be used to realize the high and low level output of the microcontroller port, and then observe the value of the corresponding port register to see whether the program is executed correctly; you can also write a timing program to implement the output function of the port at a fixed time (for example, timing 1 second), and use software simulation to see whether the interrupt is entered according to the set time, and so on. However, the function of software simulation is really limited. At most, we can only see whether the corresponding registers are executed correctly. Because there is no cooperation with the hardware circuit, we can't see whether the circuit is executed correctly. Therefore, the software simulation function of the microcontroller programming software can only be used to learn the microcontroller. The first software recommended in this regard is proteus, which is the software I have seen and used so far, and it can simulate the most types of microcontrollers. The microcontrollers supported by the proteus software include: 51 microcontrollers, PIC microcontrollers, MSP430 microcontrollers, Freescale microcontrollers, and also supports LPC21xx series ARM7, and some cortex m3 chips. Especially for 51 single-chip microcomputer, proteus has embedded the programming software keil of 51 single-chip microcomputer into it, and can write programs, build circuits, simulate systems, generate PCB and so on in proteus. It is equivalent to realizing all functions of software design, hardware design, PCB drawing and so on of a single-chip microcomputer, which is very convenient. The function of proteus is very powerful. We can draw the circuit diagram first, and then load the compiled MCU burning file into the MCU in the circuit diagram. Then we can run the whole MCU system and observe whether each part of the circuit is the same as the software function we designed, such as whether the LED is lit, the LCD is displayed, the key detection, the IIC device access data is normal, etc. Proteus even provides a lot of virtual instruments, such as virtual oscilloscope, voltmeter, ammeter, logic analyzer, etc. These instruments can be used to observe the operation of the program and circuit. For example, an oscilloscope can be used to observe whether the output waveform of the PWM we designed meets the design requirements.
This post is from TI Technology Forum

Latest reply

  Details Published on 2018-12-13 12:42
 

5791

Posts

44

Resources
2
 
There are so many on the development board forum, it should be fast  
This post is from TI Technology Forum
Personal signature

射频【放大器】

 
 
 

25

Posts

0

Resources
3
 
btty038 posted on 2018-12-13 10:17 Go directly to the development board. There are so many in the forum, it should be fast
Hmm?
This post is from TI Technology Forum
 
 
 

5791

Posts

44

Resources
4
 
This post is from TI Technology Forum
Personal signature

射频【放大器】

 
 
 

Guess Your Favourite
Just looking around
Find a datasheet?

EEWorld Datasheet Technical Support

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号
快速回复 返回顶部 Return list