thaas58 / STM32F411_BLACKPILL_CDC_CLI

Example STM32F411 Black Pill STM32CubeIDE project utilizing the FreeRTOS command line example code
MIT License
5 stars 0 forks source link

POST(Power On Self Test) feature #7

Open dphaas opened 2 years ago

dphaas commented 2 years ago
  1. POST should check that HSE clock is running and not internal 16MHZ (HSE fail over). Check RCC_CR bit 0 (HSION). Should =0 is if running off HSE or LSE clock? Maybe this should be accessible by CLI?
  2. Verify HSE and LSE clock frequency. Refer to STM32F411 reference manual 6.2.11 Internal/external clock measurement using TIM5/TIM11. Maybe this should be accessible by CLI?