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

Hello everyone I'm a RT embedded engineer and I want to ask question about HardFault_Handler debug. I'm working on STM32G070RB, Can somebody have a good tequinqe how debug HardFault_Handler?

void HardFault_Handler(void){ /* USER CODE BEGIN HardFault_IRQn 0 */  __asm volatile  (    " tst lr, #4                        \n"    " ite eq                          \n"    " mrseq r0, msp                       \n"    " mrsne r0, psp               ...

gilramon by Associate II
  • 1500 Views
  • 8 replies
  • 0 kudos

How to recover UART RX with DMA after Frame or OverRun error.

Because of nature of my application sometimes I need to disconnect the cable for UART. In tthat case frame error is detected (sometimes noise or overrun). I would like that after reconnection of the cable UART communication comes back. After reconnec...

MAnto.2 by Associate III
  • 651 Views
  • 0 replies
  • 1 kudos

libraries st7282 or configuration st7735 object

Good morning I have a tft st7282 with which I should view manually created images (pixel by pixel color for a thermal scanner) I would need the reference library to use functions such as FIll_Rect, Draw_line etc... where can I find it? currently I ha...

Icont.1 by Associate II
  • 474 Views
  • 0 replies
  • 0 kudos

Resolved! STM32F030 SPI1 enable bit (CR1->SPE) is not set to 1

Hi,I am trying to interface eeprom module with STM32F0308-Disco board using CUBE IDE - HAL library. SPI communication is not working properly, I am getting random values while trying to read the Eeprom ID.While debugging the code I found that the SPE...

0693W00000GXsxMQAT.png
SSala.3 by Associate III
  • 1431 Views
  • 3 replies
  • 0 kudos

STM32G0 not works after reset

HelloI work on the stm32g0 micro. i programmed it with a simple "blinky" code.it works correctly.but when i reset it doesn't work until i program it again.can you help me?

Question about calculating i2c timing

I use stm32373c_eval board and I try to acquire and send test data by i2c communication.The max speed of usb-i2c i use is 400k and board i2c clock frequency is 72M.I downloaded the I2C_Timing_Configuration_V1.0.1.xls from st website.I try to configur...

0693W00000GXoyQQAT.png
KShen.1 by Associate II
  • 1719 Views
  • 5 replies
  • 0 kudos

Wake from standby not working. STM32H743IIT6

I have a custom board with an led on PD7 and Normally High push button on PI11. There is also a pushbutton set up on NRST. Device is a  STM32H743IIT6I can get the processor to go into standby okay. This is confirmed by the __HAL_PWR_GET_FLAG(PWR_FLAG...

FColl.1 by Associate III
  • 982 Views
  • 3 replies
  • 0 kudos

DRDY pin for HTS221 on B-U585I-IOT02A?

Having previously worked with the STM32L4S5 IOT board with an HTS221 on it, I'm familiar with the I2C interface and the HTS221's DRDY exti pin.In the reference manual for the STM32U585-based IOT board, though, there is a giant blank on the I/O line f...

0693W00000GYUd0QAH.png