Home PC Games Linux Windows Database Network Programming Server Mobile  
           
  Home \ Programming \ DM9000 timing settings     - Linux Network Programming - signal blocking and shielding (block, unblock) (Programming)

- Beautiful start Ubuntu installation tool Duck Launcher 0.64.5 (Linux)

- No password on Oracle and MySQL login (Database)

- Nginx multi-domain certificate HTTPS (Server)

- Ubuntu 15.04 install Complete Guide (Linux)

- Build the first ASP.NET 5 Web project in Mac OS X Yosemite 10.10.3 (Server)

- How to install OpenOffice Ubuntu or Linux Mint (Linux)

- SVN common commands (Linux)

- Oracle 11g em start newspaper site's security certificate has a solution to the problem (Database)

- Set up MySQL master and slave servers under Ubuntu 14.04 (Server)

- Linux operating system boot manager -GRUB (Linux)

- Ubuntu Gitolite management Git Server code base permissions (Server)

- SSH port forwarding application (Server)

- Linux (SUSE) mount NTFS mobile hard practice (Linux)

- Postgres-X2 deployment steps (Database)

- Ubuntu comes with gedit editor to add Markdown preview widget (Linux)

- Shell Programming Regular Expressions (Programming)

- Ubuntu system grub repair method (Linux)

- Memcache explain in detail (Server)

- To assign multiple IP addresses NIC on the CentOS 7 (Linux)

 
         
  DM9000 timing settings
     
  Add Date : 2018-11-21      
         
         
         
  Want to know what modifications principle DM9000 transplant, we analyzed the timing diagram and pin connections

First look at the DM9000 pin and pin connections MINI2440

DM9000 MINI2440 Functional Description

SD0 DATA0 data signal

| |

SD15 DATA15 data signal

CMD ADDR2 identified as address or data

Interrupt INT EINT7

IOR # nOE read enable command

IOW # nWE write enable command

AEN nGCS4 Chip Enable

It can be seen connected to 16 data lines, an address line, and that only one address line for determining the data transmission line is an address or data, so this 16 data lines for data and address multiplexing

The chip select signals used BANK4, then visit 0x2000 0000 - will activate the chip select this range when 0x27FF FFFF address enable signal nGCS4

The kernel MINI2440 provided, DM9000 address IO address 0x2000 0000, the data IO to 0x2000 0004

IO write data to the address will not be activated when ADDR2, so the data is transferred to the DM9000 address, and write data to the data IO when activated ADDR2, so as to transmit data DM9000 data

Now look DM9000 and S3C2440 timing signal

DM9000 timing of the write

IO16, IO32 these two pins and is not connected MINI2440, so I do not see these two pins timing
There is a write command after enabling the end of the next write command to enable the required minimum of 84ns intervals for T6

Then S3C2440 write timing, since the DM9000 is connected to the BANK4, and BANK write sequence is as follows


Since the DM9000 on MINI2440 only chip enable and write enable command and data signals, so we do not see and nBE ADDR signal, then what are summarized as follows


How many of these do what is it? ~

Take a look BANKCON4


Here the value of the clock cycle, while BANKCON is connected to the Memory Controller (refer to data sheet S3C2440A Table 1-4), and Memory Controller using Hclk bus clock signal (refer to Figure 7-1 S3C2440A data sheet, thanks for pointing kasim greatly), according to S3C2440 manual, Hclk Fclk by dividing down the specific division different than that of each of the board settings, so here frequency set according to the board to set their own analysis, assuming that the frequency is 400MHz, then Fclk, Hclk, Pclk dividing ratio of 1: 2: 4, it is what Hclk 200MHz, do it every clock cycle is 5ns

DM9000 and start a timing diagram comparing the calculated

Tcos correspond to T1, then it must be a minimum of 5ns, which is a clock

Tacc corresponding to T2, then it must be a minimum of 22ns, it happened here, what we have to choose six clock, that is 30ns

Toch corresponding to T5, where no set, but according to the literal meaning, I think Tcoh is Toch, Toch least should be 5ns, which is a clock

Tcah correspond T4, it has been due before the Toch, and do it where you can set 0ns, namely 0 clock

