NuMicro M251/M252 Series (9) Quick Start a NuProject - Run Sample Code

Selected option
NuMicro M251/M252 Series (9) Quick Start a NuProject - Run Sample Code
Training,Tool
English
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

File
This website uses cookies to ensure you get the best experience on our website. Learn more
OK