STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

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
  • 564 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 III
  • 419 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();...

STM32U5 Delay block with OSPI in QSPI configuration

I notice the delay block doesn't seem to be configurable for the OSPI peripheral in QSPI mode. Does any one know if it is still possible to use the delay block with a QSPI clock? I've tried coding the delay block a few different ways but it doesn't s...

EvoFrank by Associate
  • 1256 Views
  • 4 replies
  • 0 kudos

USB-PD sink not working with some Ac adapters

Hi, I´m using USB-PD (with STM32G0B1CEU6) succesfully with a lot of own boards and different AC adapters. But with one adapter I don´t get the 20V despite the source has this capability. Using a PD analyzer I can see, that with the not working adapte...

AWack by Associate III
  • 444 Views
  • 1 replies
  • 0 kudos

I2C Communication Protocol

I am currently working on I2C communication with the STM32G030F6P6 microcontroller and developing a library for slave mode. I encountered an issue where, after the master transmits a command, the slave receives and processes the data, responding acco...

Resolved! STM32H5 workshop materials and voucher

Hi I attended the "STM32H5: Ultimate combination of performance, integration and affordability" on Tuesday, May 14, 2024. I have not received the material nor the voucher. Any change to get those? Regards,Antti Vähälummukka  

vahisa by Associate
  • 735 Views
  • 3 replies
  • 0 kudos

Resolved! workshop followup STM32H5

Hello,I also attended the online "STM32H5: Ultimate combination of performance, integration and affordability" workshop on Tuesday 20th June. I've not received any email with the links to the workshop, slides and so on. Also was told to receive a fre...

Nick_Art by Associate II
  • 2397 Views
  • 9 replies
  • 6 kudos