FP-GPIO96 User Manual Rev A.01 www.diamondsystems.com Page 2
CONTENTS
Important Safe Handling Information .....................................................................................................................3
1. Introduction .......................................................................................................................................................4
1.1 Description .....................................................................................................................................................4
1.2 Features .........................................................................................................................................................4
1.3 FeaturePak Resources ..................................................................................................................................5
2. Functional Overview .........................................................................................................................................6
2.1 Functional Block Diagram ..............................................................................................................................6
2.2 Board Drawing ...............................................................................................................................................7
3. Connector Pinout and Pin Description ...........................................................................................................8
3.1 FeaturePak Connector ..................................................................................................................................8
3.1.1 PCI Express ..........................................................................................................................................8
3.1.2 System Interface Signals ......................................................................................................................8
3.2 FeaturePak Connector Pinout .......................................................................................................................9
3.3 Digital I/O Signals ....................................................................................................................................... 10
3.3.1 Primary I/O connector ........................................................................................................................ 10
3.3.2 Secondary I/O connector ................................................................................................................... 11
4. Theory of Operation....................................................................................................................................... 12
4.1 DIO Blocks .................................................................................................................................................. 12
4.2 Counter/Timer and PWM Block .................................................................................................................. 12
4.3 Interrupts ..................................................................................................................................................... 12
5. Board Configuration ...................................................................................................................................... 13
5.1 Configuring Using Universal Driver ............................................................................................................ 13
5.2 Configuring Using Register Operations ...................................................................................................... 13
5.2.1 Interrupt level ..................................................................................................................................... 13
6. I/O Registers ................................................................................................................................................... 14
6.1 I/O Map Summary....................................................................................................................................... 14
6.2 I/O Register Details .................................................................................................................................... 15
6.2.1 BAR0 + 32 (0x20) DIO Block A Registers ......................................................................................... 16
6.2.2 BAR0 + 32 (0x20) DIO Block B Registers ......................................................................................... 20
6.2.3 BAR0 + 48 (0x30) Counters, PWM Block Registers .......................................................................... 23
6.2.4 BAR0 + 112 (0x70) Interrupts, Miscellaneous, and ID Block Registers ........................................... 29
6.2.5 BAR0 + 224 (0xE0) SPI Flash Interface Block Registers ................................................................. 34
7. Digital I/O Operation ...................................................................................................................................... 37
7.1 Digital I/O Configuration Register ............................................................................................................... 38
7.2 Outputting data to a DIO port ..................................................................................................................... 38
7.3 Reading data from a DIO port .................................................................................................................... 39
8. Counter/Timer Operation .............................................................................................................................. 39
8.1 Counter/Timer Features and Configuration Options .................................................................................. 39
8.2 Counter/Timer Configuration ...................................................................................................................... 40
8.3 Counter/Timer Access and Programming .................................................................................................. 40
8.3.1 Counter/Timer commands ................................................................................................................. 41
8.4 Timer interrupts........................................................................................................................................... 44
9. PWM Operation .............................................................................................................................................. 45
10. Specifications ................................................................................................................................................. 46