dac_spi HDL Worker

Ettus USRP X310 DAC SPI device worker. Provides access to the hardware registers of Daughter board 0 and 1 AD9146 DACs.

Detail

This worker is used to control both AD9146 DACs present on the X310 mother board. It drives the SPI signals connected to both instances of the AD9146 DAC, providing write access to the hardware registers of both AD9146 DACs. The worker provides a raw property interface to the ad9146.hdl worker, which in turn provides named register access to the drc_x310.rcc (Digital-Radio-Controller).

This worker is defined as supporting two instances of the ad9146.hdl worker.

<supports worker="ad9146">
   <connect port="rawprops" to="rawprops" index="0"/>
</supports>

<supports worker="ad9146">
   <connect port="rawprops" to="rawprops" index="1"/>
</supports>

This worker is responsible for driving the following hardware signals

Signal

Direction

Description

DB_DAC_MOSI

Input Output

serial data input / output. shared between both DACs

DB_DAC_SCLK

Output

1MHz SPI serial clock out. drives both DACs

DB0_DAC_SEN

Output

selects daughter board 0 DAC

DB1_DAC_SEN

Output

selects daughter board 1 DAC

DB_DAC_RESET

Output

active low reset

Worker Properties

  • CP_CLK_FREQ_HZ_p

    • Type: ulong

    • Access:

      • Parameter: True

      • Writable: False

      • Initial: False

      • Volatile: False

      • Read back: False

    • Default value: None

  • SPI_CLK_FREQ_HZ_p

    • Type: ulong

    • Access:

      • Parameter: True

      • Writable: False

      • Initial: False

      • Volatile: False

      • Read back: False

    • Default value: None

Worker Ports

    Interfaces (other than data I/O ports):

  • rawprops

    • Type: rawprop

  • Subdevice Connections:

    • Supported device worker: ad9146


      Connections:


      • Subdevice port: rawprops

      • Supported worker port: rawprops

        • Index: 1


Worker Signals

  • DB_DAC_MOSI

    • Direction: inout

    • Differential: false

    • Pin: false

  • DB_DAC_SCLK

    • Direction: out

    • Differential: false

    • Pin: false

  • DB0_DAC_SEN

    • Direction: out

    • Differential: false

    • Pin: false

  • DB1_DAC_SEN

    • Direction: out

    • Differential: false

    • Pin: false

  • DB_DAC_RESET

    • Direction: out

    • Differential: false

    • Pin: false

Utilization

Utilization reporting is not currently implemented.