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

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
  • 802 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
  • 804 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
  • 385 Views
  • 0 replies
  • 0 kudos

STM32L4 FreeRTOS+FatFs+SD f_open() throws FR_DISK_ERR in application startup hook but not in any other tasks

I am using an STM32L475VG on the B-L475E-IOT01A discovery board. I am running into a strange problem where whenever I try to create a file within a task it throws back FR_DISK_ERR every time, but succeeds within the startup hook or within the main() ...

JRade by Associate II
  • 607 Views
  • 1 replies
  • 0 kudos