AnsweredAssumed Answered

STM32F051C6 works properly only in debug run mode

Question asked by Mister_Y on Sep 27, 2014
Latest reply on Sep 28, 2014 by Clive One
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?