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

Temperature sensor not working

To get my first sensor project done and after selecting my board, I enabled I2C1 which triggered pins PB6 and PB7 as shown below: Then used code below (in main.c) with the purpose that the LED is on when the temperature is higher than 40 degrees and ...

Capture.PNG
TechyAry by Associate III
  • 616 Views
  • 14 replies
  • 0 kudos

Resolved! USB received data interrupt callback

I'm using the STM32F401RE in a new design and trying connect the USB CDC device interface to FreeRTOS_CLI. I modified its _write function to call CDC_Transmit_FS, but I don't see a received data callback where I can add a xTaskNotifyFromISRfor to sen...

Resolved! Timer Prescaler Application Clarification

I did not understand the significance of the number 65536 in the below codepHandle->OvfFreq = (uint16_t)(pHandle->TIMClockFreq / 65536U); /* Set fixed to 150 ms */ pHandle->HallTimeout = 150U; /* Compute the prescaler to the closet value of th...

STuser2 by Senior III
  • 272 Views
  • 1 replies
  • 0 kudos

Official ST Example BSP for b-u585i-iot02a

I adapted the official BSP example code (available at https://www.st.com/en/embedded-software/stm32cubeu5.html, stm32cubeu5-v1-8-0.zip) to acquire and process audio. My code is running very slowly on the board. We thought the slowdown might be due to...

lucadelf by Associate II
  • 275 Views
  • 2 replies
  • 1 kudos

I made I2S-USB Audio Bridge Microphone Drivers

First and foremost, they aren't perfect. The code has tons of work left. But it took me SO long to get ANY i2s audio data from my guitar to my computer, the major hurdle being mostly the lack of USB Microphone drivers provided by the stack.Now that I...

pszsh by Associate
  • 821 Views
  • 0 replies
  • 0 kudos