STM32 MCUs Embedded software

Ask questions and find answers on STM32Cube packages, including HAL, LL and middleware, and expansion software.

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Resolved! Can't make printf via USART work

I'm using an STM32U5A9J-DK and I've followed this guide step-by-step https://community.st.com/t5/stm32-mcus/how-to-redirect-the-printf-function-to-a-uart-for-debug-messages/ta-p/49865From the docs https://www.st.com/resource/en/user_manual/um2967-dis...

nico23_0-1763207162487.png
nico23 by Senior III
  • 65 Views
  • 1 replies
  • 0 kudos

Best way to configure ADC reading for speed

Hello, I am trying to configure my STM32H723ZG to be able to read the value of a few current sensors. My main concern at the moment is the speed at which I need to read these. I'm hoping to be reading upwards of rate of 20kHz. My questions are about ...

evanpol by Associate II
  • 126 Views
  • 3 replies
  • 1 kudos

Sending UART messages between two boards

Good morning, I need to connect two h7a3zi-q board via uart (only one way required), but by only connecting tx1->rx2 the programs run but I get empty strings, and by also connecting the grounds of the two boards the tx program gives HardFault. I'm su...

Jack_DB by Associate
  • 126 Views
  • 8 replies
  • 10 kudos

Resolved! Initialization of OpAmps in STM32G474

Hi,I'm going to use four different OpAmps in the STM32G474, namely OPAMP3, OPAMP4, OPAMP5, and OPAMP6.At this moment I try to initialize all four OpAmps. The first three work perfectly well, the initialization of OPAMP6 results in a problem. The Stat...

ErX by Associate
  • 90 Views
  • 4 replies
  • 1 kudos

ADC not started by TIM output trigger

I'm using the STM32H562. I'm trying to start an ADC conversion using output compare on a specified channel during the middle of an up-down count of a timer.Timer used: TIM8 running at 250 MHz, generating a 20 kHz periodChannel: 4Timing: At the peak o...

Thoufiel by Associate III
  • 178 Views
  • 5 replies
  • 1 kudos