if(ReceiveBuf==0x55)
{ SBUF = SendBuf[0]; //If the received value is 0x55, send out 0xaa in SendBuf[0]
while(!TI); //wait to send
TI=0; //If the transmission is completed, clear TI to 0
P2=0x00;
BEEP=...
There are three ways to program the flash memory of MSP430 microcontroller: JATG port, BSL or user-developed program. This method is familiar to everyone, and there are many materials introducing home...
Yesterday I worked on the infrared communication device topic of the 2013 electronics competition. I spent the whole morning and afternoon adjusting it, but I still can't achieve modulation using LM56...
1. Purpose In actual product release, if the program stored in the MCU Flash is not protected, some illegal companies may read the program in the Flash through an emulator (J-Link, ST-Link, e...[Details]
0. Preparation First use st-link to connect the stm32 core board and PC for burning St-link Stm32 3.3V 3.3V GND GND SWDIO PART SWCLK DCLK Then connect with USB serial port board to v...[Details]
The last two blogs talked about a version problem of STM32CubeMX and the problem of hardware reset. When you solve these two problems, you will find that after the program is burned into the board, t...[Details]
Automotive LCD Instrument Clock EMI Solution As early as 2014, the market size of China's automotive full LCD instrument has reached 3.506 billion yuan, and it is expected that by 2020, this s...[Details]
At the just concluded InfoComm 2018 exhibition, the two major brands, Zhongke Jiguang and China Hualu, both displayed three-color light source
laser TVs
. The outstanding color performance ...[Details]
Nowadays, everyone is saying that "technology is people-oriented". The essence of the development of technology is to serve the improvement of the quality of life of human beings. Automated driving...[Details]
This routine is also a classic routine on the development board. I modified the framework of the program to make it more suitable for future calls. The specific 4*4 keyboard scanning principle is rel...[Details]
According to the description provided in the official manual of ST, it is not difficult to see that the ADC analog watchdog is actually that the user can set an upper and lower limit of the AD value...[Details]
1) Independent watchdog has no interrupt, window watchdog has interrupt 2) Independent watchdogs can be divided into hardware and software, while window watchdogs can only be controlled by software...[Details]
Here is the temperature added in the previous chapter The above figure is the temperature calculation formula: where Vsense is the ADC value collected from the temperature channel. The stm32f407 ...[Details]
The T3 timer (8-bit) of CC2530 requires understanding of T3CTL, T3CCTL0, T3CC0, T3CCTL1, and T3CC registers. Timer 3/4 is an 8-bit timer with timer/counter/PWM functions. Timer 2, also known as MAC t...[Details]
The key is the configuration of registers. The T1 timer (16 bits) of CC2530 needs to configure three registers: T1CTL, T1STAT, IRCON Here is just a brief introduction. For more details, please refer ...[Details]
MCS-51 single-chip microcomputer timer/counter experiment programming program Programming requirements: 1. Connect a light-emitting diode LED to the P1.0 pin, light up for two seconds, turn off for o...[Details]
By manually inputting single pulses to the /INT0 of the 8051 microcontroller one by one, an interrupt is requested to the microcontroller. Each time the microcontroller interrupts, it outputs 55H, AA...[Details]