TS4231 Array for Vive V1 Base Stations#

Authors:

Jonathan P. Newman

Version:

1

IO:

Frame Source, Register Access

ONIX ID:

25

ONIX Hubs:

Headstage-64, Neuropixels-1.0 Headstage

Description#

The TS4231 Array for V1 Base Stations ONIX device is a localization unit that provides 3D position information. At is core, this device comprises an array of optical to digital converters that work with both V1 and V2 (“Index”) and Steam/HTC/Vive base stations:

  • TS4231: Optical to digital converter

This device transmits data every time one of the sensors in the array receives an optical signal. The host computer must perform the mathematics in order to calculate positional information using these data.

Register Programming#

Address

Name

Access

Time of Effect

POR Value

Reset Action

Description

0x00

ENABLE

R/W

On Reset

Implementation dependent, see hub documentation

None

The LSB is used to enable or disable the device data stream:

  • 0x0: data output disabled

  • 0x1: data output enabled

Device To Host Data Frames#

Each frame transmitted to the host is structured as follows:

Each frame encodes a single optical detection from a single TS4231 and photodiode

../../_images/ts4231-v1-waveforms.png

Optical waveforms detected by the photodiode and the envelope output used for sweep classification.#

Envelope codes are defined based on their width as follows:

Sweep:

Width <= 50.0 μS

J0:

Width <= 62.5 μS

K0:

Width <= 72.9 μS

J1:

Width <= 83.3 μS

K1:

Width <= 93.8 μS

J2:

Width <= 104.0 μS

K2:

Width <= 115.0 μS

Where Sweep is a light-sheet pass and Jx/Kx are synchronization flashes. See the Lighthouse Redox Project for more information.

Host To Device Data Frames#

This device does not accept input frames. All write attempts will fail with an error.