manufacturer of I/O-rich SBCs, operator interfaces, handheld instruments, and development tools for embedded control low cost single board computers, embedded controllers, and operator interfaces for scientific instruments & industrial control development tools for embedded control order our low cost I/O-rich embedded control products embedded controller manufacturer profile single board computers & embedded controllers development tools & starter kits for your embedded design operator interfaces with touchscreens and graphical user interface plug-in expansion modules for digital & analog I/O C language & Forth language integrated development tools, IDE single board and embedded computer accessories embedded controller enclosures, bezels, environmental gaskets

QCard C User Guide

Table of Contents

PART 1 GETTING STARTED

Chapter 1: Getting to Know Your QCard Controller

Chapter 2: Using Your PowerDock

Chapter 3: Your First Program

PART 2 PROGRAMMING THE QCARD CONTROLLER

Chapter 4: The IDE: Writing, Compiling, Downloading and Debugging

Chapter 5: Making Effective Use of Memory

Chapter 6: Real Time Programming

Chapter 7: Failure and Run-Time Error Recovery

PART 3 COMMUNICATIONS, MEASUREMENT, AND CONTROL

Chapter 8: Digital and Timer-Controlled I/O

Chapter 9: Data Acquisition Using Analog to Digital Conversion

Chapter 10: Serial Communications

Chapter 11: The Battery-Backed Real-Time Clock

PART 4 PUTTING IT ALL TOGETHER

Chapter 12: A Turnkeyed Application

PART 5 REFERENCE DATA

Appendix A: QCard Electrical Specifications

Appendix B: Connector Pinouts

Appendix C: Schematics (zip)

Appendix B

<< Previous | Appendix C: Schematics (zip)

Connector Pinouts

The QCard Controller Starter Kit comprises a stack of two boards: the PowerDock Board, and the smaller QCard Board. Pin-outs for all I/O connectors on the QCard Board and the PowerDock Board are provided here.

QCard Connectors

The pinouts of all of the connectors on the QCard Board are presented below.  To locate the connectors on the board, consult Figure B–1  and the white silk–screened labels on the visible side of the QCard Board.  The arrows in the figure point to the locations of pin 1 on each connector.

Figure B–1   QCard Connectors and Switches.  Arrows locate pin 1 of each header.

 

Table B‑1     H1: Power Header

Pin

 

Signal

 

1

–

V+RAW (+8 to +26 VDC)

 

2

–

GND

 

3

–

+5 VDC

 

4

–

TDI for JTAG programming

 

5

–

TMS for JTAG programming

 

6

–

TCK for JTAG programming

 

7

–

TDO for JTAG programming

 

 

Note:  V+RAW is needed only if certain WildCards are used.  Pins 4-7 are generally not used.

 

Table B‑2    H2: Field Header

Signal

 

Pins

 

Signal

GND

–

1

2

–

+5V

AGND

–

3

4

–

V+RAW

/TxD1 (/TxD2)

–

5

6

–

/RxD1 (/RxD2)

XCVR- (/TxD2)

–

7

8

–

XCVR+ (/RxD2)

PA7

–

9

10

–

PA6

PA5

–

11

12

–

PA4

PA3

–

13

14

–

PA2

PA1

–

15

16

–

PA0

PE7

–

17

18

–

PE6

PE5

–

19

20

–

PE4

PE3

–

21

22

–

PE2

PE1

–

23

24

–

PE0

Note:  Signals in parentheses indicate options configured by installing appropriate zero ohm shorts on the board.

 

H3: WildCard Port Header

Signal

 

Pins

 

Signal

 

GND

–

1

2

–

+5V

 

/IRQ

–

3

4

–

V+Raw

 

SEL1/XMIT-

–

5

6

–

SEL0/XMIT+

 

MOSI/XCV-

–

7

8

–

MISO/XCV+

 

/RESET

–

9

10

–

SCK

 

/MOD.CS

–

11

12

–

16 MHz

 

E

–

13

14

–

R/W

 

/OE

–

15

16

–

/WE

 

AD7

–

17

18

–

AD6

 

AD5

–

19

