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

DMA SPI transfer recovery time

I am making this call:  if(HAL_SPI_Receive_DMA(&hspi3, &aRecvBuffer[0],3)!= HAL_OK)inside an external GPIO interrupt handler that gets called every 20 us. It is used to read data from an external ADC. I noticed that this dma transfer works well only ...

fma23 by Associate II
  • 885 Views
  • 2 replies
  • 0 kudos

Resolved! STM32U585 OSPI hard fault on memory-mapped write

I'm trying to follow the OSPI_NOR_MemoryMapped STM32CubeIDE example, but for a different device (W25Q128FV). Write Enable, Read Status, and Erase Sector commands behave as expected, as well as memory-mapped reads. This has been confirmed by monitorin...

BHamm by Associate II
  • 3454 Views
  • 9 replies
  • 0 kudos

copy float's binary content into uint32_t

Hello,I am trying to copy the content of a float variable with memcpy into uint32_t variable. unfortunately the binary content changes after copying. it should be 0xfff00000, like in the float variable. Does anyone know why this happens and how can I...

NTaha.1 by Associate II
  • 2085 Views
  • 4 replies
  • 0 kudos

STM32H7B0 SWO over ITM doesn't work

Hi!I have a problem setting up Serial Wire Output over ITM. I followed every tutorial on the Internet (including this forum) and I still haven't made any progress. I run the MCU on 280 Mhz: In Pinout & Configuration -> DEBUG I configured Serial Wire ...

0693W00000Y92EsQAJ.png 0693W00000Y92H3QAJ.png 0693W00000Y92IzQAJ.png
ypiotrp by Senior
  • 4192 Views
  • 14 replies
  • 0 kudos

Resolved! STM32 RTC Wakeup interrupt not working?

I am trying to do RTC wakeup interrupt using STM32L412RBT6 microcomtroller in baremetal c, but the interrupt is not firing, below mentioning my code.int main(void){ LedConfig(); Tim6Config(); RTC_ClockConfig(); RTC_Init();  /* Loop forever */ while(1...

SSaiy.1 by Associate III
  • 1635 Views
  • 1 replies
  • 0 kudos

SPI TXE or RXNE never goes to 1

helloI am using an STM32F7 series microcomputer.with SPI peripheralsIf writeable, write to the data register,After that, if it is readable, it is reading from the data register.The image in the code is like below,Writeable, readable loops infinitely ...

Ebun.1 by Senior
  • 1162 Views
  • 4 replies
  • 0 kudos