background image

 

 

TCP872 V1.0 User Manual Issue 1.1 

Page 10 of 16 

3.2  Address Mapping TCP872 – CardBus mode 

The PCI1520 provides a window mechanism to link the PCI space to 32 bit CardBus cards address 
spaces. Memory and I/O windows are programmable by the host software in the memory or I/O Base 
Registers in the PCI1520 configuration space. The PCI1520 offers two memory and two I/O windows 
per socket. The size of each window will be determined by host software via memory and I/O limit 
registers. The Base Address Registers will be initialized with the start addresses and the limit registers 
will be initialized with the upper address of the memory or I/O windows. 

The CardBus card address space can be accessed via the CardBus base address registers, which are 
located in the PCI configuration space of the PCI1520. 

 

Figure 3-3 :  CardBus window mechanism 

The PCI1520 provides CardBus card status information via the CardBus Socket Register at 
configuration space offset 0x10. This address, which must be initialized by the device driver software, 
points to five 32 bit registers, which can be located anywhere in the PCI memory space at a 1 Kbytes 
boundary at offset 0x00. Each socket has a separate base address register to access the CardBus 
socket registers. The following socket registers are implemented in the PCI1520: 

Register Name 

Offset

Socket Event 

0x00 

Socket Mask 

0x04 

Socket Present State 

0x08 

Socket Force Event 

0x0C 

Socket Control 

0x10 

Reserved 0x14 

Reserved 0x18 

Reserved 0x1C 

Socket Power Management

0x20 

Figure 3-4 :  Socket Registers implemented in PCI1520 (Function 0 and 1) 

These registers may notify the device driver software that a card has been inserted, removed, and 
what supply voltage is needed to power the CardBus card properly etc. 

Further information regarding the status of the CardBus interface can be obtained from the secondary 
status register at offset 0x16 in the PCI configuration space of the PCI1520. This register is very 
similar to the PCI Bus Status Register and provides information about parity errors, aborted 
transactions, CardBus system errors etc. 

For detailed register description, please refer to PCI1520 data sheet which is part of the TCP872-ED 
Engineering Documentation. 

Summary of Contents for TCP872

Page 1: ...September 2006 TEWS TECHNOLOGIES GmbH TEWS TECHNOLOGIES LLC Am Bahnhof 7 25469 Halstenbek Germany www tews com Phone 49 0 4101 4058 0 Fax 49 0 4101 4058 19 e mail info tews com 9190 Double Diamond Pa...

Page 2: ...S TECHNOLOGIES GmbH reserves the right to change the product described in this document at any time without notice TEWS TECHNOLOGIES GmbH is not liable for any damage arising out of the application or...

Page 3: ...TCP872 V1 0 User Manual Issue 1 1 Page 3 of 16 Issue Description Date 1 0 First Issue August 2004 1 1 New address TEWS LLC September 2006...

Page 4: ...PC Card16 mode 8 3 1 1 Memory Mapping 8 3 1 2 I O Mapping 9 3 2 Address Mapping TCP872 CardBus mode 10 3 3 PCI Interrupts 11 4 PCI1520 PC CARD CONTROLLER 12 4 1 PCI Configuration Registers Functions 0...

Page 5: ...PC CARD MEMORY MAPPING 8 FIGURE 3 2 PCI TO PC CARD I O MAPPING 9 FIGURE 3 3 CARDBUS WINDOW MECHANISM 10 FIGURE 3 4 SOCKET REGISTERS IMPLEMENTED IN PCI1520 FUNCTION 0 AND 1 10 FIGURE 4 1 PCI CONFIGURA...

Page 6: ...d up to two I O windows are available for PC Card16 accesses For 32 bit CardBus cards two memory windows and two I O windows are supported by the controller CardBus card status information can be acce...

Page 7: ...face PC Card Sockets 2 sockets for two cards of types I and II or one card of type III PC Card Operating Voltage 3 3V or 5V PC Card Programming Voltage 3 3V 5V or 12V PC Card Supply Current 1A maximum...

Page 8: ...access space or directly via PCI memory address space 3 1 Address Mapping TCP872 PC Card16 mode The PCI1520 provides a window mechanism to link the PCI space to PC Card16 address space Memory and I O...

Page 9: ...Card I O mapping To open I O window software must provide the PCI1520 with I O start address I O stop address and I O offset PC Card16 I O is accessed only if the address window is enabled and if the...

Page 10: ...by the device driver software points to five 32 bit registers which can be located anywhere in the PCI memory space at a 1 Kbytes boundary at offset 0x00 Each socket has a separate base address regist...

Page 11: ...rd status change interrupt which can notify the system of change in the PC Card battery voltage levels PC Card insertion removal detection Ready Busy condition and functional status change for both so...

Page 12: ...egister 0 Y 00000000 0x30 CardBus I O Limit Register 0 Y 00000000 0x34 CardBus I O Base Register 1 Y 00000000 0x38 CardBus I O Limit Register 1 Y 00000000 0x3C Bridge Control Register Interrupt Pin In...

Page 13: ...gister PCI 0x80 0x0A 0x28D061 Multifunction Routing Register PCI 0x8C 0x0D 0x00C01D02 Retry Status Register PCI 0x90 0x11 0xC0 Card Control Register PCI 0x91 0x12 0x00 Device Control Register PCI 0x92...

Page 14: ...ISA IRQ 2 to 15 To enable the parallel ISA IRQs on these pins the following settings must be done by software Register Offset Required Value ISA Routing Multifunction routing 0x8C Bits 27 24 0x2 0xF...

Page 15: ...be programmed to other functions by software To provide access to the multifunction signals of the PCI1520 the TCP872 provides a 10 pin flat cable header Figure 4 4 Position of X2 X2 Signal Default F...

Page 16: ...software device driver should perform the following initialization steps The CardBus Latency Timer Register at offset 0x1B in the PCI Configuration space should be set to a value of 0x20 A Memory and...

Reviews: