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! How to properly use HAL I2C functions

 Hey,I'm working with TMP175AQDGKRQ1 (temperature sensor) which communicates over I2C.I've managed to read the temperature register by doing this static void Read_Temperature(unsigned char *buffer[2]) { HAL_I2C_Master_Transmit(&hi2c1, /*0x4B<<1*/TE...

0693W000001sAIqQAM.png
RLosc.1 by Associate II
  • 4196 Views
  • 3 replies
  • 0 kudos

USB Audio Class losing 50% of my data

Hi, I am trying to get a robust isochronous transfer of audio from my STM32F072CB using the audio device class. My code is based on the code generated by STM32CubeMX for a speaker but I have changed the descriptor in order to make it an audio input. ...

0693W000001sASMQA2.png

How to get peripheral clock programmatically?

Hello,I have a generic function for the timer configuration. The time base address is an input parameter to this function. I'm looking for a way to get the timer clock so that I can set the timer prescaler. How can I do that with HAL?I guess I need t...

GregB by Associate II
  • 1340 Views
  • 3 replies
  • 0 kudos

Boot app code from external memory OSPI/QSPI ???

Hello!I'am playing with the STM32H7B3-DK and I have successfully bring up the board and run a custom gui:The GUI assets are loaded in the external OSPI and the dual framebuffer is placed in the the external SDRAM.Now I'am interested in loading also t...

PLago.2 by Associate II
  • 1078 Views
  • 3 replies
  • 0 kudos