S3C2440 clock calculation

Publisher:快乐奇迹Latest update time:2016-12-18 Source: eefocusKeywords:S3C2440 Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

I have been studying S3C2440 for some time. I would like to explain the source of its system clock. If there are any errors, please correct me. I will be very grateful.

Mpll = (2*m * Fin) / (p * 2s)

m = M (the value for divider M) + 8, p = P (the value for divider P) + 2

The clock FCLK is the clock that the ARM core CPU runs. FCLK = (2*m * Fin) / (p * 2s). This clock is determined by the PLLCON control register.

Fin: external connection clock (the S3C2440 development board is connected to 12MHZ)

m: M (the value for divider M)+ 8

P: P (the value for divider P) + 2


m = (MDIV + 8), p = (PDIV + 2), s = SDIV  



HCLK and PCLK are determined by FCLK, and the ratio of FCLK, HCLK, and PCLK is controlled by setting CLKDIVN.


Keywords:S3C2440 Reference address:S3C2440 clock calculation

Previous article:S3C2440 startup
Next article:Commonly used position-independent and position-dependent instructions in S3C2440 assembly

Recommended ReadingLatest update time:2024-11-16 21:00

skyeye for s3c2440
If you have used bochs and now turn to arm development, you will definitely need a simulation software like bochs to simulate an arm operating environment. Then this article is very suitable for you. 1. Install SkyEye Download address: http://sourceforge.net/projects/skyeye $ tar -vxzf skyeye xx
[Microcontroller]
Detailed explanation of S3C2440 interrupt process (ADS, TQ2440)
The following takes the serial port UART0 receive interrupt as an example: When the serial port receive interrupt is initialized, there is such a sentence: pISR_UART0=(unsigned)__irq UART0 _GetInt /Put the entry address of the interrupt service subroutine UART0 _GetInt into pISR_TICK, S3C2440addr.h #define pISR_UART
[Microcontroller]
Detailed explanation of S3C2440 interrupt process (ADS, TQ2440)
S3C2440 Hardware Part 9: LCD
background knowledge 1. Hardware requirements for LCD operation:    To make an LCD display text or image normally, it needs not only LCD driver but also corresponding LCD controller. Usually, the manufacturer will make LCD driver together with LCD glass substrate in the form of COF/COG, while LCD controller is realize
[Microcontroller]
S3C2440 Hardware Part 9: LCD
S3C2440 naked running environment construction
First, you need to build an environment that can compile code. From the beginning, I didn't want to use ADS (after installing ADS, a tool called CodeWarrior for ARM Developer Suite will be generated, which can compile and debug code). Although it is a good tool, it hides a lot of details, which is not conducive to in-
[Microcontroller]
S3C2440 naked running environment construction
S3C2440 chip clock (2)
Read the manual   Questions about formulas in the manual Frequency division ratio If the frequency of some parts is too high, the device will not work properly, so in order to meet different needs, the clock on some buses needs to be reduced. Clock Setting Example
[Microcontroller]
S3C2440 chip clock (2)
IIC control of s3c2440
Both the tq2440 and mini2440 are connected with EEPROMs, and their function is just to test whether the I2C bus is available. The EEPROM model on mini2440 is AT24C08, and on tq2440 it is AT24C02A. They have different capacities and address lines. The S3C2440A RISC microprocessor can
[Microcontroller]
IIC control of s3c2440
S3C2440 uses RAM to mount jffs2 file system
Development environment: PC host: Ubuntu and RedHat 9.0 Target board: TQ2440 development board, linux kernel 2.6.30, root file system is YAFFS. 0. Introduction Among the three file systems, yaffs2, jffs2 and cramfs, only cramfs can be mounted as a loop device using the mount command,
[Microcontroller]
S3C2440 uses RAM to mount jffs2 file system
Design of automatic control system for punching pile driver
0 Introduction     The punching pile driver is mainly composed of a pile hammer, a bracket, a winch and other auxiliary equipment. Its working principle is to use the winch mechanism of the punching pile driver to convert the rotary motion of the motor output power into reciprocating motion, drive the pile hammer to
[Microcontroller]
Design of automatic control system for punching pile driver
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号