About "Interface Clock Enable" and "Peripheral Clock Enable" on STM32 APB Bus

Publisher:TranquilDreamerLatest update time:2017-01-22 Source: eefocusKeywords:stm32 Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

Today I looked at the RTC clock on <> and found that he did not enable the BKP clock on APB1, but he could read the contents of the BKP register. I was very puzzled, and I looked again and found that there are two types of clock enable on the APB bus, one is the interface clock and the other is the peripheral clock.


After carefully checking the clock tree, I found that the peripherals represented as interface clocks in the APB peripheral clock enable register already have their own clocks. Experiments have proved that all peripherals that do not need to be enabled on APB and have their own clocks (that is, peripherals whose interface clocks are represented in a certain bit of APBxENR) can read the contents of the registers of such peripherals without enabling the interface clock!

Keywords:stm32 Reference address:About "Interface Clock Enable" and "Peripheral Clock Enable" on STM32 APB Bus

Previous article:About STM32 MCU GPIO port pull-up and pull-down input
Next article:Problem with pc value in corte-m3

Recommended ReadingLatest update time:2024-11-16 13:04

STM32 x Yikong Technology x Mir Electronics | STM32MP135 open high real-time and high performance PLC controller solution released
01 Introduction With the acceleration of the industrial digitalization process and the in-depth integration of IT/OT, the increasing OT core data has gradually become the core asset of the industrial automation industry. OT layer data has the characteristics of high real-time, high precision, high r
[Embedded]
STM32 x Yikong Technology x Mir Electronics | STM32MP135 open high real-time and high performance PLC controller solution released
STM32 serial communication
Purpose: Use serial port 1 to continuously print a message to the computer, receive data from the serial port at the same time, and send the sent data directly back to the computer.   experiment platform: Color screen development board based on STM32F103C8T6   Hardware interface:                
[Microcontroller]
What does GPIOB->BSRR mean in stm32
GPIOB->BSRR = 0x01 is to raise GPIOB port 0 to a high level GPIOB- BRR = 0x01 is to reduce the GPIOB port 0 to a low level GPIOB- BSRR = 0x02 is to raise GPIOB port 1 to a high level GPIOB- BRR = 0x02 is to reduce the GPIOB port 1 to a low level GPIOB- BSRR = 0x04 is to raise GPIOB port 2 to a high level GPIOB- BRR =
[Microcontroller]
STM32-Flash flash programming principles and steps
STM32 programming method: (1) ICP (JTAG/SWD protocol or system bootloader (serial port)) downloads the program to the microcontroller. (2) IAP: It is to download programs or data to the memory through any communication interface (IO port, USB, CAN, SPI, IIC, etc.). STM32 allows users to re-burn the contents of the fla
[Microcontroller]
Cannot set breakpoints when using ST-LINK to debug the STM32 microcontroller
       I am using an STM32 microcontroller. When I used ST-LINK to debug the program yesterday, I found that some statements could not set breakpoints. The program was OK when it was compiled, and there were no errors. After burning the program into the microcontroller, the program seemed to run normally. However, aft
[Microcontroller]
Summary of independent watchdog and window watchdog of STM32
1. Independent watchdog The STM32's independent watchdog is driven by a dedicated internal 40Khz low-speed clock, which remains effective even if the main clock fails. The principle of the watchdog: When the microcontroller system is disturbed by the outside world, the program may run away, resulting in an infinite lo
[Microcontroller]
STM32+SDIO+FATFS file system direct reading SD card
There are many small embedded file systems on the Internet. Of course, FATFS is very famous for its small size and free. Of course, the domestically produced znFAT from Zhennan is also open source, easy to use and extremely resource-saving! It is very suitable for 51 single-chips. More importantly, it supports Chinese,
[Microcontroller]
STM32+SDIO+FATFS file system direct reading SD card
STM32 serial terminal
[Microcontroller]
STM32 serial terminal
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号