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

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
  • 881 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
  • 1544 Views
  • 2 replies
  • 0 kudos

Hi I'm using STM32F030R8 and trying to communicate with atecc508a using I2C. The datasheet of atecc508a says that it needs a wake up command by transmitting 0x00 at its I2C address 0xC0.

I use the HAL library function to transmit the wake up command to its I2C address.#define I2C_ADDRESS 0xC0HAL_I2C_Master_Transmit(&hi2c1, I2C_ADDRESS, 0x00, 4, 1000)but my code always return HAL_ERROR and the chip never acknowledges. I'm fairly new t...

BNara.1 by Associate
  • 774 Views
  • 1 replies
  • 0 kudos

Moving project from 1 processor to another.

Hi I have a project where I have a ST32L433Vx 100 pin 256K memory and 64K ram. I am using a display and as I need a lot of memory I have to upgrade. I am looking for a drop in chip and found the STML452VETx which is 512K and 160K ram. I looked at th...