【Contents of this chapter】
[Overview of ARM application system design]
Keywords:ARM
Reference address:ARM·Embedded Hardware and Interface Development
1. Understand the hardware circuit design of the development board
2. Understand typical embedded system circuits
3. Understand the working principles of system clock, GPIN, serial port, etc. under S3C2440
4. Master the ARM interrupt processing mechanism
5. Understand the interrupt processing flow under S3C2440 processor
【Chapter Structure】
[Overview of ARM application system design]
The design of embedded application systems requires a balance and compromise between hardware and software design.
Hardware implementation: high execution speed, concise code, but the circuit complexity is relatively high
Software implementation: can execute complex algorithms, can reduce hardware design area and save costs, but the software is complex and the execution speed is slow
【S3C2440A】
【Architecture】
*Integrated systems for handheld devices or general embedded applications
*32-bit RISC architecture, including high-efficiency and powerful ARM920T processor core
* Enhanced ARM architecture MMU
*Instruction cache, data cache, write buffer
* Cost-effective debugging solution based on JTAG interface
【CPU core】
*Supports both ARM and Thumb processor states
*Supports both big and small byte order
* With 7 operation modes: user mode, FIQ fast interrupt mode, IRQ external interrupt mode, management mode, abnormal termination mode, system mode, undefined mode
* 37 registers, including 31 general registers and 6 program status registers
*Has a common instruction construction method
[The more important on-chip peripheral function models of S3C2440A include]
*External Memory Controller
*LCD interface
*4 DMA channels
*1 I2C channel/1 I2S channel
*1 SD card/MMC card interface
*2 USB host ports/1 USB device port
*4 PWM timers and one internal timer
*1 watchdog timer
*130 programmable I/O ports/24 external interrupt sources
*Power controller, supports 4 modes: Normal, Slow, Idle and Power-off
*8-channel 10-bit ADC and touch screen interface
* Real-time clock RTC with calendar function
* On-chip clock generator with PLL
(I will need to deepen my understanding in the future)
UART communication, SPI communication, I2C communication
【S3C2440A storage system】
0x0000 0000 -0x3FFF FFFF, 1GB is external addressable space;
0x4800 0000 -0x5FFF FFFF is the register address inside the processor;
The rest of the address space is not used (this is why the address space is theoretically 4GB, but less than 4GB can be accessed)
s3c2440A external lead
27 address lines: ADDR0-ADDR26
8 chip select signals: nGCS0-nGCS7 (each chip select signal corresponds to a Bankx)
(When the chip select signal is selected, the peripherals are controlled by bankx)
【Bank】Introduction
Previous article:ARM · Assembly pseudo instructions
Next article:ARM·Power circuit/Reset circuit/GPIO
Recommended ReadingLatest update time:2024-11-23 07:40
ARM Study Notes 10——GNU ARM Command Line Tools
1. Compiler arm-linux-gcc 1. Compile a program with arm-linux-gcc. Generally, it goes through the following steps: 1.1 Preprocessing stage The compiler compiles stdio.h in the above code. Using the GCC option -E can make GCC stop the compilation process after the preprocessing is completed and not cont
[Microcontroller]
Interrupt Control Method of Touch Screen in ARM Embedded System
With the improvement of embedded microprocessor performance, more and more peripheral interface devices are integrated, and the peripheral devices and processors mostly communicate in the form of interrupts. Even in the absence of an operating system, it is often necessary to dynamically load the interrupt processin
[Test Measurement]
ARM rookie's growth story - Part 1
It has been nearly half a year since I started working on ARM. I have made some progress on my first project. I finally feel like I have gotten started. In the past six months, I have experienced the freshness at the beginning, the depression in the middle, and the joy at the end. The process was tortuous and bizarre.
[Microcontroller]
ARM platform Linux kernel Notes 1
Linux memory management
The paging management of embedded processors is a two-level mapping, with memory space and I/O space addressed uniformly, while the x86 processor uses a three-level mapping, with memory space and I/O space addressed independently.
In a 32-bit embedded system, the address range o
[Microcontroller]
Arm GIC Introduction 4
GIC is an important component in the ARM system. After understanding the composition and function of GIC, we can understand the general process of IRQ, from the arrival of hardware IRQ to the end of IRQ. The IRQ we actually handle in KERNEL or in the device driver is actually in the software sense. So how are the ha
[Microcontroller]
Key interruption---We played mini2440 (arm9) bare metal together in those years
ARM interrupt control system Key driver design 1. Arm interrupt control system 1. Query method The program continuously queries the status of the device and responds accordingly. This method is relatively simple to implement and is often used in relatively simple systems. For example, a temperature control system can
[Microcontroller]
Embedded ARM Learning Summary (IV)--LCD
1. Common display types 1) Digital tube: 0.7-1 yuan, low cost, can only display numbers and letters 2) Character LCD screen: LCD1602 15-25, display numbers and letters 3) Dot matrix black and white screen: LCD12864 50-90 can display Chinese characters and pictures 4) STN-LCD color screen has low cost, slow response sp
[Microcontroller]
What are the ARM instructions adr adrl ldr mov? What is the difference between ldr and adr?
ARM instructions: what are adr adrl ldr mov? ADR is a pseudo instruction for reading addresses in a small range, which reads the address value based on the relative offset of PC into the target register. Format: ADR register, exper. When compiling the source program, the assembler first calculates the distance fro
[Microcontroller]
Recommended Content
Latest Microcontroller Articles
- Naxin Micro and Xinxian jointly launched the NS800RT series of real-time control MCUs
- How to learn embedded systems based on ARM platform
- Summary of jffs2_scan_eraseblock issues
- Application of SPCOMM Control in Serial Communication of Delphi7.0
- Using TComm component to realize serial communication in Delphi environment
- Bar chart code for embedded development practices
- Embedded Development Learning (10)
- Embedded Development Learning (8)
- Embedded Development Learning (6)
He Limin Column
Microcontroller and Embedded Systems Bible
Professor at Beihang University, dedicated to promoting microcontrollers and embedded systems for over 20 years.
MoreSelected Circuit Diagrams
MorePopular Articles
- Intel promotes AI with multi-dimensional efforts in technology, application, and ecology
- ChinaJoy Qualcomm Snapdragon Theme Pavilion takes you to experience the new changes in digital entertainment in the 5G era
- Infineon's latest generation IGBT technology platform enables precise control of speed and position
- Two test methods for LED lighting life
- Don't Let Lightning Induced Surges Scare You
- Application of brushless motor controller ML4425/4426
- Easy identification of LED power supply quality
- World's first integrated photovoltaic solar system completed in Israel
- Sliding window mean filter for avr microcontroller AD conversion
- What does call mean in the detailed explanation of ABB robot programming instructions?
MoreDaily News
- STMicroelectronics discloses its 2027-2028 financial model and path to achieve its 2030 goals
- 2024 China Automotive Charging and Battery Swapping Ecosystem Conference held in Taiyuan
- State-owned enterprises team up to invest in solid-state battery giant
- The evolution of electronic and electrical architecture is accelerating
- The first! National Automotive Chip Quality Inspection Center established
- BYD releases self-developed automotive chip using 4nm process, with a running score of up to 1.15 million
- GEODNET launches GEO-PULSE, a car GPS navigation device
- Should Chinese car companies develop their own high-computing chips?
- Infineon and Siemens combine embedded automotive software platform with microcontrollers to provide the necessary functions for next-generation SDVs
- Continental launches invisible biometric sensor display to monitor passengers' vital signs
Guess you like
- Principles of peripheral expansion of single-chip microcomputer hardware system
- How can analog technology and digital technology be combined into one
- [Last few days] Free to get | Espressif ESP32-S3-Korvo-2, Raspberry Pi 400 and other good boards
- Has anyone used STM32's AD to collect the phase current feedback of the stepper motor to control the stepper motor's PWM wave duty cycle?
- [ESK32-360 Review] + RTC Timer
- [N32L43x Review] Create a DEMO routine to test the SHT20 temperature and humidity sensor
- Several suggestions on how to do a good job in tax control bidding
- Passive Keyless Entry System Design Using PIC16F639 - Chinese Version
- [RVB2601 Creative Application Development] I2C reads ultrasonic pressure sensor data
- Please recommend some good university textbooks on STM32. Thank you.