# mm32f0130_lib_samples **Repository Path**: dcxin/mm32f0130_lib_samples ## Basic Information - **Project Name**: mm32f0130_lib_samples - **Description**: 支持MM32F0130系列,与Cortex-M微控制器软件接口标准(CMSIS)兼容,符合MM32标准库函数设计,提供GPIO、UART、SPI、CAN,USB等库函数版和寄存器版样例。 - **Primary Language**: C - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 1 - **Created**: 2022-08-31 - **Last Updated**: 2022-08-31 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ![MM32 LOGO](logo.png "mindmotion logo samll.png") # MM32F0130 Lib and Samples #### Introduction Support MM32F0130 series, compatible with Cortex-M microcontroller software interface standard (CMSIS), support MM32 standard library functions, provide GPIO, UART, SPI, CAN, USB and other library function versions and register samples. #### Software Architecture The MM32F0130 Lib and Samples consist of three layers 1. **MM32 hardware register layer** - Based on the description of the chip register in User Manual, the macro definition of the base address, register and each register bit is implemented. 2. **MM32 hardware abstraction layer** Realize the function abstraction of basic functions, including initialization, clock enablement, interrupt settings, status check and other functions encapsulation; 3. **MM32 sample layer** - The sample library contains samples and register versions of library functions. Each internal function and peripheral will have a corresponding sample, some peripherals also support query, interrupt, DMA and other combination of functions sample. - Each sample supports IAR and KEIL project engineering and can be opened, compiled, downloaded, debugged directly. #### Development environment 1. **hardware environment** - The MM32F0130 Lib and Samples are based on the MMM32F0130's most fully function of MCU MM32F0133C7P development. - The eMiniBoard MB025 (on-board MM32F0133C7P) development board is recommended, click here for information.[Click here to get more material](https://www.mindmotion.com.cn/products/mm32mcu/mm32f/mm32f_value_line/)。 2. **Software development environment: (IAR or MDK is optional)** - IAR recommends the version: IAR Embedded Workbench for ARM V8.32.4. (IAR) - MDK is recommended: MDK v5.24 and above. 3. **Emulator: (MM32LINK-OB, MM32LINK, ULINK, DAP-LINK (CMSIS-DAP) and J-Link emulators are optional)** - MM32LINK-OB emulator: eMiniBoard MB025 (MM32F0133C7P) development board integrates MM32LINK-OB emulator on board. - MM32LINK emulator: You can use our emulator to achieve simulation, ICP program to MM32 MCU. - J-Link emulator: Make sure that the J-Link emulator hardware version is V8 or higher. And download and install the appropriate MM32 for Segger Pack package. - ULINK, DAP-LINK (CMSIS-DAP): KEIL/ARM-supported emulator. #### User guide 1. **Download the open source library:** Click the clone/download button on the right side of the page to save the engineering files locally. You can download it using a git clone or by downloading a ZIP package. It is recommended to use git to clone the engineering directory locally, so that you can use git to keep up with our open source library at any time. A tutorial on the use of code clouds and gits can be found at the link.[https://gitee.com/help](https://gitee.com/help) 2. **Open Project:** Open the downloaded project folder (if you downloaded a ZIP file, unzip the package first). To ensure that no files are found in the relevant IDE, it is recommended that you unzip to the shallowest possible directory, using the English name directory name. Before you open the project, be sure that your IDE meets the requirements listed earlier. Otherwise, problems such as opening the project with an error, prompting for the loss of directory information, etc. may occur. - If you are using an IDE for IAR, the engineering files are saved under the /IARPRJ folder. - If you are using an MDKIDE, the engineering files are saved under the /KEILPRJ folder. #### Development board Most of the samples in the MM32F0130 Lib and Samples package are based on eMiniBoard MB025 (MM32F0133C7P). ![eMiniBoard MB025 development board V1.0](eminboard_mb025.png "mindmotion eMiniboard MB025 middle.png") #### Use manuals and resources 1. Gitee's official user manual [https://gitee.com/help](https://gitee.com/help) 2. MindMotion's official website links [https://www.mindmotion.com.cn/](https://www.mindmotion.com.cn/)