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

HAL_FLASHEx_Erase Problem

Hello everyone !I am converting one of the my projects from F0 to G0. While debugging, when i come to HAL_FLASHEx_Erase line, it jumps to HardFault. I checked the memory, flash address is empty. I don't erase the program. Here is the some picture dur...

0693W00000JPQT5QAP.jpg 0693W00000JPQT0QAP.jpg 0693W00000JPQSbQAP.jpg

I2C2 as a SMBusDevice NACK?

firstly, i use stm32f103RBx as MCU. I2C2 set SMBusHost,the SMBusDevice set address 0x24, but the slave nack when smbhost send smbdevice address. the folllow is my timing:

0693W00000JPEl3QAH.png
Jseyn.1 by Associate III
  • 912 Views
  • 3 replies
  • 0 kudos

How can I call STM HAL UART code in multiple files?

I have a file in my VisualGDB project that has all the HAL code necessary to talk to a GPS receiver through a UART. I can #include this GPS file in one of the other files in my project and the code in that file can talk to the GPS just fine. If I #...

magene by Senior II
  • 2579 Views
  • 6 replies
  • 0 kudos

Disable tracing on STM32H743

Hi Is it possible to disable the ETM on STM32H743?I know It possible to disable the tracing via trace pins or reading the trace data at low speeds using Jtag, but is it possible to disable the CPU from recording instructions into the ETM?Is that what...

deckhard by Associate III
  • 888 Views
  • 2 replies
  • 0 kudos

Resolved! Bits sent out from SPI MOSI pin are received inversed by analyzer

Hi!I am learning to read the stm32f103c8t6 manual in order to be able to control the MCU without the HAL libraries. It seems that I have set up everything as it should be, but the result seems weird. If I write 0x00 to the SPI DR, I see 0x00 by the a...

0693W00000JPYTDQA5.png
GMan1 by Associate II
  • 1714 Views
  • 4 replies
  • 0 kudos

UART timeout in DMA Circular mode.

Hi, I have a question about UART + DMA.I have a sensor that needs to send data to my STM32. When the sensor is stimulated, for the duration of the event, it sends a byte approximately every 1 ms.To receive the data there are no problems, I used DMA a...

STM32H755 Rev. V RDP Error when erasing flash sectors

Hi there, Our application has a firmware update method that begins by erasing flash bank 2 sector by sector before writing the new firmware.RDP level is set to 0, but this shouldn't be an issue as we're only erasing a sector.Occasionally (Maybe 1 in ...

MJack.1 by Associate III
  • 4610 Views
  • 7 replies
  • 2 kudos