MCU (STM32F051C6) gets data from ADC via SPI and then sends it to the I2C master (with DMA help) (Raspberry PI). When i stop debugging and reset chip it starts working in a bad way. No data from ADC, only one 32 bytes package (.read_i2c_block_data python function) once after reset and no data anymore, nevertheless GPIOs work and external interrupts as well. MCU freq. 4Mhz (HSE) * 2 PLL but i tried several variants. It still doesn't work. Have anyone encountered the same problem?