cancel
Showing results for 
Search instead for 
Did you mean: 

When data is deleted in Flash, this directly affects my GPIO pins.

FatihTaşt.
Associate II

I am working with STM32G030K6T6 MCU. In some cases I write and erase to flash memory. While writing there is no problem, while erasing some of my GPIOs go from HIGH to LOW momentarily. I see LED blinking momentarily. Erase function works fine but my general purpose peripheral is affected. My write and erase functions are almost the same as STM32Cube->Repository example. No change is observed in MCU power supply. Can you help me? Thanks.

2 REPLIES 2
Andrew Neil
Evangelist III

@FatihTaşt. wrote:

My write and erase functions are almost the same as STM32Cube->Repository example. 


"almost" ?  🤔

So what, exactly, is different?

TDK
Guru

Probably going to need more detail here. Which pins are affected and at which point exactly within the code.

If you feel a post has answered your question, please click "Accept as Solution".