Ask questions, find answers, and share insights on STM32 products and their technical features.
I am currently using an STM32F030 MCU's external interrupt to measure an incomming PWM signals Frequency, Period, Duty Cycle and Pulse Width. The incoming signal can be between 0 - 4.167Hz. This is working great, capture all three transitions in th...
I have a STM32H745 Nucleo and I am trying to get the CAN peripheral working. I believe I have everything set up correctly (bit rate, RAM etc) but when I call HAL_FDCAN_AddMessageToTxFifoQ() the first time the peripheral goes back to INIT. The next...
I've flash protection level-1 on my stm32f429. When I open the flash protection on my mcu and connect the serial prolific to read and send data under UART. My source code couldnt run. But if I remove the serial prolific's from the pins. And reset the...
I am looking this source codes to use Ymodem protocole,https://github.com/STMicroelectronics/STM32CubeF4/blob/master/Projects/STM324xG_EVAL/Applications/IAP/IAP_Main/inc/ymodem.hBut I've a question about that, Line 65 says to us as in below:/* /-----...
I went through the examples on the ST site which have the direct implementations (not using CubeIDE generated code HAL for GPIO, SystemClock, ... config implementation)https://github.com/STMicroelectronics/STM32CubeL0/blob/master/Projects/NUCLEO-L053...
Hi everybody,I'm trying to configure the OCTOSPI1 bus as Single-SPI to read the status register of an external memory (MRAM).What I expect to see on the scopeWhat I really see:The MCU sends the comand (0x05) on the SI line, generates 8 clock cycles a...
Dear Team,We design a board in which one host controller si driving the STM controller over LPuart1 whose pins are as below.Part Number: STM32L073PC4 - LPUART1_TXPC5 - LPUART1_RXNow, We want to update the firmware of STM using the host controller on ...
Hi, I'm pretty new to stm32.My goal is to use HAL_TIM_Encoder_Start() , HAL_TIM_Encoder_Start_DMA(), HAL_TIM_Encoder_Start_IT() commands from Hal library. I have the stm32f407 Discovery board.in polling mode//-----------------------------------------...
#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 *...