User Activity

Hi,I have a PCB with F411 as MCU.MCU VBAT pin is directly connected to battery positive pin.I try to use ADC1 to read the VBAT value. Here is the ADC1 init code:  ADC_ChannelConfTypeDef sConfig = {0}; /* USER CODE BEGIN ADC1_Init 1 */ /* USER ...
In my app, I need MCU to go to stop mode and then wake up by RTC timer. I follow this RTC wake up example and manage to make MCU go to stop mode for a few seconds and then wake up. Because in my app, we want MCU to wake up once in a few hours instead...
I am using F411 as the main controller of some DAC/ADC modules.I need to put MCU in stop mode to reduce its power consumption.I wonder whether or not I need to configure all the I2C, SPI, and UART interfaces when MCU wakes up from stop mode.
In my project, my MCU (F411) uses I2C HAL API routinely to read from a sensor device.When some event happens, my interrupt handler will use I2C API to read from different register from that device; so my question is:Is HAL API thread safe? Although I...
I tried to use ADC in F411 to read two ADC inputs.My hardware is a F411-Nucleo board; my IDE is CubeIDE.The followings are my ADC settings in IDE:                                 I use 2 channels in ADC1 (IN1, IN4)I also use DMA to obtain ADC results...
Kudos from