NuMicro M251/M252 Series (9) Quick Start a NuProject - Run Sample Code
- Magic Board – Enjoy Creation in One MCU
- NuMicro® M2L31 Series – Arm® Cortex®-M23 Based Microcontroller
- 5V High Robustness Microcontroller solves your immunity problems
- NuMicro M251/M252 Series (1) Technical Features - M23 Core Efficiency
- NuMicro M251/M252 Series (8) Quick Start a NuProject - Board Support Package
- NuMicro M251/M252 Series (11) Nuvoton Writer Partner
- NuMicro M251/M252 Series (12) Hardware Design Guide - EFT
- NuMicro M251/M252 Series (13) Hardware Design Guide - USB Layout Guidelines
- NuMicro M251/M252 Series (14) Hardware Design Guide - Crystal
- NuMicro M251/M252 Series (16) Nuvoton Software Tool - PinConfigure Tool Introduction
- NuMicro M251/M252 Series (17) Nuvoton Software Tool-ClockConfigure Tool Introduction
- NuMicro M251/M252 Series (15) Nuvoton CodeGenerator Introduction
- NuMicro M251/M252 Series (7) Quick Start a NuProject - How to Download&Install Nu-Link KEIL Driver
- NuMicro M251/M252 Series (4) Technical Features - XOM Operation
- NuMicro M251/M252 Series (6) Quick Start a NuProject - How to Download and Install KEIL
- NuMicro M251/M252 Series (10) Nu-Link-Gang/Nu-Link2-Pro programming tool and usage scenarios
- NuMicro M251/M252 Series (9) Quick Start a NuProject - Run Sample Code
- NuMicro M251/M252 Series (5) Hardware Introduction
- NuMicro M251/M252 Series (3) Technical Features - Power Mode
- NuMicro M251/M252 Series (2) Technical Features - Programmable Serial I/O (PSIO)
- NuMicro M251/M252 Series Product Introduction
Introduction
Hello everyone! I am Chris, the Field Application Engineer from Nuvoton Technology. Today, I will introduce how to run a simple sample code on NuMicro M251/M252 series microcontroller. First, we connect the M251/M252 NuMaker development Board to the computer. Then click the M251/M252 BSP folder, click the Sample Code folder, template folder, Keil folder, and finally open the Template project file. What we are going to do is running a simple GPIO Toggle LED Sample Code. Introduce the main program briefly. First, set GPIO PB14 to Output Mode. After writing a small loop, set PB14 to reverse. Finally, set CLK_SysTickDelay to 300,000 microseconds (uSec). Before Rebuild, we must add the GPIO Source Code to the Library, find the corresponding Source Code and load it, and press Rebuild after it is complete. After the Rebuild, press Load and program the Code into the IC. When programing is over, press the reset button on the development board to confirm whether the LED lights are flashing on the board. That’s all for the tutorial of running sample code. Thank you for watching it. If you want to know more information, please feel free to contact us. #Tool #Training #Learning #Intermediate #en - For more information, please visit Nuvoton Technology Website: https://bit.ly/3hVdcmC Buy now: https://direct.nuvoton.com/numaker-m251sd Contact us: SalesSupport@nuvoton.com