User Activity

I am using STM8 and since vector table is in flash memory I need to write to flash memory in order to create and use vector table. Since addresses of vector tables are fixed my code writes same values to same memory address of the flash on every star...
Hello I am using STM8L052 and in my program I am writing my vectorTable to my flash memory for every power on, but I want to make it only once so once the flash is written with vectorTable I will not write to flash again. There is how I write to flas...
Hello, in STM32F10x, I need to use Stop mode. However, before going to stop mode, I need to stop PWM channels and leave them high (in output). How can I stop change some pins (A0 and A6) from timer PWM mode to normal output mode? I tried this method ...
Hello, for decreasing the power coonsumption I want to change HSI to LSI. This is the HSI clock configurations for 72 Mhz:void SystemClock_Config(void) { RCC_OscInitTypeDef RCC_OscInitStruct = {0}; RCC_ClkInitTypeDef RCC_ClkInitStruct = {0}; RCC_P...
Hello I am using these lines in order to put my STM32F10x to sleep mode:void enter_LPSleep (void) { //Suspend SYS Tick HAL_SuspendTick(); //Enable Power Control Clock __HAL_RCC_PWR_CLK_ENABLE(); //Put regulator to low power mode HAL_PWR_EnterS...
Kudos from