Test0 Device#

Authors:

Jonathan P. Newman

Version:

2

IO:

Frame Source, Register Access

ONIX ID:

10

Description#

The Test0 device is used for testing during development.

  • Fixed, hardware-defined frame rate

  • Fixed, hardware-defined frame size

  • Register-defined frame 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

0x01

MESSAGE

R/W

Immediate

42

None

The first 16-bits of the MESSAGE word appears in the device to host frame

0x02

NUMTESTWORDS

R

N/A

Implementation dependent, see hub documentation

None

Read-only register indicating number of 16-bit words following MESSAGE in each frame

0x03

FRAMERATE

R

N/A

Implementation dependent, see hub documentation

None

Read-only register indicating the fixed frame rate in Hz. 0 indicates that the frame rate is unspecified (variable or upstream controlled).

Device To Host Data Frames#

Each frame transmitted to the host is structured as follows:

Host To Device Data Frames#

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