A while ago, I needed to implement I2C communication between M4 and external chip DAC5571. I was new to embedded systems and didn't know how to start. Now I think it's so simple. It's funny to post em...
Switching power supply design 1 The design of electronic products, especially military voltage-stabilized power supplies, is a systematic project. It not only needs to consider the parameter design , ...
Set socket timeout. Use select to succeed. Now I want to use setsockopt to set it, without select int nTimeOutRecv; /*socket is created correctly*/ ..... /*bind succeeds*/ ..... nTimeOutRecv = 1000; /...
Tracealyzer is a tracing and visualization analysis tool for RTOS systems, providing unprecedented insight into the behavior of the system at runtime. Problems that used to take days or even longer to...
I don't understand the macro dtom in mbuf in "TCP/IP Detailed Explanation Volume 2". The macro is defined like this: /* dtom(x) - convert data pointer within mbuf to mbuf pointer (XXX) */ #define dtom...
This program is written to simulate the serial port hardware mechanism. When used, a timed interrupt can be set with a time interval of 1/4 baud rate. The receiving function is called once for ea...[Details]
Today, with the increasing integration of functions, mobile phones can also be used as portable media players (PMP), digital cameras, handheld computers (PDAs), and even global positioning systems ...[Details]
introduction
Throughout the history of automotive lighting, power has always played an important role. Initially, cars only needed headlights to see the road in the dark. Later, other light so...[Details]
DSP (digital signal processor) is used more and more frequently in today's engineering applications. There are three main reasons for this: first, it has powerful computing power and is capable of ...[Details]
From the PIC16F946 datasheet, we know that there are two ways to write values to the LCD for display:
1. Directly write the value to LCDDATA1~LCDDATA23
2. Use disconnect t...[Details]
In recent years, with the rapid development of the information industry, dot matrix LED display screens have been widely used in various advertising and information display systems such as the fina...[Details]
I've been studying dot matrix recently. It looks simple, but it takes a while to master it completely! The 8*8 dot matrix hardware circuit I'm making now is like this. The row is driven by 74HC138 + t...[Details]
Among the many members of the single-chip microcomputer family, the MCS-51 series of single-chip microcomputers has occupied the main market of industrial measurement and control and automation eng...[Details]
From the previous section, we have learned that the timer/counter in the microcontroller can have multiple uses, so how can I make them work for the purpose I need? This requires setting the timer/...[Details]
Today, the value of electronic components in cars accounts for 15-20% of the total vehicle. In the future, this proportion may be as high as 30-40% as more safety electronics, fuel consumption and ...[Details]
1. Proposal of
reconfigurable
measurement and control system
The measurement and control system generally refers to a system based on
computers
to realize data acquisition a...[Details]
With the rapid development of wireless
digital communication
, more challenges have been raised for integrated circuit design and testing. In the product design stage, in order to ensure
t...[Details]
The launch of Shenzhou IX is imminent, and Tiangong is welcoming visitors again. Yesterday, Professor Fu Qiang, Vice President of the Institute of Science and Industrial Technology of Harbin Instit...[Details]
A stepper motor is an electromagnetic mechanical device that converts an electrical pulse signal into an angular displacement or a linear displacement. The stability and reliability of a stepper mo...[Details]
With the continuous advancement of various technologies in the field of measurement and control, the baseband subsystem of general measurement and control equipment has entered the fourth generation o...[Details]