STM32 MCUs Embedded 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
  • 3597 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
  • 1165 Views
  • 3 replies
  • 0 kudos