STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

New possibilities for the ultra-low power segment!

STM32U0 is the first Cortex-M0+ with a static consumption of only 160 nA in standby mode with RTC (Real-Time Clock) and 16 nA in shutdown. It also achieves 118 points in CoreMark and targets SESIP level 3 and PSA level 1 focusing on firmware code pro...

gif-stm32u0.gif

Resolved! STM32G431 (STSPIN32G4), OPV High Offset Voltage

Hi,i have a custom design with a STSPIN32G4 SoC. However, I think my question does refer to the internal microcontroller (STM32G431VBTx) and not the motor controller.Timer TIM3 does trigger an interrupt every 10 ms.The Interrupt starts a conversion o...

oeser by Associate II
  • 1190 Views
  • 19 replies
  • 6 kudos

STM32L031F4 power consumption too high

Hello,I have a project that uses the STM32L031F4. I need the board to have the current under 1mA whilst running. However, I cannot get the current this low, even according to the data sheet, the max current consumption for Vcore=1.2V should be 0.2mA....

SPI DMA with STM32U5

Hi everyone,I want to connect 2 stm32 via SPI DMA mode. My wish is that the master first sends 512 bytes of command to the slave, then the slave processes this data to respond to the master. On the master side, the delay between sending 512 command b...

WhatsApp Image 2024-09-12 at 16.00.19.jpeg WhatsApp Image 2024-09-12 at 15.59.03.jpeg
tuna by Associate
  • 782 Views
  • 6 replies
  • 0 kudos

How do I fix a HAL_BUSY condition during I2C comms?

Hi Folks,This has been driving me crazy. I'm using a Nucleo-L031 board and it's connected to a I2C TCA9548A 1:8 multiplexer. I am trying to read 4 sensors connected to the mux chip. I have 4.7K pullups installed at the Nucleo's I2C pins. The sensor b...

SDIO CLK unable init

Hi  I had a custom board and my SD clock (SD_CLK) is always stuck at 400 kHz, this is typically due to the initialization phase of the SD card interface. As such i unable access the content in my SD card. https://github.com/EdgeTX/edgetx/blob/v2.7.1/...

KHowe_0-1728303188086.png
KHowe by Associate
  • 313 Views
  • 3 replies
  • 2 kudos

Resolved! SPI Master using HAL_SPI_TransmitReceive_DMA

Hi everyone,I am a new user of ST microcontroller. I am not familiar with DMA. Currently I am working on to pull the data from the AFE as slave using DMA method using CUBE generate code:HAL_StatusTypeDef HAL_SPI_TransmitReceive_DMA(SPI_HandleTypeDef ...

Nabu .1 by Associate
  • 314 Views
  • 3 replies
  • 1 kudos

Casting Void Pointer to structure changes data

{static void* data;func ->structure* s = new structure();// do stuffdata = s;return;  Callback ->structure* s = (structure*) data;// Error} Functions are more or less setup as above. This setup is used in many locations on the code, works just fine. ...

stimpacker_0-1728344544801.png

C++ project but unable to use C++ code

Hello, I have created a C++ project with CubeMx / CubeIDE.  It generates the code as main.c, I have seen other post about changing the file extension each time you generate code to .cpp and I have tried that but then I get an "undefined reference to ...

brohr01 by Associate II
  • 205 Views
  • 2 replies
  • 2 kudos