I have a question for the moderator. I have one F103 and one F101 on the same board. Since the board is relatively small, I plan to use the 103 to download programs to the other CPU using the SW metho...
For some reason, I needed to use a timer interrupt, but there was no example in the routine, so I did it myself.I checked the library function manual, enabled the timer 1 interrupt, and added the foll...
The program is as follows: //Include the required header files #include
#include//#include/*------Macro definition------*/ #define uchar unsigned char #define uint unsigned int #define BIT(x) (1(x)) #...
Hello everyone:I recently made a silicon photocell measurement system, with a 610nm LED on one side and a photocell on the other. When the temperature changes, the signal changes. When the temperature...
Experts, please help me! ! I wrote a large FPGA project, why does the program run out of order? ? Specific manifestations: Sometimes, AD sampling is very messy, the values are very large, and some are...
I ran the LCD_TK example and was shocked by its speed.
I am also a fan of dot matrix display screens. I find some menus very complicated and not very fast when searching. However, this program makes a...
China's photovoltaic power generation installed capacity achieved rapid growth in 2017, and distributed photovoltaics achieved explosive growth. In 2017, the country's photovoltaic installed capaci...[Details]
For STM32, there are two ways to reset the software: 1) Use the official software library The system reset function is directly provided in the stm32f10x_nvic.c file of the official software li...[Details]
1. Placement suspension void NVIC_Configuration(void) { NVIC_InitTypeDef NVIC_InitStructure; /* Set the Vector Table base location at 0x08004000 NVIC_SetVectorTable(NVIC_VectTab_FLASH, 0x4000)...[Details]
The trade war between China and the United States has become the focus. The United States has begun to play the ban card against Chinese technology companies. The ZTE incident shows that if the ban...[Details]
As many companies listed with
the concept of
touch screen
begin to "transform and upgrade", the official voice of the TP industry is getting smaller and smaller. At the same time, the list o...[Details]
Processors with artificial intelligence are mostly integrated into cars, PCs, security cameras, smart speakers, robots and other related technology equipment, but
AI
chips were initially de...[Details]
Every era has its own representative company, and the small game between representative companies in the big era also reflects the big game between countries to a certain extent. Let's learn about ...[Details]
This small program is still the use of timer, which is relatively simple. The specific parts are noted in the comments, please refer to the comments. /*********************************************...[Details]
STM32 uses FSMC to read and write CPLD programs. CPLD is hung on the address line and data line of STM32. CPLD is regarded as an off-chip RAM for reading and writing. On the board I made, CPLD is hun...[Details]
Many embedded geeks are wondering what the future holds if they continue to invest time, energy and money in MICroChip's PIC32 series MCUs. Will their investment be safe, and how does it compare ...[Details]
On May 8,
Google
I/O 2018 Developer Conference was held as scheduled in Mountain View, California. In the second year of the full promotion of the "AI first" strategy, artificial intelligen...[Details]
For complex calculations, the speed of the microcontroller is too slow. The best way is to manually calculate all the results in advance, store them in ROM in sequence, and then directly check the re...[Details]
//Environment: winavr+avr studio char temp=0; ISR(TIMER1_COMPA_vect )//interrupt function { // user code here temp++; if (temp==10) temp=0; PORTA=temp; DDRA=0xff; } void ...[Details]
Take serial port interrupt as an example: like: void serial() interrupt 4 { } and void serial_uart() interrupt 4 { } The functions of both functions are to define the serial port interrupt function. ...[Details]