Ask questions, find answers, and share insights on STM32 products and their technical features.
if(low_power_mode == 1) { standby(10); HAL_RTCEx_DeactivateWakeUpTimer(&hrtc); }void standby(int seconds) { /* Clear all related wakeup flags*/ __HAL_PWR_CLEAR_FLAG(PWR_FLAG_WUF2); rtc_set_wake_up_timer_s(seconds); HAL_PWR_Enter...
I am currently developing on a NUCLEO-G071RB board and I need to generate sine waves with frequencies in the range 1Hz - 11kHz. My project requires the step between the frequencies to be 1Hz. It doesn't have to be precisely 1Hz but it has to be close...
Chip: STM32G474I have a ADC chip that offers SPI-compatible interface, it could achieve below functions in picture.I tried use QUADSPI to achieve that without instruction, address, alternate, dummy, but only DATA with indirect-read mode, but couldn't...
Hello, I'm trying to use arm_math.h in the m4 core of an stm32h745, but i get a bunch of really weird errors that seem to indicate that somehow the project configuration is wrong? I set the project properties to Debug_CM4 ( active ) and define CORE_C...
I want to manipulate the program counter in an assembler function by branching down a list of instructions by a programmable amount.syntax unified .global myasm myasm: PUSH {R0,R1,r2,r4,R5} ADD R15,#4 is rejected by the assembler.syntax unified ...
Hi everyone, my setting looks like this:CPU CLK: 480MHzAHB CLK should be 240MHz (I'm not 100% sure)Timer CLK 120MHzInputCapture Channel: 4 (2 direct, 2 indirect)I generate 8 short pulses each about 30ns. I use 4 InputCaptures to read those pulses. 2 ...
Hello,This is the first time I am using the STM32 MCU.I would like to know how can I re-flash a certain section of the internal flash memory (eg 1000h ~ 1200h) with NEW sensor coefficients while keeping the already flashed MCU firmware intact.Can I u...
Hi Thank you for having me here! I come from the AVR-Mega community and wondering about selecting a STM32 MCU. I needed more time to process between my input capture and USART and HDLC processing. Which MCU have 4 timers and input/output capture avai...
on stm32f105 launched CAN. With the transfer of messages, there were no questions, but there were questions about receiving messages from two CAN.the code is responsible for processing the messagevoid HAL_CAN_RxFifo0MsgPendingCallback(CAN_HandleTypeD...