The day before yesterday, I had a chance to tune the MSP430 to use the CCS development environment. Install CCS5.1 on my laptop. I installed it from morning to noon, no exaggeration. The phenomenon is...
Today, when I was playing with the KW41 PWM routine, I found that the oscilloscope and logic analyzer could not detect normal PWM information, but the pin level signal noise on the board. Later, I loo...
How is this time calculated? ORG 0000H START: MOV R2,#50 ; How long is this time displayed and how is it calculated? Just look at this program. LOOP1: ACALL SCAN1 DJNZ R2,LOOP1 MOV R2,#50 LOOP2: MOV D...
How can I read the data of the internal register in the program? I want to make an electronic scale and display the result of ADC conversion on 1602, but I can't read the data of register ADC12MEM0. P...
I just encountered a problem when I was learning nios2. I spent a long time but couldn't solve it. I hope all the experts can help me! ! ! Thank you very much! ! ! ! ! ! Thank you in advance! Severity...
1. Principle 1. Infrared emission protocol There are many infrared communication protocols. This experiment uses the NEC protocol. This protocol uses PWM modulation and uses pulse width to represen...[Details]
Recently, the US embargo on ZTE has attracted much attention. Let's take a look at the relevant content with the automotive electronics editor. On April 16, local time, the U.S. Department of Co...[Details]
Today, under the guidance of a low-level expert, I learned how to configure the PWM module! Woof! First open the file configured last time, as follows: Then, we need to use TIM1 to set PWM: Then,...[Details]
introduction In the general project development process, two or more microcontrollers are often required to communicate to complete data transmission. For example, a quadcopter wirelessly transmits d...[Details]
Recently, the "Smart Photovoltaic Industry Development Action Plan (2018-2020)" jointly issued by six departments has put this concept on the forefront. Photovoltaic smart solutions will become the ne...[Details]
Superconductors have physical properties such as zero resistance effect, Meissner effect and Josephson effect, which make them have broad application prospects and unparalleled advantages in many b...[Details]
The frequency calculation formula of the PWM wave generated by the output comparison mode of the timer is: 72M/((2*(arr+1))*(psc+1) ) For example, if you set: PWM_Init(1000-1,72-1); (PWM_Init(arr,psc...[Details]
Recently, the National Development and Reform Commission announced that all foreign equity restrictions in the automobile industry will be lifted in the next five years. At the same time, as subsid...[Details]
As an important branch of the power electronics industry, the technological progress of photovoltaic inverters is highly dependent on the development of electronic components and control technology...[Details]
About a dozen years ago,
AMD
was also a rival to Intel. It can be said that the two microprocessor manufacturers have been in love and hate for many years, which is completely a commercial ...[Details]
Mobile phone battery charger program made by STC12C2052AD microcontroller #include stc12c2052ad.h #include intrins.h #define uchar unsigned char #define uint unsigned int sbit REF =P1^0; sbi...[Details]
MSP430 MCU controls stepper motor with display program #include "msp430x22x4.h" #define uchar unsigned char #define uint unsigned int #define comm 0 #define dat 1 #define sclk_1 P4OUT|=0x01 //sc...[Details]
EM78 series single chip microcomputer -- Design of D/A conversion program The output of PORT6 is connected to a D/A converter. Write a program to generate a saw wave. The D/A Convert in this example ...[Details]