STM32 Development Techniques and Best Practices
KEIL Configuration
System Reset Implementation
__set_FAULTMASK(1);
NVIC_SystemReset();
Crystal Oscillator Configuration
In the stm32f10x.h file, modify the system clock setup:
static void ConfigureSystemClockTo72MHz(void)
{
__IO uint32_t startupCounter = 0, hseStatus = 0;
/*!< Enable the High Speed External oscillator (HSE) */
...
Posted on Wed, 13 May 2026 05:54:23 +0000 by simpli
PWM LED Brightness Control Using MSPM0G3507 and Keil
Project Overview
This project demonstrates controlling LED brightness through PWM (Pulse Width Modulation) on the MSPM0G3507 microcontroller using Keil MDK. Two push buttons adjust the brightness level up and down.
Project Setup
Creating the Project
Obtain the MSPM0 SDK from the officiall Texas Instruments website. Navigate to the driver librar ...
Posted on Thu, 07 May 2026 23:53:42 +0000 by phphelpme