EQuestionAnswers.com Computer/Electronics Questions and Answers
C, C++, VC++, COM/DCOM, DLL and more
#Login #Sign up  Facebook Twitter TGoogle+
 

#Previous Topic #Index #Next Topic

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 -

  1. System clock pin (hclk)
  2. Address/Chip Select of peripheral
  3. Data Bit 0 pin
  4. Read Enable Pin
  5. Write Enable Pin
  6. Wait Pin
  7. Interrupt Pin
Following section contains descriptions of pin details found in MINI2440 board specification.

MINI2440 FPGA interfacing

GPIO - 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.

MINI2440 Board GPIO

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.

MINI2440 Board CON5

We selected these pins for our experiment.

  • 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
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.

You have viewed 1 page out of 14. Your learning is 0.00% complete. Login to check your learning progress.

 Vote 0

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)  Like 0 Unlike 0

Dear Users,

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.

Regards,
Webmaster

Your message goes here:

Name:Guest
Email:anonymous@unknown.com
My Post:*
Secutiry Code: ******  *
Preview this compose before posting this in discussion forum.
 
Note:
  1. Use [Sxx] code to show smiles. Example [S02]
  2. Use [URL ], example [URL http://www.google.com/]
  3. To display code or un formatted text use [CODE] [/CODE]. Example: [CODE] printf("Hello world"); [/CODE]
 [S01]   [S02]   [S03]   [S04]   [S05]   [S06]   [S07]   [S08] 
 [S09]   [S10]   [S11]   [S12]   [S13]   [S14]   [S15]   [S16] 
 [S17]   [S18]   [S19]   [S20]   [S21]   [S22]   [S23]   [S24] 

Note: Only members are allowed, * fields are mandatory.