STM32 MCUs Products

Ask questions, find answers, and share insights on STM32 products and their technical features.

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Resolved! The Build Analyzer says my processor STM32L443CC has 64K RAM and 16K RAM2. And I am not using any RAM2. What is RAM2 and how do I use it?

On other processors sometimes there are keywords when defining variables to specify which memory area the variable should be stored in. Or there is a #pragma statement. I have not seen either in the STM32 or the IDE. I am guessing RAM2 might be a goo...

KiptonM by Lead
  • 2544 Views
  • 16 replies
  • 1 kudos

Resolved! Precise delay function on STM32F401CE

I have tried a lot of different things but I can never seem to get it, I am trying to make a semblance of a precise delay function for my controller, I am not using HAL or anything, just writing to registers directly. I tried timers, timer interrupts...

MArdm.1 by Associate II
  • 3301 Views
  • 8 replies
  • 0 kudos

Detecting available UARTs at compile time

Hi,using CubeIDE with CubeMX, is is possible to "check" or "detect", for conditional compiling, which UART ports that are enabled? In the MX-generated USART.C you will find all the handles for the available UARTs but AFAIK, you can't conditional comp...

GoEk by Associate III
  • 1627 Views
  • 8 replies
  • 0 kudos

Resolved! ???ARPE (auto reload preload) STM32L476

Been looking closely at RM figures 342 AND 343.....I cannot see the value of the ARPE bit....when 1 it looks like the shadow register updates on UEV / or Interrupt and when 0 what?? 342 disregards showing the shadow register and on top of this who ca...

SWenn.1 by Senior III
  • 831 Views
  • 2 replies
  • 0 kudos

STM32h745 SPI DMA not receiving the data

Hello,I am working on STM32h745 controller. I am using the DMA for SPI configuration. I declare the buffer in the RAM2 , transmission is done properly but I did not receiving the data on MISO why?/* MODIFICATION STARTS HERE */ .buffer(NOLOAD) : {  . ...

MDeva.1 by Associate II
  • 772 Views
  • 1 replies
  • 0 kudos

Resolved! Openocd not able to flash a discovery board

UNEXPECTED ID code?, the discovery board is original.the onboard stlink is updated to latest version.If i google this Error, i get people trying to flash ST clone mcus, but mine is original. This is my openocd.cfg file:source [find interface/stlink.c...

0693W00000Y8fnkQAB.png
Javier1 by Principal
  • 1469 Views
  • 1 replies
  • 1 kudos

Resolved! Need help with flashloader/driver for STM32H7A3ZIT6Q with Octo-spi FLASH (twin quad) NOR flash MT25TL256

I have a custom board with an STM32H7A3ZIT6Q. It has the MT25TL256 NOR flash connected to the pins of OCTOSPI1.I'm trying to write a flashloader/driver.In our application we do not need to execute code from this flash. We only need it for data. But i...

Obejct Sensor Interfacing Doubt

Hello, I have tried to interface object sensor and all works well the object sensor led works perfectly when the range is close and far( LED is off when the path is blocked and vice versa). But I'm just getting stagnant ADC Values, it's stuck at 4095...

STM32F407 CAN filter doesn't work

Hi everyone.I have next problem. I trying to use CAN filter option, sometimes i need to configure them on fly. First basic filter its standard filter: /*CAN*/ canfil.FilterBank = 0; canfil.FilterMode = CAN_FILTERMODE_IDMASK; canfil.FilterFIFOAssignme...

OMarc.1 by Associate III
  • 1157 Views
  • 3 replies
  • 0 kudos