S/PDIF transmit¶
The codebase supports a single, stereo, S/PDIF transmitter. This can be output over 75 Ω coaxial or optical fibre.
In order to provide S/PDIF transmit functionality lib_xua uses lib_spdif.
Basic configuration of S/PDIF transmit functionality is achieved with the defines in Table 15.
Define |
Description |
Default |
|---|---|---|
|
Enable S/PDIF transmit |
|
|
Output channel offset to use for S/PDIF transmit |
|
In addition, the developer may choose which tile the S/PDIF transmitter runs on, see Table 16
Define |
Description |
Default |
|---|---|---|
|
Tile that S/PDIF tx is connected to |
|
The codebase expects the S/PDIF transmit port to be defined in the application XN file as PORT_SPDIF_OUT.
This must be a 1-bit port, for example:
<Port Location="XS1_PORT_1A" Name="PORT_SPDIF_OUT"/>