Jihai APM32 MCU Forum:
https://bbs.21ic.com/iclist-1112-1.html
*Reading Instructions: The following application cases are briefly introduced, with no specific ranking. For detailed evaluation content and related source code, please copy the original link and open it in your browser.
Stack Backtrace Method for Automatic Analysis and Location of APM32 Hardfault Errors
https://bbs.21ic.com/icview-3331074-1-1.html
Using the stack backtrace method to automatically analyze and locate Hard Fault errors, the main functions implemented include:
1. Saving the CPU registers at the moment the error occurred;
2. Automatically diagnosing the cause of the Hard Fault;
3. Automatically backtracking the function call relationships before entering the Hard Fault interrupt (of course, to accurately locate which file and which line requires the use of the GCC toolchain);
4. This code is applicable to all Cortex-M3/M4 core MCUs, analyzed using the APM32F411 as an example.
TinyMaix Empowers APM32F411 with AI Inference Capability
https://bbs.21ic.com/icview-3344148-1-1.html
To run the TinyMaix framework on the APM32F411, you need to prepare the SDK related to APM32F411 and the TinyMaix source code.
Soft Switch Circuit Design Share Controlled by APM32F411
https://bbs.21ic.com/icview-3346300-1-1.html
Sharing a soft switch circuit design controlled by the APM32F411 MCU.
APM32F411 TINY First Experience
https://bbs.21ic.com/icview-3326502-1-1.html
Initializing UART1, writing UART1 receive interrupt, and judging the receipt of a carriage return to send.
Porting U8g2 on APM32F411
https://bbs.21ic.com/icview-3326714-1-1.html
After getting their APM32F411 TINY board, I thought of doing something interesting. I had a 0.96-inch OLED screen and thought about lighting it up with this board, but just lighting it up was too simple, so I took notes on “Porting U8g2 on APM32F411”.
APM32F411 Makefile Compilation & PyOCD Download Process Share
https://bbs.21ic.com/icview-3329116-1-1.html
I just need to set up a local compilation environment with GCC + Makefile to complete the program compilation for APM32F411 without using an IDE. After compiling the program, we need to download it. Since the onboard emulator of the APM32F411 TINY board is based on CMSIS-DAP, we can easily think of using ARM’s PyOCD for program downloading.
APM32F411 PyOCD Command Line Operations
https://bbs.21ic.com/icview-3332210-1-1.html
APM32F411 CoreMark Test Share
https://bbs.21ic.com/icview-3333812-1-1.html
The test code is written in C and covers operations such as lists and mathematical matrices, without any kernel-related operations, purely for computational testing.
How to Enable FPU in Eclipse for APM32F411?
https://bbs.21ic.com/icview-3338854-1-1.html
This post provides a simple overview and sharing of how to enable FPU in Eclipse for APM32F411.
Can You Play Like This? Sparks Between APM32F411 and PyOCD
https://bbs.21ic.com/icview-3342212-1-1.html
Using PyOCD and Python scripts, I read the LED output status from the APM32F411 and unlocked the read protection.
Why Does APM32F411 Need ISP? What Do You Know?
https://bbs.21ic.com/icview-3342284-1-1.html
Flipping through the APM32F411 manual, I found that it supports ISP booting.
Try Something Different 1: APM32F411 Outputs Data Waveform via SWD
https://bbs.21ic.com/icview-3344910-1-1.html
Using Python + PyOCD in conjunction with the APM32F411 tiny board and Geehylink to read data from memory and then depict it with a waveform.
Try Something Different 2: Write a Program to Read APM32F411 Memory
https://bbs.21ic.com/icview-3345102-1-1.html
Can we directly read the content in the memory of the APM32F411 and display it, and when we want to save, we can just save it?
What? APM32F411’s MCO Can Be Used Like This?
https://bbs.21ic.com/icview-3349508-1-1.html
Before we officially start, let’s briefly talk about what MCO is. MCO (Main Clock Output) is a function that outputs the main clock signal, which can output internal clock, external clock, PLL clock, or main clock signal to a specified pin on the APM32F411.
https://bbs.21ic.com/icview-3329388-1-1.html
After roughly understanding the hardware devices of the APM32F411 TINY board, the next step is to write code and burn it into the chip to see the effect..
Implementing HID Low Power Wake-Up Function Using APM32F411 TINY Board
https://bbs.21ic.com/icview-3326634-1-1.html
This test mainly uses the APM32F411 TINY board OTG FS peripheral to simulate an HID mouse, enabling the OTG FS WAKEUP interrupt and setting it to enter deep sleep mode in the USB suspend event, to test the power consumption during actual OTG FS applications.
Porting, Verification, and Thoughts on FreeRTOS Based on APM32F411
https://bbs.21ic.com/icview-3327128-1-1.html
Organizing a record of the porting, verification, and issues of FreeRTOS source code related to APM32F411.
Software Simulation Debugging Configuration and Problem Solving Based on APM32F411
https://bbs.21ic.com/icview-3327514-1-1.html
In Keil, I found that simulation debugging is possible, and I just received the new APM32F411 development board from Jihai, so I recorded a simulation debugging session with this series of development boards.
Analysis and Solution of DMA_ADC Handler Mode Based on APM32F411
https://bbs.21ic.com/icview-3329454-1-1.html
Recently, while writing the DMA_ADC example, I encountered an interrupt configuration issue. During ADC acquisition, I combined the manual to configure the ADC continuous conversion mode, which indicated that interrupt configuration was needed, but in reality, ADC continuous conversion acquisition can also be performed without interrupt configuration. Therefore, I did not filter out the information about enabling interrupt configuration during ADC acquisition, which led to enabling ADC interrupt acquisition. This time, I replicated the issue with the DMA_ADC example from the APM32F411 official example.
Porting IQmath Template and Introduction to IQmath Knowledge Based on APM32F411
https://bbs.21ic.com/icview-3341582-1-1.html
Recently, while learning about DSP libraries, I focused on TI’s DSP library and learned about TI’s IQmath. The IQmath fixed-point library is suitable for hardware FPU cores like M0, M0+, M3 that do not have an FPU, but I recently acquired an APM32F411 M4 core development board, so I documented the porting operation of the IQmath library based on the APM32F411 development board.
Testing IQmath Function Template Using DWT Based on APM32F411
https://bbs.21ic.com/icview-3344504-1-1.html
APM32F411 TINY Board Implementing TMR Triggered ADC Sampling + DMA Transfer
https://bbs.21ic.com/icview-3327382-1-1.html
Recently, I looked at ADC sampling and thought about combining ADC, DMA, and TMR to study and achieve the function of triggering ADC sampling using a timer and transferring data using DMA. Recently, I just received the APM32F411 development board, so I thought about using this development board to implement this function.
Using Mbed CLI 2 to Develop APM32F411 Notes
https://bbs.21ic.com/icview-3330452-1-1.html
Mbed OS is an open-source IoT RTOS developed by ARM specifically for Arm Cortex series chips, and I happen to have an APM32F411 Tiny board, so I used this board to learn Mbed OS.
Upgrade Guide for APM32F405/F411 Quadrotor Flight Control Ground Station
https://bbs.21ic.com/icview-3324568-1-1.html
Using STM32 Cube Family to Develop APM32F4
https://bbs.21ic.com/icview-3329800-1-1.html
https://bbs.21ic.com/icview-3344948-1-1.html
After initializing the RTC demo, the alarm starts counting down, and LED2 lights up. After five seconds, the alarm is awakened, and LED2 goes out. — Through USART1 serial assistant, you can see the status of the monitoring system..
APM32F411 Hardware FPU Usage Methods and Precautions
https://bbs.21ic.com/icview-3329150-1-1.html
The APM32F411 is a microcontroller based on the 32-bit Arm Cortex-M4 core, and the hardware FPU is a significant advantage of the Arm Cortex-M4F. Proper use of the hardware FPU can greatly reduce computation time..
Is the APM32F411 Program Running in SRAM Faster than FLASH?
https://bbs.21ic.com/icview-3330816-1-1.html
Experience the running speed of some programs on the APM32F411 in FLASH and SRAM..
Comparison of APM32F411 Peripherals with F407 and E103
https://bbs.21ic.com/icview-3333802-1-1.html
APM32F411 Compatibility Configuration Notes for ADC2
https://bbs.21ic.com/icview-3337494-1-1.html
Testing the Hardware Watchdog Based on APM32F411
https://bbs.21ic.com/icview-3334660-1-1.html
APM32F411 Dual ADC Interrupt Sampling Configuration
https://bbs.21ic.com/icview-3344880-1-1.html
APM32F411 Dual ADC + DMA Sampling Configuration
https://bbs.21ic.com/icview-3344884-1-1.html
APM32F411 Startup File Learning Share
https://bbs.21ic.com/icview-3341360-1-1.html
Mainly includes the following content:
1. Related basic concepts
2. Startup modes
3. Startup files
How to Implement Interrupt Service Function Remapping on APM32F411?
https://bbs.21ic.com/icview-3343680-1-1.html
This article aims to analyze how to customize a function to implement interrupt service function remapping for the APM32F411 series chip examples in the Keil MDK environment.
APM32F411 USART-IDLE-DMA Variable Length Data Transmission and Reception
https://bbs.21ic.com/icview-3344992-1-1.html
Visit Jihai APM32 MCU Forum:https://bbs.21ic.com/iclist-1112-1.html, where you can see more open-source works.
Click “Read the Original Text” to view the summary post