I have encountered delay problems when doing chip selection or other problems. I usedfor (s=0;sfor (s=0;s{....} WhatI want to ask is how to calculate this time interval, without a timer, just a simple...
Create a new project, add ARM_MATH_CM4 __FPU_PRESENT=1 to Define in C/C++ in Options for Target to enable FPU. Then use any floating-point operation method in the arm_math.h library and the following ...
Analysis Method of Deep Negative Feedback Amplifier Circuit1. Approximate Estimation under Deep Negative Feedback ConditionsThat is to say, as long as F is calculated, the value of A F is also determi...
RCSN, the new moderator of the MCU section, has taken office. Welcome! I hope that our section will become more and more active and better under the leadership of the moderators!...
I have a Stellaris launchpad 120 and want to buy an LCD screen for experiment, but I don't know where to buy it. Does anyone know which website I can buy it from? Thanks,...
In the previous article, I wrote a simple GPIO running light test, which looked a bit monotonous. I was used to serial port debugging. If there was no serial port on the board, I had to find another ...[Details]
stm32cubeMX graphical configuration content STM32CubeMX is part of the original STMCube initiative from st microelectronics, and STM32Cube includes STM32CubeMX. STM32CubeMX is a graphical software co...[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]
In 1952, Bell Labs built a 6-foot-tall automatic number recognition machine called "Audrey", which could recognize the pronunciation of the numbers 0 to 9 with an accuracy of more than 90%. And its...[Details]
Recently, the "Smart Photovoltaic Industry Development Action Plan (2018-2020)" jointly issued by six departments has put this concept on the forefront. Photovoltaic smart solutions will become the ne...[Details]
In most countries, the military is a fairly large group, and the health of soldiers is particularly important to the combat effectiveness of the army. The US Department of Defense's Advanced Resear...[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]
The analog watchdog of the ADC is used to check if the voltage is out of bounds. It has two upper and lower bounds, which can be set in the registers ADC_HTR and ADC_LTR respectively. The library fun...[Details]
When STM32 uses JTMS (PA13) and JTCK (PA14) as normal I/O ports, add the following code before initialization (the order cannot be reversed): RCC_APB2PeriphClockCmd(RCC_APB2Periph_AFIO, ENABLE); G...[Details]
The frequency calculation formula of the PWM wave generated by the output comparison mode of the timer is: 72M/((2*(arr+1))*(psc+1) ) For example, if you set: PWM_Init(1000-1,72-1); (PWM_Init(arr,psc...[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]