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

STM32CDC Windows and OOB data?

I have a STM32F303 acting as a serial port to an industrial control system, but I need a reliable way to set a byte for out-of-band data (I need to set "termination resistor On/Off, Drive Strength, etc -- I'm using the "comm port" for the serial data...

TJohn.14 by Associate II
  • 922 Views
  • 4 replies
  • 0 kudos

Polling ADC on STM32F777IIK

I'm having problems getting an ADC value from the STM32F777IIK chip we have embedded in one of our boards.I have used a digital GPIO application and have confirmed that the ADC pin (PC0) is connected from the chip to the headers that is good.I have u...

Nevyn by Associate II
  • 1790 Views
  • 7 replies
  • 0 kudos

No SMBus support for STM32L152?

Hi, according to the Reference Manual and the Datasheet of the STM32L152 the I2C cores are supposed to support SMBus. However, there are no HAL drivers for SMBus for this MCU. If I configure the I2C cores as SMBus in CubeMX, CubeMX will generate Init...

SFahr by Associate III
  • 310 Views
  • 0 replies
  • 0 kudos

I would like to know for USB device driver why there is a need for INF file(VID & PID info) and digitally signed cat files with this CMSIS Middleware based USB drivers and why these are not needed for stm32cubemx GUI based USB hal drivers.

I have the following couple of questionsQUESTION :1) what is the difference between USB drivers in the cubemx standard hal library middleware and CMSIS USB Middleware based on the following 2 cases?CASE:1)  In STM32CUBEMX, When I use STM32 standard H...

GKasi by Associate
  • 642 Views
  • 0 replies
  • 0 kudos

Are I2C_START and I2C_STOP commands included in HAL_I2C_Master_Transmit and HAL_I2C_Master_Receive commands?

I am using ​HAL_I2C_Master_Transmit and HAL_I2C_Master_Receive commands to read device ID of various sensors. I wrote a simple code to do that. It works for some sensors (e.g. MCP9800, HDC1080). But it doesn't work for some other sensors (e.g MLX9016...

KMunj by Associate II
  • 759 Views
  • 2 replies
  • 0 kudos

priority interrupt

hi I am handling two different interrupts:- tim3 interrupt- gpio external interruptnow I want gpio external interrupt to have a higher priority than tim3 and that can also interrupt tim3 ....How can set i? HAL_NVIC_SetPriority (EXTI15_10_IRQn, 0, 0);...

SDall by Associate II
  • 756 Views
  • 6 replies
  • 0 kudos

Why small USB message is divided into two packets?

Hello,I am using STM32CubeMX to config STM32H743 for CDC class.When I analyze the data I get on the PC I notice the following1-Some small messages are Splitted into two packets2-when I send Several messages in series some messages are missed, but whe...

HAlzo by Senior
  • 365 Views
  • 0 replies
  • 0 kudos