Use DMA0 to store ADC sampling results, 4 analog inputs, scan sampling, and generate interrupts after 40 samplings. Then send the data through UART1 via DMA1. Target halted appears soon after the prog...
I saw an interesting GUI somewhere else, written in pure C language, supporting [b]official support platforms[/b][list] [*][color=rgb(3, 102, 214)][backcolor=transparent][url=https://github.com/zlgope...
[align=center][b]Chapter 22 ADC Experiment[/b] [/align][align=left]In this chapter, we will introduce the ADC function of STM32. In this chapter, we will use the ADC1 channel 0 of STM32 to sample the ...
I want to make a tool to operate register reading and writing. I checked the information before and found that it can be done with two functions: virtualalloc and virtualcopy. However, I found that vi...
I have a wireless network card on my laptop now. I want to write a wireless communication program to send commands to wirelessly control the mobile car (which also has a wireless receiving module). It...
After installing MounRiver, I opened the Demo program provided by WCH582.After compiling directly, there is no error. Download the downloader according to the address provided by the website.After suc...
In our common sense, the word technology often has two definitions. The first is the technology sealed in the laboratory. They are like flowers on the mountain top. Only a few people on the mountai...[Details]
In the actual project development process, hardware circuits often need to be modified, and the modified parts need to modify the driver. Thinking about the coming and going of such requirements is t...[Details]
The program got stuck during LCD initialization. Through hardware debugging, it was found that it was stuck in the Delay_ms() function. Going to the definition, it was found to be a macro definition ...[Details]
The update interrupt initialization configuration of the stm32 advanced timer TIM1 is not much different from that of the ordinary timer. What needs to be paid attention to is the configuration of TI...[Details]
The goal of this article is to build a TCP client based on the previous project that can ping the PC, and can actively send data to the PC, and can also send and receive data with the PC, and display...[Details]
Artificial intelligence
There is no inherent bias in AI. It does not "think" something is true or false for reasons that cannot be explained by logic. Unfortunately, human bias exists in mach...[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]
The article is written for LPC2148, but it is also applicable to Samsung's 44B0 chip. You only need to select S3C44B0 as the corresponding CPU when selecting it. JLINK debugging experience un...[Details]
In 1949, after three years of civil war, the Nationalist government was defeated and retreated to Taiwan. The political and academic circles launched a large-scale reflection on why they failed in ...[Details]
1. Function and purpose There are two pins BOOT0 and BOOT1 on each STM32 chip. The level status of these two pins when the chip is reset determines which area the program starts from after th...[Details]
The first one is a DMA mode of multiple channel acquisition void ADC_DMA_Config(void) { ADC_InitTypeDef ADC_InitStructure; RCC_HSICmd(ENABLE); while (RCC_GetFlagStatus(RCC_FLAG_HSIRDY) == RESET); ...[Details]
The code for using timer 0 to implement a running light in a 51 MCU is as follows. The LED light is connected to port P1. The code is annotated below, so I won't explain it in detail. My English is n...[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]
It is required to use MCS-51 microcontroller to sort data. 1. Sort the 8 data in ascending order; 2. The data to be sorted is stored in the internal data memory address units 30H-37H, which are 34H, ...[Details]