SPI protocol introduction - learning notes

SPI protocol introduction - learning notes 1. SPI Baidu Encyclopedia SPI is the abbreviation of Serial Peripheral Interface. It is a high-speed, full duplex and synchronous communication bus. It only occupies four wires on the pins of the chip, saving the pins of the chip. At the same time, it saves space and provides convenience for the layo ...

Added by phpbeginer on Wed, 19 Jan 2022 22:53:32 +0200

Resistance touch experiment based on warship V3

Resistance touch experiment based on warship V3 Principle introduction XPT2046 chip is used in the resistance screen, and its principle is relatively simple: when we touch a certain point, the resistance distribution of X and Y axes will change:   When we touch a point on the next screen, the level of the chip pin will change. At this tim ...

Added by ShaolinF on Wed, 19 Jan 2022 02:16:18 +0200

C# host computer development serial port use

Catalogue of series articles preface About the production of C# host computer software, I learned the blogger's code on the network and summarized and verified it after some actual combat. I set my own code style and introduced the idea of face object programming Development of C# host computer (I) -- basis of C# host computerDevelop ...

Added by itworks on Tue, 18 Jan 2022 23:36:30 +0200

Wildfire learning notes - RCC - configure clock using HSE/HSI

RCC: reset clock control. 1. Main function of RCC - clock part Set the system clock SYSCLK, set the AHB frequency division factor (determine how much HCLK is equal to), set the APB2 frequency division factor (determine how much PCLK2 is equal to), set the APB1 frequency division factor (determine how much PCLK1 is equal to), and s ...

Added by jmack159 on Tue, 18 Jan 2022 18:58:04 +0200

STM32F103 - description and function of general timer

preface In this section, we will describe and introduce the general timer function of STM32, and also summarize STM32 (VI) and STM32 (VII) ---------------------— catalogue 1. Introduction to general timer 2. Timer initialization function 3. PWM wave ---------------------— I Introduction of timer ------- 1. What is a universal timer? ...

Added by McChicken on Tue, 18 Jan 2022 06:18:00 +0200

stm32 - hand to hand Ma Bao level - three writing methods of running lantern

Phase I First of all, we are working on stm32 learning and project, and encapsulate the corresponding template. Start with software installation keil 5,keil 5 installation tutorial can be official account of "software housekeeper" and corresponding stm32f1/f4 environment configuration can be directly B war to see video. Next, I'll s ...

Added by thefarhan on Mon, 17 Jan 2022 13:02:44 +0200

STM32F103 -- Introduction to EXIT external interrupt

preface This section will summarize STM32 (V) Each IO of STM32 can be used as an interrupt input port for external interrupts, which is also the strength of STM32. The interrupt controller of STM32F103 supports 19 external interrupt / event requests. Each interrupt has a status Bit, each interrupt / event has independent trigger and mask set ...

Added by Fearpig on Mon, 17 Jan 2022 08:33:53 +0200

FreeRTOS operating system -- interrupt management and testing

FreeRTOS operating system learning preface Interrupt is a very common feature of microcontroller. Interrupt is generated by hardware. When interrupt is generated, CPU will interrupt the current The MCU of Cortex-M kernel provides a nested vector interrupt for interrupt management Controller (NVIC). The NVIC of Cotex-M3 supports up to 24 ...

Added by Diggler on Mon, 17 Jan 2022 07:22:41 +0200

[embedded operating system] Experiment 3: interrupt and serial port programming

1, Experimental purpose Familiar with the hardware connection of serial port of STM32 module;Master the initialization method of serial port, data sending and receiving function;Master interrupt initialization method and interrupt service function;The serial port debugging assistant on PC is used for programming, and the LEDs D7 and D8 o ...

Added by php_guy on Sun, 16 Jan 2022 10:06:01 +0200

On matrix keyboard, keyboard & display logic of UI interface in a project

stay Last article In, an upscale method is reproduced, using state machine, function pointer, structure, structure pointer, etc. the exception is upscale, but there are some bug s. First, record the debugging process. Matrix debugging and other ideas debugging First, in the main function of the source code u8 Key_Value; int main(void) ...

Added by QuizToon on Sat, 15 Jan 2022 07:29:05 +0200