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

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
  • 923 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
  • 376 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
  • 383 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
  • 252 Views
  • 2 replies
  • 2 kudos

Resolved! STM32H723 I2C MEM DMA not working

Hi,On a small project I am trying to use HAL_I2C_Mem_Read_DMA and AL_I2C_Mem_Write_DMA to get and send data to INA260 and SSD1306 without success.In main i have: MPU_Config(); SCB_EnableICache(); SCB_EnableDCache(); HAL_Init(); SystemClock_Config();...