STM32 MCUs Products

Ask questions, find answers, and share insights on STM32 products and their technical features.

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Error running a local C Application STM32CubeIDE

I am Trying to run a simple c code on STM32CubeIDE ThroughProject --- Run as --- C/C++ ApplicationBut i am always getting the following error:  OS : Windows 11 ProEclipse Version: 2.3.900.v20220308-0310CDT Version: 10.6.2.202205170638Build id: 202205...

358741432-eb04a6aa-870f-438a-8e8c-56816069e870.png

SBUS/UART Framing Error

Hi everyone,I'm working on decoding an SBUS signal, which uses an inverted normal UART protocol, supposedly at 100 kBd. However, I'm consistently encountering a HAL_ErrorCode 4 (which I believe indicates a framing error). The setup works fine when th...

MFäh.1 by Associate II
  • 506 Views
  • 0 replies
  • 0 kudos

Resolved! SPI driven 74595 shift register produces random output

Hi folks,For the past 2 days, i tried to setup a simple SPI communication to feed a shift register with 7-segment data.I already have done this in the arduino IDE, using shiftOut.Now I want to make this more elegant with the CubeIDE. I set up an SPI1...

Stipe by Associate II
  • 1846 Views
  • 4 replies
  • 1 kudos

Resolved! reading adc value always zero. help

  /* USER CODE BEGIN Header */ /** ****************************************************************************** * @file : main.c * @brief : Main program body ***************************************************************...

STM32H7B0 incorrect ADC sample rate

Hey,We using an STM32H7B0 100 pins MCU.With this mcu we will sampling 1 16 bit ADC input at 1 MHz and we using a DMA in circular mode for 1000 samplesThe ADC clock works at 48Mhz, the clock precaler for the ADC is divided by 32 and the sample time is...

OGhis_2-1723818782378.png OGhis_1-1723818766460.png OGhis_0-1723818752330.png
OGhis by Senior
  • 1370 Views
  • 9 replies
  • 0 kudos

STM32F4xx TIMER1 ETR

Hello, I am struggling to get the TIM1 of a STM32F411 to be triggered by an external GPIO. What I want to achieve is having ETR1 (PA12) to trigger TIM1 and have 4 repetition of 199 periodI am using STCubeMX and I must do something wrong as it is not ...

vbesson by Senior
  • 1049 Views
  • 5 replies
  • 0 kudos