In the S3C2440, the end of a write command to enable the next write command to enable the start of the interval is Toch + Tcah + Tacp + Tacs + Tcos

Tacs after starting address signal interval chip select signals, we are here to set 0ns, namely 0 clock

Toch + Tcah + Tacp + Tacs + Tcos should be> 84

5 + 0 + Tacp + 0 + 5> 84

Tacp> 74

However, the maximum Tacp for 6 clock, that is 30ns, 44ns also less, about 9 clock

Just modify Toch Tcah Tacs and Tcos, although we give are the minimum, but in order to signal stability, its scope can be relaxed,

The Tcos and Toch set to 4 clock

The Tacs and Tcah set to 2 Clock

So the total time (4 + 2 + 6 + 2 +4) * 5 = 90ns

Finally DM9000 1 cycle can only handle one data, the PMC should be normal (1data)

Write timing analysis done, and now look at the read timing

DM9000 read timing as follows


What summarized as follows:


Read command after enabling the end of a read command to the next enabled require a minimum of 80ns intervals for T6

Then S3C2440 read timing, timing is as follows
Tcos correspond to T1, then it must be a minimum of 5ns, which is a clock, set here and write the same four clock

Tacc corresponding to T2, then it must be a minimum of 22ns, and here is set to write the same six clock

Toch corresponding to T5, then it must be a minimum of 5ns, which is a clock, set here and write the same four clock

Other interval to set and write the same

Tcah to two clock

Tacp six clock

Tacs for the two clock

PMC is normal (1data)

Then look at the meet after enabling the read command to the end of the next read command to enable intervals not 80ns

Or Toch + Tcah + Tacp + Tacs + Tcos

(4 + 1 + 6 + 1 + 4) * 5 = 15 * 5 = 90ns, can qualify

What do BANKCON4 settings are as follows

Tacs = 2 Ge clock = 10

Tcos = 4 Ge clock = 11

Tacc = 6 Ge clock = 100

Tcoh = 4 Ge clock = 11

Tcah = 2 Ge clock = 10

Tacp = 6 Ge clock = 11

PMC = normal (1data) = 00

That is 0x5CEC

Look BWSCON, this register is responsible for configuring BANK bandwidth and wait state

We are for the nGCS4, it mainly depends on what ST4, WS4 and DW4 these fields

DW4 described as BANK4 bandwidth, DM9000 took 16 address lines, then it is the bandwidth of 16, where the election 01

Description WS4 is whether BANK4 a wait state, DM9000 WAIT pin is not connected, it is possible regardless of the field

Description ST4 is whether BANK4 use UB / LB (write high / low byte enable), DM9000 not connected nWBE [3: 0] These four pins, so regardless of the field
     
         
         
         
  More:      
 
- MySQL In can not be overridden with an internal connection (Database)
- Orionode source Linux Mint installation (Linux)
- CentOS 6.4 installation and configuration LNMP build PHP server runtime environment (Server)
- A simple shell script for monitoring in Linux (Linux)
- HBase in MVCC implementation mechanism and its application (Database)
- To configure Samba to share files with Windows under CentOS (Linux)
- Linux remote connectivity tools -OpenSSH (Linux)
- Remote installation of Net-SNMP whole process (Linux)
- Create a project using Android Studio LinearLayout (Programming)
- Teach you how to synchronize Microsoft OneDrive in Linux (Linux)
- Why I do not like the Go language style interface (ie Structural Typing) (Programming)
- 4 lvcreate example commonly used commands (Linux)
- DRBD daily management (Server)
- Linux System Getting Started Learning: Fix ImportError: No module named scapy.all (Linux)
- Binary tree traversal: the first sequence in order preorder recursive and non-recursive and traversal sequence (Programming)
- How to statistical data of various size Redis (Database)
- Ubuntu is expected to allow you to install the latest Nvidia Linux drivers easier (Linux)
- Installation and Configuration JDK8 In CentOS 7 (Linux)
- Ubuntu 14.10 How to install office suite Calligra Suite 2.8.7 (Linux)
- Linux port mapping system (routing and forwarding) (Server)
     
           
     
  CopyRight 2002-2022 newfreesoft.com, All Rights Reserved.