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

Error in code generation for LwIP

Hi!I generate the CubeIDE project (FW v 1.3.0) for STM32H743ZI, but have an error. See full in "ethernetif.c"FreeMarker template error (DEBUG mode; use RETHROW in production!): The following has evaluated to null or missing: ==> SWIPdatas [in templat...

Alex_Doc by Associate
  • 744 Views
  • 0 replies
  • 0 kudos

Is DMA possible with USB FS

I'm working on a STM32H750XB with USB. It works fine with the USB2_OTG_FS instance, but the speed is not reaching the maximum (only 875kB/s). I'm using the USB with diskio, FatFS and FreeRTOS.I'd like to enable DMA to make it faster, so I set hhcd.In...

BDELI.2 by Associate II
  • 1915 Views
  • 4 replies
  • 0 kudos

CDC USB receive with XMODEM

I'm using STM32F745. I would like to use the CDC USB to receive data from Tera Term using the XMODEM protocol. I can configure CDC_Receive_FS() to receive data for blocks of 64 bytes or less.  The procedure for this is well documented. XMODEM packet...

PKraj.1 by Associate II
  • 1296 Views
  • 4 replies
  • 0 kudos

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
  • 2187 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
  • 2251 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
  • 602 Views
  • 0 replies
  • 0 kudos