Help!!! In the following program, why do we need to operate the flash when setting the EPWM interrupt? interrupt void epwm1_timer_isr(void) { // Put the Flash to sleep [color=#ff0000] FlashRegs.FPWR.b...
In recent years, as energy consumption and environmental protection issues have attracted people's attention, my country's solar photovoltaic power generation industry has shown a rapid development...[Details]
Designing for automotive LCD displays larger than 5" can be complex. The display source driver requires a supply rail called analog voltage device drain (AVDD) in the 10V to 15V range and two supply ...[Details]
In order to strengthen the management of new energy vehicle charging facilities in our city, prevent and reduce accidents, protect the lives and property of the people, and improve the public safet...[Details]
I used STM32CubeMX V4.22.1 to generate a project including EHT and Lwip. The debugging has been abnormal. After careful inspection, the following problems were found: 1. The hardware uses LAN8720A, b...[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]
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]
As photovoltaic power stations come into people's view, people are paying more and more attention to them. Recently, some netizens asked me how to match the inverter and components of photovoltaic ...[Details]
At the beginning, I used the stdlib library. Recently, I found that the cube library is more and more widely used, so I started to use the cube library to complete the ADC multi-channel acquisition e...[Details]
The pins of stm32 have two uses: GPIO (general purpose io) and AFIO (alternate function io) For some pins (depending on the chip), neither of these two uses exists. For example, in 64-pin products, O...[Details]
I have encountered many problems when tinkering with LD driver recently. I will record them one by one below. Otherwise, who will remember who in five hundred years? 1. Configuration issues of multi-...[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]
Summary of STM32 peripheral DMA usage: 1. Select DAM mode according to your needs: (1) Circular mode—DMA_Mode = DMA_Mode_Circular (2) Normal mode—DMA_Mode = DMA_Mode_Normal 2. For Chanel3 of DMA1, t...[Details]
Timer Interrupt The timer function of STM32 is very powerful. There are advanced timers such as TIME1 and TIME8, general timers such as TIME2~TIME5, and basic timers such as TIME6 and TIME7. In th...[Details]