2018-06-03 04:12 AM
Hi,
i am beginner in stm i am working on stm32l071, have configured rtc,spi,uart all peripherals working good,but
some time MCU resetting how to find what is reason for resetting the mcu.
2018-06-03 04:21 AM
Monitor the NRST pin vs the supply voltage, the system has a power-on-reset monitoring the supply for brown-out conditions.
Check also PWR_CSR for Wakeup/Standby reset indication
Consider watchdog sources, and external drivers of the NRST pin
2018-06-03 04:26 AM
Read whats in RCC_CSR. Here is a link to the reference manual. Section 7.1 - Reset
http://www.st.com/resource/en/reference_manual/dm00108282.pdf
2018-06-06 02:23 AM
VCC is bad. Add shunt capacitor 0.1u
2018-06-06 04:15 AM
any possibility to reset the device our firmware for uart ,spi(eeprom),LPTIMER
i have flashed same firmware to 5 devices within this reset the 3 devices remaining two devices working good
2018-06-07 01:10 AM
When i set like this GPIOA->ODR=1<<15 then MCU is resetting
what is the Reason
2018-06-07 01:28 AM
How should we know, such code works fine on all the boards I have.
What is connected to this pin ?
Is your power supply too weak, or the supply circuitry inadequate ?
Do you have a watchdog peripheral enabled ? (had already been asked, but not answered)