User Activity

void SystemClock_Config(void);static void MX_GPIO_Init(void);static void MX_LPUART1_UART_Init(void);static void MX_I2C1_Init(void);static void MX_ADC_Init(void);static void MX_RTC_Init(void);if (__HAL_PWR_GET_FLAG(PWR_FLAG_SB) != RESET) { __HAL_PWR_...
Hi. I am using stm32L010C6Tx. After installing the program with ST-LINK, when I turn off the power and return it, the last program I installed does not work. I need to reload the code. I wondered if it wasn't writing to your Flash, but it looks full ...
#include <string.h> #include <stdio.h> #define printf(...) HAL_UART_Transmit((UART_HandleTypeDef *)&hlpuart1, (uint8_t *)u_buf,\ sprintf((char*)u_buf,__VA_ARGS__), 0xFFFF); uint8_t u_buf[256]; /* USER CODE BEGIN 2 *...
Hi. I am using STM32L010C6Tx. I want my microprocessor to sleep for 10 seconds after processing. I want to use Sleep Mode. I don't have any interrupt pins. I want it to wake up after 10 seconds. How can I do?