STM32F030F4P6 EMI problems?
Hi,
I designed a board with a STM32F030F4P6 on it. The board is about 68x48 mm and contains the microcotroller a AC/DC supply and a nRF24L01 RF-Module. supplied directly with about 5V from an external supply the circuit works as it should. But when I use the AC/DC-Module on the board and supply the board by 230V from socket, I dont can program the microcontroller anymore. The microcontroller uses the internal oszillator, enough capacitors on the supply pins are available. When I connect a oscilloscope between SWCLK and GND to measure if there are any interferences, the programming works again. But when I remove the scope its the same error again. The debugging starts and after some blinking of the debugger (ST-Link V2) the message "Error finishing flash operation" occures. I have already tried pull-up/down resitors on SWCLK and SWDIO, but that doesn't work too.
