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

32F417: can one detect when a USB Host is connected?

Can anyone suggest a way of bypassing this USB OUT function ("OUT" means to Host i.e. the opposite of the correct USB terminology) if no USB cable is plugged in?This is a fairly common bit of code from the ST Cube USB CDC (VCP) library, with addition...

PHolt.1 by Senior III
  • 6389 Views
  • 17 replies
  • 2 kudos

Resolved! Timer 8 Output Compare

Hello,I am using the board "STM32F407G-DISC1" and I want to implement a test code for timers in output compare mode,Timers (2,3,4,5, and 12) worked perfectly.but it does not work for Timer 8 Channel 2 (I used all possible pins for this channel "PB0, ...

Resolved! FDCAN ECHO packets avoiding

Hi, I accidentally encountered a problem with echo-received packets after transmitting. Is there a software initialization of FDCAN way to avoid it? I can't use a filter 'cause receiving the packet for MCU is possible.

MishKa59 by Associate II
  • 1299 Views
  • 3 replies
  • 0 kudos

Resolved! Checking (HAL_TIMEx_MasterConfigSynchronization(&htim12, &sMasterConfig) != HAL_OK), halt the system

I am using STM32F407 with eclipse IDE. And I want to generate PWM signal using TIMER12. After all the configuration, when I call, "sMasterConfig.MasterOutputTrigger = TIM_TRGO_RESET; sMasterConfig.MasterSlaveMode = TIM_MASTERSLAVEMODE_DISABLE; if (...

Abid by Associate II
  • 2745 Views
  • 3 replies
  • 0 kudos

STM32H747I-DISCO trouble recording audio

I'm working on an audio-processing application with the STM32H747I-DISCO board (MB1166-A9). While trying out how the recording works on the board, I downloaded and built the latest version 1.11.0 from: https://www.st.com/en/embedded-software/stm32cub...

ivy by Associate
  • 1209 Views
  • 0 replies
  • 0 kudos

I'm trying to connect to Mosquitto Broker from an STM32 Azure RTOS environment using certificates that work from Paho MQTT clients

My program, linked with Paho SDK C library, works fine connecting to a UNIX-hosted Mosquitto MQTT Broker. The required SSL/TLS connection involved self-signed certificate generation. Those same client certificate sets work with "MQTT Explorer" and MQ...

AShap.3 by Associate III
  • 3203 Views
  • 2 replies
  • 0 kudos