Here we are constructing a small peripheral which has a 1 bit register.
This one bit register is actually indicating the status of the LED.
If status is 1 which means LED is glowing and 0 means LED id off.
Writing to this bit it will alter the state as per provided.
We have "Mini2440 Hardware Essentials" data sheet of mini2440 board and we need pin details of -
Following section contains descriptions of pin details found in MINI2440 board specification.
- System clock pin (hclk)
- Address/Chip Select of peripheral
- Data Bit 0 pin
- Read Enable Pin
- Write Enable Pin
- Wait Pin
- Interrupt Pin
Mini2440 with a 34 Pin 2.0mm pitch GPIO interface on CON4. CON4 contains the GPIO pins and a
number of other CPU-pins, such as AIN0-AIN3, CLKOUT, SPI interface, I2C interface, GPB0 and GPB1.
System Interface Expansion Bus -
The CON5 interface expansion contains a total of 16 data lines (D0-D15), 8 Address Lines
(A0-A6, A24) and some control signal lines (chip select, read and write, reset, etc.). CON5 can supply 5V
directly from one of the power supply input pins.
We selected these pins for our experiment.
Kindly note - generally H/W vendors should connect
all 32 bit address and 16/32bit data pins to the target and should handle the logic. Here we are
using only one Address select(CS) and one data bit for simplifying our understanding.
- 33 - CLKOUT0 (GPH9)
- 8 - nGCS2 CS2 GPA13 (addr 0x10000000)
- 25 - LDATAT0 data 0 bit
- 11 - LnOE read enable
- 12 - LnWE write enable
- 13 - nWAIT
- 5 - EINT3
You have viewed 1 page out of 14. Your learning is 0.00% complete. Login to check your learning progress.
Similar topics related to this section
Altera FPGA interfacing ARM, ARM CPU internals, ARM CPU, Cache Memory and MMU, ARM bus hierarchy, ARM data, address and control lines, ARM MMIO read, ARM MMIO write, FPGA interfacing with system bus, VHDL/Verilog program, ADS C Code, Linux Direct MMIO App, Linux Device Driver, Linux Application code, Final Demo,
| #1 webmaster Tue 15 Apr/2014 04:38:03(GMT) || 0 || 0|
We are pleased to inform you that a forum/blog has been incorporated with www.equestionanswers.com. You are welcomed to add your comments, requests, codes, solutions and feedback to it. Please login(if already a member) or signup(for free) to avail to this facility.
Your message goes here: