diff --git a/examples/AN00247_xua_example_spdif_tx/doc/rst/AN00247.rst b/examples/AN00247_xua_example_spdif_tx/doc/rst/AN00247.rst index 24c23b14..2513f873 100644 --- a/examples/AN00247_xua_example_spdif_tx/doc/rst/AN00247.rst +++ b/examples/AN00247_xua_example_spdif_tx/doc/rst/AN00247.rst @@ -149,7 +149,8 @@ S/PDIF Tx functionality must be ``lib_xua`` - Various product strings - Master clock frequency -To enable S/PDIF funtionality ``XUA_SPDIF_TX_EN`` must be set to a non-zero value. +To enable S/PDIF funtionality ``XUA_SPDIF_TX_EN`` must be set to a non-zero value. Setting this will cause the ``XUA_AudioHub`` +tasks to forward samples and sample rate information to the S/PDIF transmitter task. These parameters are set via defines in an optional ``xua_conf.h`` header file. For this simple application the complete contents of this file are as follows: diff --git a/examples/AN00247_xua_example_spdif_tx/src/app_xua_simple.xc b/examples/AN00247_xua_example_spdif_tx/src/app_xua_simple.xc index 17723ded..9c9e3703 100644 --- a/examples/AN00247_xua_example_spdif_tx/src/app_xua_simple.xc +++ b/examples/AN00247_xua_example_spdif_tx/src/app_xua_simple.xc @@ -21,7 +21,7 @@ /* Lib_spdif port declarations. Note, the defines come from the xn file */ buffered out port:32 p_spdif_tx = PORT_SPDIF_OUT; /* SPDIF transmit port */ -clock clk_spdif_tx = on tile[0]: XS1_CLKBLK_4 /* Clock block for S/PDIF transmit */ +clock clk_spdif_tx = on tile[0]: XS1_CLKBLK_4; /* Clock block for S/PDIF transmit */ /* Lib_xua port declarations. Note, the defines come from the xn file */ in port p_mclk_in = PORT_MCLK_IN; /* Master clock for the audio IO tile */