Embedded Development Design
MCU program implementation [Program transfer using ST-LINK]

Table of contents1 Program transfer tool2 Program Transfer Method Program transfer tool Program Transfer Method  ① Transfer from STM32CubeIDE menu    ② Transfer from the application ST-LINK Utility   Supplemental:   ポイント Please use either (1) STM32CubeIDE or (2) ST-LINK Utility to perform write transfer in a convenient way.

Read more
Embedded Development Design
Embedded software design [programming]

Table of contents1 Programming in C2 Programming application creation Programming in C Programming application creation The point Programming is only a small part of embedded technology. Keep in mind that it is a means, not an end, to improving your embedded skills.

Read more
Embedded Development Design
Embedded Hardware design [with Specific circuits]

Table of contents1 MCU and Peripheral Circuits2 Power circuit3 Reset circuit4 Interface5 RC filter6 Protection circuit with resistors7 Protection circuit with diodes8 Clock Circuit MCU and Peripheral Circuits Power circuit Reset circuit Interface RC filter Protection circuit with resistors Protection circuit with diodes  Reverse Connection Protection:  Surge Protection: Clock Circuit

Read more
Embedded Development Design
Embedded system design [specific development procedure know-how]

Table of contents1 What is Design?2 System Design Procedures What is Design? System Design Procedures  ① Clearly state the purpose of the development:   ② Organize functions according to purpose:   ③ MCU Selection:   ④ IO map creation  

Read more
OS used in embedded systems
Queue[Specific usage in FreeRTOS]

Table of contents1 What is a cue?2 Transfer data between tasks using queues What is a cue? Transfer data between tasks using queues  Queue buffer creation:  Execution example of xQueueCreate(): xQueue=xQueueCreate(10,(sizeof(int8_t));  Send to queue:   Receive to queue: 

Read more
OS used in embedded systems
FreeRTOS task management basics [For Learning and Practice]

The basics of task management using FreeRTOS are explained with concrete descriptions in actual programs while explaining the concepts of configuration, so you can immediately apply them to your practical programs. Although it is intended for learning, it is of course usable in practice. Table of contents1 Task priority and frequency of use2 Task switching […]

Read more
OS used in embedded systems
FreeRtos[for STM32 learning]

There are various RTOS for microcontrollers, but this site uses FreeRTOS for learning STM32 microcontrollers. We use the conventional type for learning STM32 microcontrollers, not the latest AMAZON type. Since it is for learning, we think it is better to start with something as simple as possible. Table of contents1 What is FreeRTOS?2 Task management […]

Read more
OS used in embedded systems
Real-time OS [essential for MCU development]

Table of contents1 What is a real-time OS?2 Why Use a Real-Time OS in Embedded Applications? What is a real-time OS? Why Use a Real-Time OS in Embedded Applications?

Read more
Details of each peripheral
Independent Watchdog timer of STM32

Table of contents1 What is a watchdog timer?2 Independent Watchdog timer What is a watchdog timer? Independent Watchdog timer Execution Example of function: IWDG_WriteAccessCmd(IWDG_WriteAccess_Enable); Execution Example of function: IWDG_SetPrescaler(IWDG_Prescaler_32); Execution Example of function: IWDG_SetReload(3000);

Read more
Details of each peripheral
DMA (Direct Memory Access) [DMA details of STM32]

Although DMA is not an essential skill for beginners or novice users, it may be required in practice because DMA reduces the CPU load, allowing CPU capacity to be used for other processing and contributing to power savings. In this chapter, I explain how to use DMA to transfer multiple channels of data from an […]

Read more