Code and Coder: about .net core, C#, Delphi, Codetyphon, Freepascal, C++,Python, website technical records

Posted in category [MCU/DSP/FPGA/Embedded/EE]



How is USB Type-C successful

In October 2019, Microsoft released Surface Pro 7, Amazon released the Kindle Fire HD 10, and Sony also announced its latest Play Station 5; these three devices belong to PCs, tablets and game consoles, respectively, but Compared to their previous generation, these three devices have one thing they can't ignore - they all use the USB Type-C (also known as USB-C or Type-C) interface. In response, Patrick Moorhead, founder of market research firm Moor Insights & Strategy, said in an interview with the US Wired magazine: USB-C has become...

How to design MCU application architecture?

How to design MCU application architecture?
There are three methos
1. Simple front-back sequential execution program, which is the method used by most people, without the specific architecture of the thinking program, directly through execution Just write the application in sequence. 

2. Time slice polling method, which is a method between sequential execution and the operating system. 

3. Operating system, this method should be the highest level of application writing. 

Implement another pseudo operating system (scheduler) using goto and C macro definitions(2)

Implement another pseudo operating system (scheduler) using goto and C macro definitions, this is not a real embedded operating system, it is a pseudo operating system, or a scheduler for MCU, it costs a few ram and rom, but can do a lot works for you and save your time and easy your software.

Compared to the previous implementation, In this implement, switch case can be used in source.

Implement a pseudo operating system (scheduler) using C macro definitions

Implement a pseudo operating system (scheduler) using C macro definitions, this is not a real embedded operating system, it is a pseudo operating system, or a scheduler for MCU, it costs a few ram and rom, but can do a lot works for you and save your time and easy your software.

STM32F1 series .map file analysis

We know by learning STM32F1 that if you want to optimize your code, you must know the rom and ram usage of the project. Therefore, we need to use the .map file. By analyzing the .map file, you can easily view the occupation of the project rom and ram, including a single source file or even a rom for each function.

How to develop an embedded product from scratch?

How to develop an embedded product from scratch?
if you are fortunate enough to see this article, don’t try to finish it in 2 hours. Even if you finish reading in 2 hours, I believe that you will not understand the essence of the explanation. I believe that you should This article, slowly taste, this is definitely a need to taste 2 to 3 days, combined with their past experience, plus their own thinking, I believe that you will not only technical ability, but even the overall way of thinking There will be a very big improvement.