User Activity

Hi all,I want to drive Humidity and Temperature Sensor SHT4x(address is 0x44).I finished the driver code in STM32F103C8 with HAL lib, but when I used the same driver code in STM32F429IG with HAL lib, the HAL_I2C_Master_Transmit() always returned HAL_...
Hi guys, I want to wake up my MCU every 10 sec. And I had to write some code as follows:       if(__HAL_PWR_GET_FLAG(PWR_FLAG_SB) != RESET) { __HAL_PWR_CLEAR_FLAG(PWR_FLAG_SB); sprintf((char*)uartBuf, "wakeup from standby\n"); HAL...
Hi guys,I am read the example "STM32Cube_FW_F1_V1.8.4\Projects\STM32F103RB-Nucleo\Examples\FLASH\FLASH_WriteProtection", and want to rewrite it on my board.my code is as follows:  HAL_FLASH_Unlock(); HAL_FLASH_OB_Unlock(); HAL_FLASHEx_OBGetCo...
Hi guys,I am reading the timer dithering mode in the stm32 manual however I can't understand it very well.From my manual, the timer dither is for increasing the PWM resolution.According to my understanding, I can give the following example:Example: A...
Hi guys:I initialed the RTC of STM32F103C8T6 by cubeMx and enabled the RTC global interrupt.  void HAL_RTCEx_RTCEventCallback(RTC_HandleTypeDef *hrtc) /* second callback */ { RTC_DateTypeDef rtcDate; RTC_TimeTypeDef rtcTime; HAL_RTC_Ge...
Kudos from