beautypg.com

Command port (base +4) bit description, Software trigger port (base + 5) bit description, Read spectral data (base + 6) bit description – Ocean Optics PC2000-PC_104 User Manual

Page 9: Channel rotation port (base + 7) bit description

background image

PC2000-PC/104 Data Sheet

Command Port (Base +4) Bit Description

Writes to this 8-bit port control the spectrometer’s functionality.

Bit Function

7

MUX address bit 2

6

Enable board interrupt (1=enabled)

5

Master reset to clear FIFO (1=reset)

4

MUX address bit 1

3

MUX address bit 0

2

Spectrometer mode control S1

1

Spectrometer mode control S0

Multiplexed as Strobe enable (1=enabled)

0

Read enable (1=enabled)

Software Trigger Port (base + 5) Bit Description

Performing an 8-bit read from this port will provide the state of the Software Trigger input on the D3
line (i.e., Read Value & 0x04 to determine Trigger Input line state).

Read Spectral Data (base + 6) Bit Description

Performing a 16-bit read from this port will return one spectral data point. To obtain full spectra
perform 2048 reads after interrupt initiation. Raw data format is signed—invert bit 11 to convert to
unsigned (i.e. Data Value XOR’ed with 0x0800).

Channel Rotation Port (base + 7) Bit Description

Byte wide writes to this port activates or deactivates the rotator. If activated, the value written
determines the number of channels rotated through.

000-00000-000-05-0704

9