20

–

AD4

 

 

AD3

–

21

22

–

AD2

 

AD1

–

23

24

–

AD0

 

Table B‑3    H4: Communications Header

Signal

 

Pins

 

Signal

/TxD1

–

1

2

–

/RxD1

DGND

–

3

4

–

/MOD1.CS

RS485 XCVR-

–

5

6

–

RS485 XCVR+

/TxD2

–

7

8

–

/RxD2

DGND

–

9

10

–

+VBAT

Note:  This pinout differs from that of the PowerDock pinout: on the PowerDock pin 4 is connected to DGND and pin 10 is connected to +5V.

PowerDock Connectors

The pin-outs of all of the connectors on the PowerDock are presented below.  To locate the connectors on the board, consult Figure B‑2  and the white silk–screened labels on the PowerDock.

Figure B‑2    Headers on the PowerDock.  The small numeral 1 locates pin 1 on each header.

 

Figure B‑3    Serial Connectors, Power Jack, and Power Switch on the Back of the PowerDock.

 

Table B‑4   H2: Power Header

Pin

 

Signal

1

–

VIN (8 to 26 Volts)

2

–

GND

3

–

+5 VDC

4

–

VBAT

 

Table B‑5   H1: Serial Communications Connector

Signal

 

Pins

 

Signal

 

/TxD1

–

1

2

–

/RxD1

 

GND

–

3

4

–

GND

 

RS485 XCVR-

–

5

6

–

RS485 XCVR+

 

/TxD2

–

7

8

–

/RxD2

 

GND

–

9

10

–

+5V

 

 

Note:  This pinout differs from that of the QCard pinout: on the QCard pin 4 is connected to /MOD1.CS and pin 10 is connected to VBAT.

 

 

Table B‑6   H3 & H5: Wildcard Port Headers

Signal

 

Pins

 

Signal

GND

–

1

2

–

+5V

/IRQ

–

3

4

–

V+Raw

PG1/XMIT-

–

5

6

–

PG0/XMIT+

MOSI/XCV-

–

7

8

–

MISO/XCV+

/RESET

–

9

10

–

SCK

/MOD.CS

–

11

12

–

16 MHz

E

–

13

14

–

R/W

/OE

–

15

16

–

/WE

AD7

–

17

18

–

AD6

AD5

–

19

20

–

AD4

AD3

–

21

22

–

AD2

AD1

–

23

24

–

AD0

 

 Table B‑7      Serial 1 Connector                     Table B‑8       Serial 2 Connector

Signal

Pins

Signal

 

Signal

Pins

Signal

DCD1/DSR1/DTR1

–

1

 

 

 

 

DCD2

–

1

 

 

 

 

 

 

6

–

DSR1/DTR1/DCD1

 

 

 

 

6

–

DSR2/DTR2/DCD2

/TXD1

–

2

 

 

 

 

/TXD2

–

2

 

 

 

 

 

 

7

–

CTS1

 

 

 

 

7

–

CTS2/RTS2

/RXD1

–

3

 

 

 

 

/RXD2

–

3

 

 

 

 

 

 

8

–

RTS1

 

 

 

 

8

–

RTS2/CTS2

DSR1/DTR1/DCD1

–

4

 

 

 

 

DSR2/DTR2/DCD2

–

4

 

 

 

 

 

 

9

–

NC

 

 

 

 

9

–

NC

DGND

–

5

 

 

 

 

DGND

–

5

 

 

 

Notes:

 

Notes:

NC indicates no connection

 

NC indicates no connection

Pins 1, 4 and 6 (DCD1/DSR1/DTR1) are connected.

 

Pins 1, 4 and 6 (DCD2/DSR2/DTR2) are connected.

Pins 7 and 8 (CTS1/RTS1) are connected.

 

Pins 7 and 8 (CTS1/RTS1) are connected.

<< Previous | Appendix C: Schematics (zip)


Home|Site Map|Products|Manuals|Resources|Order|About Us
Copyright (c) 2006 Mosaic Industries, Inc.
Your source for single board computers, embedded controllers, and operator interfaces for instruments and automation