JZ2440 internal structure:
The CPU writes values to external registers, causing the external registers to emit different waveforms to control corresponding devices. From this, we will propose how different registers are selected inside the chip, so a memory controller is introduced inside the chip.
The CPU sends address information to the memory controller, and the memory controller selects different modules based on addr.
Memory devices
The memory interface (NOR FLASH, DM9000, SDRAM) is different. The CPU directly sends addresses and data to memory devices. There are many memory devices outside JZ2440. How to avoid interference? Each memory device has a chip select control terminal CS (chip select) to control which memory device is turned on. The signal of the chip select control terminal CS is managed by the memory controller. The CPU sends address information to the memory controller, and the memory controller sends a chip select signal according to the address.
If the address sent by the CPU is between 0x30000000 and 0x38000000, nGCS6 sends a low level, which selects each chip select signal of the SDRAM.
GPIO registers, UART registers, I2C registers, NAND control registers, memory devices (NOR FLASH; DM9000; SDRAM), etc. belong to the unified addressing of the CPU, while NAND FLASH is controlled by the NAND register and does not participate in the unified addressing. The NAND register controls the sending of the CS signal to the NAND FLASH.
Each chip select signal can select an address range of 2^27, requiring at least 27 address lines.
The CPU sends a 32-bit address to the memory controller, which: ① issues a chip select signal based on the address; ② extracts 27 bits to control peripherals
Previous article:JZ2440 bare metal development and analysis: serial port programming 5 serial port implementation printf
Next article:JZ2440 bare metal development and analysis: Connection of different bit width devices of memory controller 2
Recommended ReadingLatest update time:2024-11-15 07:28
- Learn ARM development(16)
- Learn ARM development(17)
- Learn ARM development(18)
- Embedded system debugging simulation tool
- A small question that has been bothering me recently has finally been solved~~
- Learn ARM development (1)
- Learn ARM development (2)
- Learn ARM development (4)
- Learn ARM development (6)
Professor at Beihang University, dedicated to promoting microcontrollers and embedded systems for over 20 years.
- LED chemical incompatibility test to see which chemicals LEDs can be used with
- Application of ARM9 hardware coprocessor on WinCE embedded motherboard
- What are the key points for selecting rotor flowmeter?
- LM317 high power charger circuit
- A brief analysis of Embest's application and development of embedded medical devices
- Single-phase RC protection circuit
- stm32 PVD programmable voltage monitor
- Introduction and measurement of edge trigger and level trigger of 51 single chip microcomputer
- Improved design of Linux system software shell protection technology
- What to do if the ABB robot protection device stops
- CGD and Qorvo to jointly revolutionize motor control solutions
- CGD and Qorvo to jointly revolutionize motor control solutions
- Keysight Technologies FieldFox handheld analyzer with VDI spread spectrum module to achieve millimeter wave analysis function
- Infineon's PASCO2V15 XENSIV PAS CO2 5V Sensor Now Available at Mouser for Accurate CO2 Level Measurement
- Advanced gameplay, Harting takes your PCB board connection to a new level!
- Advanced gameplay, Harting takes your PCB board connection to a new level!
- A new chapter in Great Wall Motors R&D: solid-state battery technology leads the future
- Naxin Micro provides full-scenario GaN driver IC solutions
- Interpreting Huawei’s new solid-state battery patent, will it challenge CATL in 2030?
- Are pure electric/plug-in hybrid vehicles going crazy? A Chinese company has launched the world's first -40℃ dischargeable hybrid battery that is not afraid of cold
- When using an oscilloscope probe to measure the AC waveform between the two ends of a component, how should the probe ground wire be connected?
- 【ST NUCLEO-H743ZI Review】(2)Ethernet Test
- TI.com Online Purchasing Special (Smart Building) has a limited time offer, with discounts as low as 30%!
- DLP Lightcrafter 4500 EVM FAQ Summary
- NRF24L01 module usage
- AD 20.2.4 x64
- Design and implementation of high-speed SRIO interface of TMS320C6455
- When the frequency of PWM square wave signal is low, voltage overshoot and ringing will occur?
- 【bk7231N】Exploration of Tuya products in SPI and other communication aspects
- Commonly used algorithms for drones - Kalman filter (VII)