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

Dynamic memory allocation in USBD_CDC_Init

MCU: stm32f427Firmware Version: F4_v1.25.2CubeMX Version: 6.0.1The generated code for USB Virtual Com Class dynamically allocates memory (calls malloc) in USBD_CDC_Init. However, this init function is called under a IRQ context, and I don't think doi...

Resolved! Logging a Variable Using USB Mass Storage Mode

Hi guys,On USB Host Mass storage mode, I am creating a text file using (f_open(&myFile, "TEST2.TXT", FA_WRITE | FA_CREATE_ALWAYS function.For writing text into the file, I use sprintf(rwtext, "Hello World"); function to write the...

AKh.1 by Associate II
  • 739 Views
  • 1 replies
  • 0 kudos

Uart does not work.

Hi.​If you continue to receive packets while executing Uart for the first time, the operation stops.If there is some delay, it's okay, but if there isn't, it suddenly stops.However, if you update the STM32 directly, it will work again.It works even i...

LSang.11 by Associate II
  • 484 Views
  • 0 replies
  • 0 kudos

Ethernet Interfacing with STM32H743ZI2

Hello Sir,I am using the STM32H743ZI2 for the interfacing with ethernet. I am totally new to ethernet protocol. I have gone through the example lwIP_HTTP_Server_netconn and also setup all the things as per the readme.txt file .but result is not gett...

NDalv.1 by Associate II
  • 693 Views
  • 2 replies
  • 0 kudos

Resolved! STM32F723 USBPHYC LDO control documentation/HAL bug

So I'm looking at the reference manual of STM32F723 to find out how to control the USBPHYC peripheral. Actually there is no programmer's guide in there like for most peripherals, so I can only rely on the register map to find anything out about it. T...

Ben K by Senior III
  • 1211 Views
  • 3 replies
  • 0 kudos

SPI and IIC bus not being free and locks up. Adding/removing code or changing stack size fixes the problem.

I have seen this with the SPI bus 6 months ago. It just just happened with the IIC bus. I am using Cube 1.12.0 and this maybe related to TKube.1 issue "Potential bug in I2C HAL layer (STM32Cube_FW_F4_V1.25.0) in I2C_MemoryTransmit_TXE_BTF() ?".I ha...

RobG by Associate III
  • 1047 Views
  • 3 replies
  • 0 kudos

Resolved! Does STM32CubeMX supports SafeRTOS?

It is well known that STM32Cube IDE & MX both has quiet good support for FreeRTOS, but my question is a bit different and related to SafeRTOS, I'm just wondering if ST has support for SafeRTOS as well or not?!I'm well aware that SafeRTOS comes with l...

JJ1 by Associate II
  • 1218 Views
  • 2 replies
  • 0 kudos