STM32 MCUs Embedded software

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

USBD_HAL_SendReport results in data shifted after operating normally for an extended duration. What might cause such a problem?

Let me preface this by saying I'm a novice when it comes to programming for MCUs. I made a keyboard using STM32F4 MCUs and in my code I create an 8 character data set for the keycodes to be sent to the computer. I created the project using the STMCub...

RobK by Associate
  • 1842 Views
  • 2 replies
  • 1 kudos

Resolved! wrong HAL_Delay()

hey thereI have a PCB which has a STM32F030C8T6 and a 11.0592MHz crystal on it.the thing is that when I enable HSE and try to toggle a pin every 500ms it takes way longer than expected, here is the codewhile (1) { /* USER CODE END WHILE */   ...

Ala by Senior
  • 1721 Views
  • 9 replies
  • 0 kudos

Resolved! STM32 Flash Erase fails with a "Programming Parallelism error" and "Programming Sequence error"

I have an application running on an STM32F4 which uses the STM32 HAL framework + FreeRTOS. I occasionally need to store some settings in flash during runtime and have written the following function to erase the data at my target address of 0x08060000...

What is the difference in the implementation of Low power Sleep vs Sleep in STM32L053 using cubeIDE and HAL.

I went through the examples on the ST site which have the direct implementations (not using CubeIDE generated code HAL for GPIO, SystemClock, ... config implementation)https://github.com/STMicroelectronics/STM32CubeL0/blob/master/Projects/NUCLEO-L053...

0693W00000JOdvUQAT.png
AV.9 by Associate II
  • 483 Views
  • 0 replies
  • 0 kudos

STM32 dual ethernet reference designs ?

Hi,I'm looking for a dual ethernet examples from ST, but I couldn't find any.I've seen that there is no STM32 with dual ethernet interface.So I look among the 3-port switch (KSZ8863 etc) but unfortunatly I cannot found any reference design by ST. Als...

Question about STM32 FPUs and FREERTOS

Do the STM32 MCUs that have a floating point unit use it automatically or does it only use it once you have enabled it in the FREERTOS configuration?Say on a STM32H743 which has a double precision FPU, if I have a floating point calculation in my cod...

CStew.2 by Associate II
  • 3336 Views
  • 6 replies
  • 0 kudos

Resolved! STM32G0C1E-EV jack headset recording

I am trying to record audio from a STM32G01CE-EV by using a microphone from a headphone connected through the jack connector. I am not able to get any proper data and I dont know if I am approaching the problem properly. How should I read the data of...