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

Logico convert

hi I have an encoder that has channel A channel B 5 volt output only and I wonder if it is possible to read gpio interrupt with a cortex m4 since it works at 3.3 volts? Do you need a logic level converter, some resistor or read it anyway?

SDall by Associate II
  • 662 Views
  • 2 replies
  • 0 kudos

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
  • 1029 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
  • 1969 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
  • 376 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
  • 792 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
  • 862 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
  • 906 Views
  • 6 replies
  • 0 kudos