STM32 power-on does not reset problem

Publisher:数字火箭Latest update time:2018-09-05 Source: eefocusKeywords:STM32 Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

I made a stm32 board. The display was abnormal when powered on. After manual reset, the display was normal.

 

The reason finally found was

The power-on speed of the external device is slower than that of the MCU. The MCU operates the external device before it is ready, causing the system to not work properly.

Peripheral as EEPROM

EEPROM power-up is slow

Adding a delay of 10ms before reading EEPROM solves the problem of running away at power-on!


Keywords:STM32 Reference address:STM32 power-on does not reset problem

Previous article:How to implement a window watchdog using Stm32CubeMX and LL library
Next article:Introduction to three BOOT modes of STM32

Recommended ReadingLatest update time:2024-11-16 11:30

STM32 DMA explanation and configuration process, with code instructions
DMA involves the following concepts:  ①: DMA stands for Direct Memory Access, which is a peripheral unique to STM32. Large-capacity STM32 products integrate two DMAs, namely DMA1 and DMA2. DMA1 has 7 channels and DMA2 has 5 channels. For the specific peripherals connected to each channel, please refer to the data ma
[Microcontroller]
PWM input capture frequency and duty cycle of STM32 F207
I am going to do a project recently, which requires counting the frequency and duty cycle of the external PWM signal. The chip used is STM32F207 Looking at the datasheet, I found that one of the major functions of the timer is to capture and compare PWM signals. This means that the timer can generate PWM signals and
[Microcontroller]
STM32 SysTick Principle
1. Introduction to SysTick of STM32     SysTick is a 24-bit system tick timer with automatic reload and overflow interrupt functions. All microcontrollers based on the Cortex_M3 processor can obtain a certain time interval from this timer. The role of systick:   In a single-task reference program, because its archit
[Microcontroller]
STM32 SysTick Principle
For STM32 software reset
For STM32, there are two ways to reset the software:   1) Use the official software library     The system reset function is directly provided in the stm32f10x_nvic.c file of the official software library   /******************************************************************************* * Function Name  : NVIC_Generat
[Microcontroller]
STM32_TIM timing-interrupt
Today we will explain the timing-interrupt function of the STM32F103 timer. We will add the TIM3 timing function to yesterday’s timer delay software project. You can also try to add and modify yesterday’s project.   Today's software engineering download address (360 cloud disk): https://yunpan.cn/cPnJ9KYcXbPsP   Acce
[Microcontroller]
STM32_TIM timing-interrupt
STM32 CRC register operation
//CRC.C /********************************************************************************************************/ /* STM32 CRC */ //20120427 #include "stm32f10x_map.h" #include "system.h" #include "crc.h" /*************************************************************************************************************
[Microcontroller]
In STM32, the problem of interrupt function calling global variables
First, the description of the problem: Hardware microcontroller model, STM32F103VET6, IDE: keil 5. One function I want to achieve through it is to control the start and stop of the flashing of an RGB light through two buttons. The two buttons are detected by the rising edge of the external interrupt. Here is the initi
[Microcontroller]
stm32 printf output to USART1
/************************head File*****************************************/ #include"stm32f10x_lib.h" //Include all header files #include stdio.h   /*******************************位绑定定义*****************************************/ //#define GPIOA_ODR_A  (GPIOA_BASE+0x0C) //#define GPIOA_IDR_A  (GPIOA_BASE+0
[Microcontroller]
stm32 printf output to USART1
Latest Microcontroller Articles
  • Download from the Internet--ARM Getting Started Notes
    A brief introduction: From today on, the ARM notebook of the rookie is open, and it can be regarded as a place to store these notes. Why publish it? Maybe you are interested in it. In fact, the reason for these notes is ...
  • Learn ARM development(22)
    Turning off and on interrupts Interrupts are an efficient dialogue mechanism, but sometimes you don't want to interrupt the program while it is running. For example, when you are printing something, the program suddenly interrupts and another ...
  • Learn ARM development(21)
    First, declare the task pointer, because it will be used later. Task pointer volatile TASK_TCB* volatile g_pCurrentTask = NULL;volatile TASK_TCB* vol ...
  • Learn ARM development(20)
    With the previous Tick interrupt, the basic task switching conditions are ready. However, this "easterly" is also difficult to understand. Only through continuous practice can we understand it. ...
  • Learn ARM development(19)
    After many days of hard work, I finally got the interrupt working. But in order to allow RTOS to use timer interrupts, what kind of interrupts can be implemented in S3C44B0? There are two methods in S3C44B0. ...
  • Learn ARM development(14)
  • Learn ARM development(15)
  • Learn ARM development(16)
  • Learn ARM development(17)
Change More Related Popular Components

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号