-
Because the STM32 HAL library only has millisecond-level delay for HAl_Delay(), in order to achieve accurate microsecond-level delay, Systick has to be modified. However, since it is used internally ...[Details]
-
1. Test environment description Hardware platform: NUCLEO-F767ZI development board (STM32F7, Cortex-M7, 216MHz, 2MB Flash, 512KB SRAM) Operating system: FreeRTOS v9.0.0 (CMSIS-RTOS v1.02) TCP/IP p...[Details]
-
After studying the F4 FSMC method to drive the touch screen for a few days, I have gained some understanding, which are listed below. The unorganized record is only for my own reference in the future...[Details]
-
From last year to now, competition in the photovoltaic inverter industry has become increasingly fierce. In addition to the introduction of new products, various marketing and promotion methods hav...[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]
-
This paper proposes a design scheme for an embedded CNC system based on ARM and FPGA. The software and hardware design of the ARM system, the implementation method of hardware fine interpolation ...[Details]
-
The implementation of CAN driver under embedded operating system Android requires not only adding CAN driver device in Linux kernel, but also implementing the call of Android HAL layer. Taking S5...[Details]
-
pre name="code" class="cpp" uint32_t ADC_Detect(uint32_t AD_Channel) { hadc.Instance- CHSELR = 0; ADC_ChannelConfTypeDef sConfig; sConfig.Channel = AD_Channel; sConf...[Details]
-
Pin Definition FSMC configuration steps 1. Enable the corresponding pin GPIO clock 2. Configure the GPIO pin mode 3. Enable the FSMC clock 4. FSMC initialization 5. Memory block enable Examp...[Details]
-
Today I am using the AD function of the stm8s microcontroller. There are ten channels from AN0 to AN9 on the microcontroller. I want to use only three of them, AN5 to AN7. //ADC initialization void A...[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]
-
Using AT89S51 microcontroller, modify the original one to turn the LED on for 4s and off for 2s. Thank you. Use a timer. (The program is written in the answer, omitted here - just a note) The origi...[Details]
-
1. SCL is always controlled by the Master. SDA is controlled by the Slave when reading data and by the Master when writing data according to the direction of data transmission. After the 8-bit data i...[Details]
-
1.GCC+PN(WinAVR-20071221) Introduction: WinAVR-20071221 comes with Programmer's Notepad, which is an easy-to-use and powerful code editor with basic functions such as project management, syntax colo...[Details]
-
MSP430 MCU Stepper Motor Program #include "msp430x22x4.h" #define uchar unsigned char #define uint unsigned int uchar i=0; // Scanning 4x4 keyboard #define keyin (P2IN&0x0F) //digital tube v...[Details]