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! SPI_DMATransmitCplt not checking the right address

Hi all,I'm working on a project that will communicate via SPI. I want to use DMA for it. I have some problem getting HAL_SPI_TxCpltCallback to be called. I've followed the debbuger and I think I've found what's wrong. It seems that the SPI_DMATransm...

0693W000007ZbyaQAC.png 0693W000007ZbyfQAC.png 0693W000007ZbykQAC.png 0693W000007ZcBKQA0.png

USB PD Audio Accessory connection

I am working with demo board B-G474E-DPOW1 and the project from the STM32CubeG4 Sink examples. I am trying to figure out how to connect an Audio Accessory. I have such an adapter. When I connect it to the usb-c, I expect to see an event with the conn...

ADoro.2 by Associate III
  • 1394 Views
  • 8 replies
  • 0 kudos

Optimization Settings for HAL Driver (STM32F7)

Hello,I have a project with FreeRTOS and LWIP (plus some other stuff). I ran into the problem, that if I set the optimization for my project (-O3 in my case) I get weird communication glitches. For example I only get a reply every 3rd or 4th ping, Pi...

H743ZI lwIP TCP assign more memory

Hello,I got the lwIP raw TCP working on my H743ZI2 NUCLEO which I'm quite proud of, but it's quite slow. Now I would like to assign more memory to the stack. By default it's running with 16KB heap I think. So the first thing I did was changing the MP...

MLang.7 by Associate III
  • 825 Views
  • 1 replies
  • 0 kudos

[CUBE OTG] Incorrectly set HFIR.FRIVL

In CubeF4 v1.21, OTG_HFIR is set in USB_InitFSLSPClkSel() to either    USBx_HOST->HFIR = 48000U;or   USBx_HOST->HFIR = 6000U;which according to the RMs is incorrect, as they should be set to value one less.This has been already noted by @tsuneo​  her...

LWIP recompilation

Hello Dear DevelopersI don't know what is the procedure, but when a file is added to the project, the compiler no matter if it is Keil, STM32cubeide, or IAR, does a complete rebuild while LWIP is added to the project. What should I do or What I can d...

Resolved! STM32F446RE USB CDC device problem

Hi, I'm trying to follow this tutorial :- https://youtu.be/Hk--a4K497M -- demonstrating how to transmit simple string to PC via usb virtual com port. Unfortunately, I'm getting no output on my serial port. During debugging, I found that CDC_Transmit_...

0693W000007ZdGGQA0.png
KSriv.1 by Associate
  • 1465 Views
  • 2 replies
  • 0 kudos