STM32 MCUs Embedded software

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Hello everybody! I've got a development board NUCLEO-H743ZI2. I try to study USB using STM32CUBEMX. I always get an error 43 in my windows PC after reconnecting. Can anybody say to me what I've do wrong?

 I configured clock configuration and USB CDC with default settings without using VBUS. In main() i try to sent a message to PC using function CDC_Transmit_FS which was generated CUBEMX. First connection to PC is successful and i got my messages. Aft...

AAA.1 by Associate
  • 242 Views
  • 0 replies
  • 1 kudos

'F446 OTG_HS hangs on Core Soft Reset

On a 'F446 running out of FLASH at 168MHz, an already field-proven code using OTG_HS with FS PHY started to fail intermettently after being compiled by a newer version of gcc (due to more aggressive optimization of course).The code hangs on        wh...

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
  • 2980 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
  • 949 Views
  • 3 replies
  • 0 kudos