当前位置: 代码迷 >> 嵌入开发 >> 关于S3C2510的有关问题
  详细解决方案

关于S3C2510的有关问题

热度:7082   发布时间:2013-02-26 00:00:00.0
求助:关于S3C2510的问题
实用S3C2510制作一块PCI板卡,PCI接口就使用S3C2510的PCI接口控制器,工作模式为PCI AGENT 模式,那么PCI接口部分的引脚 CLKRU# 应该怎么接呀?

------解决方案--------------------------------------------------------
楼主,你没有好好看手册

18.9.3 CLKRUN# Control in Agent Mode Agent 模式中的CLKRUN#控制

PCI clock can be stopped or slow by host system. If PCI clock should be alive again for this chip, this chip must inform host system of requesting clock by asserting CLKRUN#. One of following methods can be used for CLKRUN# assertion. PCIRCC[CKI] and PCIRCC[CKA] methods are almost same mechanism of PCICON[WKI] and PCICON[WKA] for each. In addition, PCIRCC[KCK] method is supported for keeping PCI clock and automatic assertion method can be used.
host系统可以停止或者减慢PCI 时钟。如果对于本芯片而言,PCI时钟应该保持动态的话,那么,本芯片必须通过有效CLKRUN#,也就是拉低该管教以通知host系统本芯片需要时钟。

· PCIRCC[CKI] method: Internal interrupt request signals IRQ and FIQ which are transferred from interrupt controller to ARM CPU can be used to CLKRUN# assertion. If PCIRCC[CKI] is set by ARM CPU or host system, interrupt signal IRQ or FIQ is used to assert CLKRUN# signal.

PCIRCC[CKI]方法:内部中断请求信号IRQ和FIQ从中断控制器传递到ARM CPU可以用来有效CLKRUN#。如果PCIRCC[CKI]被ARM CPU或者host 系统置位的话,中断信号IRQ和FIQ用来有效CLKRUN#信号。

· PCIRCC[CKA] method: After CLKRUN# was deasserted by host system, CLKRUN# signal is directly asserted by PCIRCC[CKA] being set by ARM CPU. And then PCIRCC[CKA] is automatically cleared (one shot bit).

PCIRCC[CKA]方法:在CLKRUN#被host系统去有效之后,CLKRUN#信号可由ARM CPU设置的PCIRCC[CKA]直接有效。之后,PCIRCC[CKA]被自动清除

· PCIRCC[KCK] method: Irrespective of current CLKRUN# status, CLKRUN# signal is automatically controlled to keeping PCI clock alive. When multiple series of data will be transferred through this chip, PCIRCC[KCK] can be set by ARM CPU or host system for fast transfer. If PCIRCC[KCK] is set, PCI clock will not be stopped (but CLKRUN# signal can be triggered once in a while).

PCIRCC[KCK]方法:无论当前的CLKRUN#的状态,CLKRUN#信号可以被自动控制以保持PCI时钟处于动态。当该芯片传送多序列数据的时候,PCIRCC[KCK]可以由ARM CPU或者host系统设置,用于快速传送。如果PCIRCC[KCK]被置位的话,PCI时钟不会停止。

· Automatic assertion method: In addition to PCIRCC controlling, exceptionally, if ARM CPU tries to write PCI configuration registers or PCI or PC Card bus is being accessed by ARM CPU or PDMA when CLKRUN# is deasserted, CLKRUN# is automatically asserted.

自动有效方式: 除了PCIRCC控制之外,在CLKRUN#处于去有效的状态的时候,如果ARM CPU试图写 PCI配置寄存器;或者PCI,或PC Card bus正在被ARM CPU或者PDMA访问中,CLKRUN#会被自动有效。


还有,

If CLKRUN# signal is never used, this pin should be connected to GND (always “0”) with pull-down resistor. Otherwise, if host system supports CLKRUN# signal protocol but PCI clock must be kept alive for user specific purpose, CLKRUN# signal can be also connected to GND with pull-down resistor.
如果CLKRUN#信号从来都不使用的话,该管脚应该以下拉电阻接地。否则,如果host系统支持CLKRUN#信号协议,但是,因为特别的目的,PCI时钟又必须时钟保持动态,CLKRUN#信号可以以下拉电阻接地。
  相关解决方案