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

CLI enhancement #6

Open dphaas opened 2 years ago

dphaas commented 2 years ago
  1. Add 'get_cpuid' command to return CPUID register (addr 0xE000ED00) value.
  2. Add 'get_tempsensor' command to return internal temperature sensor on ADC_IN18.
  3. Add 'get_vbat' command to return VBAT value (shared on ADC_IN18).
  4. Add 'get_vref' command to return internal reference voltage on ADC1-IN17.
  5. Add 'get_uid' command to return unique ID register (96 bits, Base address: 0x1FFF 7A10).
  6. Add 'get_flashsize' command to return flash memory size (16 bits, Base address: 0x1FFF 7A22).
  7. Add 'get_rstflags' command to return reset source (RCC_CSR). After read FW should write Bit 24 (RMVF: Remove reset flag). This will allow detection of unexpected resets and associated cause.