background image

 

           

E m b e d d e d   S o l u t i o n s     P g   1 2   o f   2 0

 

Interrupts 

All IP Module interrupts are vectored. The vector from IP-CF comes from a vector 
register loaded as part of the initialization process. The vector register can be 
programmed to any 8 bit value. The default value is $FF which is sometimes not a valid 
user vector. The software is responsible for choosing a valid user vector. 
 
The CompactFLASH state machines generate an interrupt request when a programmed 
condition is detected. The interrupt is mapped to interrupt request 0. The CPU may 
respond by asserting INT. The hardware will automatically supply the appropriate 
interrupt vector when accessed by the CPU.  The source of the interrupt is obtained by 
reading the CompactFLASH internal registers. 
 
Some carrier boards pre-fetch data.  If your carrier board pre-fetches the interrupt 
status, then the status may be cleared when the SW goes to look at it.  If this is an issue 
then be careful with the order of reading the registers to prevent the pre-fetching 
function from affecting operation. 
 
The interrupt level seen by the CPU is determined by the IP Carrier board being used. 
The master interrupt can be disabled or enabled through the ip_cf_cntl register. The 
Interrupt acknowledge cycle fetches the vector, but does not clear the interrupt request 
in this design.  The interrupt acknowledge cycle is not needed for this design and is 
supported to be in compliance with the IP Module standard.  If your design does not 
need to use the interrupt vector then the Interrupt space and vector can be bi-passed in 
favor of direct access to the CompactFLASH module for interrupt status information. 
 
If operating in a polled mode and making use of the interrupts for status then the master 
interrupt should be disabled. 
 
 

Содержание IP-CF

Страница 1: ...Cruz CA 95060 831 457 8891 831 457 4793 FAX http www dyneng com sales dyneng com Est 1988 User Manual IndustryPack CompactFLASH IP CF CompactFLASHtm Adapter IP Module Manual Revision B Revised 8 9 16...

Страница 2: ...t at any time and without notice Furthermore Dynamic Engineering assumes no liability arising out of the application or use of the device described herein The electronic equipment described herein gen...

Страница 3: ...us Register 10 CompactFLASH internal registers 11 Interrupts 12 ID PROM 13 IP Module Logic Interface Pin Assignment 14 IP Module IO Interface Pin Assignment 15 Applications Guide 16 Interfacing 16 Con...

Страница 4: ...n s P g 4 o f 2 0 List of Figures FIGURE 1 IP CF ADDRESS MAP 7 FIGURE 2 IP CF CONTROL REGISTER 0 BIT MAP 9 FIGURE 3 IP CF STATUS BIT MAP 10 FIGURE 4 IP CF ID PROM 13 FIGURE 5 IP CF LOGIC INTERFACE 14...

Страница 5: ...CF has an oscillator position which is not used for the standard interface If you have a custom module which requires an alternate timing scheme the oscillator position can be filled to support your r...

Страница 6: ...n a different one The PCI3IP or PCIe3IP designs make a convenient development platform in many cases http www dyneng com pci_3_ip html http www dyneng com PCIe3IP html Interrupts are supported by IP C...

Страница 7: ..._cf_f_err EQU 42 word write read ip_cf_sec_cnt EQU 44 word write read ip_cf_cyl_l EQU 46 word read write ip_cf_cyl_h EQU 4A word read write ip_cf_sch EQU 4C word write read ip_cf_cmd_stat EQU 4E word...

Страница 8: ...checked The model serial number and firmware revision are displayed The IDPROM is read and checked The vector register has a loop back test The FLASH memory is programmed and read back The read write...

Страница 9: ...it when set can cause an interrupt to the host The master interrupt enable must also be set The force interrupt bit can be used to cause an interrupt for test or software development purposes 4 The ma...

Страница 10: ...s The internal socket is device 1 The card detect bits can be used to determine if a CompactFLASH device is installed The bits are active low 00 when a card is installed and 11 when no device is prese...

Страница 11: ...num 0x46 compact flash read write sector number pointer iip_cf_cyl_l 0x48 compact flash read write cylinder number low pointer ip_cf_cyl_h 0x4a compact flash read write cylinder number high pointer ip...

Страница 12: ...ch data If your carrier board pre fetches the interrupt status then the status may be cleared when the SW goes to look at it If this is an issue then be careful with the order of reading the registers...

Страница 13: ...y check for it directly The location of the ID PROM in the host s address space is dependent on which carrier is used Standard data in the ID PROM on the IP CF is shown in the figure below For more in...

Страница 14: ...35 D7 n c 11 36 D8 A1 12 37 D9 DMAEnd 13 38 D10 A2 14 39 D11 n c 15 40 D12 A3 16 41 D13 IntReq0 17 42 D14 A4 18 43 D15 IntReq1 19 44 BS0 A5 20 45 BS1 n c 21 46 n c A6 22 47 n c Ack 23 48 5V n c 24 49...

Страница 15: ...FP5V D0 9 34 FP5V D14 10 35 GND D1 11 36 DASP D13 12 37 CS1 D2 13 38 CS0 D12 14 39 A2 D3 15 40 A0 D11 16 41 PDIAG D4 17 42 A1 D10 18 43 IOCS16 D5 19 44 IREQ D9 20 45 GND D6 21 46 DMACKN D8 22 47 IORD...

Страница 16: ...ost system This problem may be avoided by turning all power supplies on and off at the same time We provide the components You provide the system Safety and reliability can be achieved only by careful...

Страница 17: ...th plugs and receptacles They are rated at 1 Amp per pin 200 insertion cycles minimum These connectors make consistent correct insertion easy and reliable The IP is secured against the carrier with fo...

Страница 18: ...ip prepaid and insured with the RMA number clearly written on the outside of the package Include a return address and the telephone number of a technical contact For out of warranty repairs a purchase...

Страница 19: ...Mhz for internal operations Approximately 1 uS for CompactFLASH accesses Write operations are posted and return for pipelined operation Read accesses are data delayed Interrupt Masked or polled opera...

Страница 20: ...ints isolated power and quickswitch technology to allow hot swapping of IPs or power cycling without powering down the host http www dyneng com ipdbgbus html PCIe3IP 1 2 length PCIe card with 3 IP slo...

Отзывы: