PI Zi Heng Bi monthly No.22


Bimonthly: No.22

Here we share some interesting projects / tools and some hot news in the embedded field. The Lunar New Year is divided into 24 solar terms. We hope to release one issue on time on the day of each festival.

This journal is an open source projectJayHeng/pzh-mcu-bi-weekly)Welcome to issue, contribute or recommend the embedded things you know.

Review of last issueBi Zi Heng Bi monthly: 21st issue

A little chatter

Yesterday was the winter solstice. Also known as the day short to, winter festival, sub year and so on, both natural and cultural connotation, is also a traditional Chinese folk festival.

Many readers know that ruffian Heng lives in Suzhou. Suzhou people attach great importance to the winter solstice. It is no exaggeration to say that the winter solstice is as big as the year. On the night of the winter solstice, Suzhou people will have a family reunion dinner on the night of the winter solstice. In addition, it can also be combined with winter wine which is brewed only once a year and has a very short sales period. It is very low in alcohol and can be drunk by children and women. As a new Suzhou native, ruffian Heng is adapting to this tradition. Sometimes he needs a sense of ceremony to live.

This issue contains 1 piece of information, 2 projects, 2 tools and 1 RT product. I hope it can help you!


1. Micro magic releases the world’s fastest 64 bit risc-v core

Recently, micro magic, a small electronic design company in Sunnyvale, California, claimed to have designed and produced the world’s fastest 64 bit risc-v core, which is even better than Apple’s M1 chip and arm cortex-a9.


The prototype CPU can achieve 5GHz clock speed under 1.1V voltage, which is much higher than the 3.2ghz Intel Xeon server chip E7. The core marks runs 13000 points. At 1.1 V, the chip consumes only 1 watt of power, less than 1% of Intel Xeon’s power. In addition, a single micro magic core can reach 4.25ghz at 0.8V, and the core marks can run 11000 points, but the power consumption is only 200MW. It is said that the risc-v chip is also faster and more efficient than Samsung’s exynos 4 chip based on ARM Holdings PLC computing core.

Project category

1. Lwrb – a lightweight ringbuffer for embedded system

Ring buffer can be said to be a very common data cache design for embedded applications. Lwrb is a lightweight ring buffer maintained and implemented by Majerle, a foreign developer. It is a FIFO specially optimized for embedded systems.

Project home page:https://github.com/MaJerle/lwrb

Lwrb features:

1. Pure ANSI C99 implementation, data type compatible with size_ t

Lwrb code design is very perfect, is an open source project, more valuable is its design documents are quite detailed. The figure below shows how lwrb handles different buffer boundaries, which can give you a basic understanding of how to manage data inside lwrb.

2. Multitimer – Ultra Compact pure software timer driver

Multitimer is a pure software timer extension module developed by netizen 0x1abin. It can infinitely expand the timer tasks you need, replace the traditional flag bit judgment method, and manage the time trigger timing of the program more gracefully and conveniently.

Project home page:https://github.com/0x1abin/MultiTimer

The usage of multitimer is very simple

#include "multi_timer.h"
struct Timer timer;
void timer_callback()
    printf("timer timeout!\r\n");
int main()
    timer_init(&timer, timer_callback, 1000, 1000); //1s loop
void HAL_SYSTICK_Callback(void)
    timer_ticks(); //1ms ticks


1. Dslogic – a cross platform logic signal analyzer

Dslogic is a USB based logic analyzer produced by Mengyuan laboratory. It supports a maximum sampling rate of 1GHz and a maximum sampling depth of 16g in stream mode. With the continuous integration and improvement of functions, dslogic has been built into an easy to use signal analysis platform.

Two advantages of dslogic:

1. Support Windows / MacOS / Linux. Because of its open source function, dsview can also be transplanted to personal platform.

2. WinHex – powerful hexadecimal editing software

WinHex is a hexadecimal editing software running under windows. It has powerful functions, such as partition management and file management; It can edit the binary content of any file type (displayed in hexadecimal). Its disk editor can edit any sector of physical disk or logical disk.

In embedded application scenarios, it is a piece of cake to edit and analyze bin files.

Download address:http://www.x-ways.net/winhex/

i. Mxrt products

1. Gree Electric heat pump washing machine xqg100

Gree heat pump washing machine xqg100 inherits the core technology of Gree air conditioning, uses heat pump low temperature soft drying technology to realize clothes drying, and takes good care of every gorgeous dress. It adopts self-developed double rotor variable frequency compressor for heat pump, and is equipped with low-frequency torque control technology, with more accurate frequency adjustment and wider temperature control range, as low as 37 degrees to dry clothes.

Welcome to subscribe

The article will be published to me at the same timeBlog Garden Home PageCSDN home pageZhihu HomepageWeChat official accountOn the platform.

Wechat search“Ruffian scale embedded“Or scan the following QR code, you can see it on your mobile phone for the first time.