阅读:1178回复:4
哪位从local端访问过9054的内部寄存器?
9054的datasheet中(4-12页)有如下几句话:
The Local processor can access all PCI 9054 internal registers through an external chip select. The PCI 9054 responds to a Local Bus access when the PCI 9054 Configuration Chip Select input (CCS#) is asserted low. Notes: CCS# must be decoded while ADS# is low. Accesses must be for a 32-bit non-pipelined bus. Local Read or Write accesses to the PCI 9054 internal registers can be Byte, Word, or Lword accesses. Local accesses to the PCI 9054 internal registers can be Burst or Non-Burst accesses. The PCI 9054 READY# signal indicates that Data transfer is complete. 既然local端的访问必须是32位的, 怎么又说可以是8位,16位? 是不是9054的local端的32位数据线都得连到local端cpu或cpld上? |
|
沙发#
发布于:2003-11-17 20:18
不是必须要32位的,取决于你的外围电路。有个地址的翻译决定你的数据长度。
|
|
|
板凳#
发布于:2003-11-18 09:17
必须使用32位访问,因为内部寄存器的组织就是32位的,你没有办法去改变他。而且只要试图采用PCI Initiator,就必须采用32位。一般情况下,32为的总线仍然可以用LBE来使能具体的字节,总这个意义上说,应该可以实现字节、字、双字的访问,但5-36页的时序将LBE don\'t care了,也许9054内部寄存器的具体译码没有使用,这样来看就只能实现32位的访问。这的确和4-12的描述有冲突。看起来应该是4-12也有错误。
|
|
|
地板#
发布于:2003-11-19 09:39
我用的是local这边用单片机访问9060es的内部寄存器,单片机是8位,用了地址译码,可以读写,就是不能转换,如果你搞好了,请赐教!e-mail:mengnana@yahoo.com.cn
|
|
地下室#
发布于:2003-11-22 22:08
楼上的不能转换是什么意思?
|
|