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

Resolved! STM32 for safety critical application.

Hello, I happened to have to make an MCU board for a military application. Generally I always use STM32 MCU with which I am very comfortable.But for this specific application I tried to search if there were any MCUs specifically designed for mil...

LWIP: allocation fails in Heap (mem_malloc) for TX

Hello,I'm on a STM32H743 (nucleo-H743ZI2), and I got LWIP (no OS) to "work", as in it receives ip packets and reads them. The problem is with allocating on the heap. I didn't use the libc_malloc option, the heap pointer is at 0x30044000 and is 1600 b...

gdere.1 by Associate
  • 1879 Views
  • 2 replies
  • 0 kudos

Resolved! AUDIO_AudioCmd_FS gets called only once

I am trying to implement a simple soundcard from using STM32F407G-DISC1 board.It utilizes STM32F407. I am using CubeIDE version 1.10.1I configured the USB to be Full-speed Device Only. And I configured the middleware as Audio class.I set the the heap...

Sami1 by Associate II
  • 1018 Views
  • 1 replies
  • 0 kudos

HAL UART Receive short reads - corrupt data

I am trying to implement a UART Rx using a typicalstart-byte, length, payloadpattern.I spin read on 1 character until it is my start byte. Then I read 2 bytes, shift them into a 16 bit length and read the remainder of the payload.The trouble is, the...

PCamp.2 by Associate III
  • 1628 Views
  • 6 replies
  • 0 kudos

FileX, DMA, disable or manage cache?

HiIn the various filex with SDMMC examples the icache and dcache are enabled so when porting I did the same.I noticed when attempting to use DMA SPI it was not working until I disabled these. For the SD I then have to disable cache and cache manageme...

OHaza.1 by Associate III
  • 2003 Views
  • 5 replies
  • 0 kudos

DFU programming error

If I use the DFU programming over USB with STM32CubeProgrammer, the error occurred and the device doesn't start properly, but if I download the same program with ST-LINK everything runs ok. The MCU is STM32 G473.I can connect the MCU over the USB, an...

0693W00000UnERsQAN.png
PKola.1 by Associate II
  • 2771 Views
  • 6 replies
  • 0 kudos

Help getting the en.STM32Cube_FW_F7_V1.15.0 (or later versions) package to run on anSTM32F7 Discovery kit with the STM32F746 uP

Hello, When I compile the files in the package and flash the board, all I get is a white screen. I have attempted to flash with other code packages as well and have not been able to get any to work. The only one I have had any luck with is rebuild...

BLies.1 by Associate
  • 496 Views
  • 1 replies
  • 0 kudos