Hello all,
I ordered STM32F030F4P6 few months back from ebay.
Yesterday I finally tested first piece, and STM32Programmer recognized chip, and I successfully downloaded blinky example from STM32CubeIDE and it worked all fine.
Then I added a 8MHz external crystal (to pin 2 and pin3 as per datasheet) and changed hardware configuration for it (activate external crystal in configuration and in clock settings check if 8MHz crystal is selected and I set the max frequency to 48MHz), but when I downloaded the program it stopped working.
I can't download any new program and STM32Programmer can't connect to it in normal mode but can in hot plug mode. But it won't let me to erase chip flash memory in that mode.
I think I didn't do anything wrong in hardware configuration, I did this before with black pill and blue pills boards and it all worked fine, only thing different this time is that i soldered chip to tssop20 adapter and plug it in breadboard.
I changed crystal and it didn't make a difference. I put two 15pF capacitors which connect crystal to ground and try to change them to 6pF and 33pF but it didn't make a difference.
When I connect oscilloscope I can measure 8Mhz signal but it's just half a Volt peak to peak, don't know if thats normal.
Did I got fake chip? I was pretty sure it was genuine because STM32Programmer connected to it no problems, and I download blinky example ftom STM32CubeIDE also with no problems.
Any ideas would be appreciated.
Want to know if I did something wrong before I try with another one, so I don't brick that one also