This is the interrupt service routine I used for the experiment: void TIM2_IRQHandler(void) //Timer 2 interrupt service routine { TIM_ClearITPendingBit(TIM2, TIM_IT_Update); EXTI_GenerateSWInterrupt(E...
Hey guys, I have a question about Verilog, why is it that according to the following program always @(negedge RST or posedge CLK or posedge rise or posedge fall) begin if((RST == 1'b0)||(rise == 1'b1)...
I'm tired of being poor and short of chips, so I'll sell them for some money. Actually, they are all in the TI routine package:)first step:
Burn BOOT_ETH into the chip.[[i]This post was last edited by...
I have successfully ported μC/OS-II to Launchpad. I have provided the complete IAR project file for your reference: kiss: , and created 2 tasks to control the LED flashing. I will be taking an exam so...
Multirotor aircraft will be a huge success in the consumer electronics market. Currently, no manufacturer provides a system solution from power electronics to controllers and sensors. However, in orde...
【JDPCB】Qisda is introducing smart factories in phases. Chairman Chen Qihong said yesterday (25th) that through high automation, order delivery can be accelerated. The current benefits have reached a...[Details]
Event: The company simultaneously released its 2017 annual report and the first quarter report of 2018. In 2017, the company achieved revenue of 8.886 billion yuan, a year-on-year increase of 48.01...[Details]
background After the hardware engineer completed the PCB and schematic design, the routine was modified according to the tutorial of Zhengdian Atom to verify the correctness of the hardware. STM32F...[Details]
Since China began to try to produce panels independently in 1998, in 2018, China's panel industry has gradually upgraded from a marginal industry to the largest production scale. Especially in the ...[Details]
The photovoltaic inverter is the core equipment of the photovoltaic system. Its main function is to convert the direct current generated by the photovoltaic modules into alternating current that meets...[Details]
I rewrote the main part of this program. The program uses the watchdog as a normal timer and scans the digital tubes in the watchdog interrupt. In addition, I added a display buffer. If you want to d...[Details]
Household photovoltaic power stations mainly utilize idle resources on existing household buildings, such as roofs, wall facades, balconies, courtyards, etc., to install and use distributed photovo...[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]
Assume that the MCS-51 microcontroller uses a 12MHz crystal oscillator, and wants to use a timer to generate a pulse with a duty cycle of about 30% and a period of 60ms at port P1.0. ;==============...[Details]
The concept of AI is general and covers a wide range. What is the core of AI? Let's follow the network communication editor to learn about the relevant content.
On May 8, local time in the...[Details]
Unfortunately, my serial port has some problems and I can't print information. I can only debug to view variables and see the values. Fortunately, there is not much AD conversion code, and I can use ...[Details]
Each I/O port of the AVR microcontroller corresponds to three registers: DDRx, PORTx and PINx, where DDRx is the data direction, i.e. input or output; PORTx is the state of the internal pull-up r...[Details]
Recently, the "2018 Household Photovoltaic Development Seminar" was successfully held in Hangzhou, Zhejiang Province. Sungrow attended the conference as a special co-organizer and summarized the statu...[Details]