clockBlock in USB audio 2.0

Technical questions regarding the XTC tools and programming with XMOS.
Unchyu2
Member++
Posts: 29
Joined: Tue Jun 17, 2014 11:40 am

clockBlock in USB audio 2.0

Post by Unchyu2 »

Hello,
I am trying to implement SPDIF_RX and clockGen into the USB-Audio-2.0-Device-Reference-Design-Software(6.6.0).
I am using the XMOS U16 sliceKit and I have some external hardware to input the SPDIF signal.
I have successfully implemented the SPDIF_RX block but I have a hard time of understanding how the clockGen block works, although I have managed to output on a port a 300Hz square wave signal using that block (after I connected it to the spdif_rx channel).

1. Is that wave output supposed to be normal? (it doesn't change in frequency if I change the sampling frequency from my wave generator)

2. Why isn't SPDIF_RX and clockGen supported in the current release of the software design and what should I do to make them work properly?

Thank you in advance,
Ilie
User avatar
Ross
Verified
XCore Legend
Posts: 1283
Joined: Thu Dec 10, 2009 9:20 pm
Location: Bristol, UK

Post by Ross »

Unchyu2 wrote: 1. Is that wave output supposed to be normal? (it doesn't change in frequency if I change the sampling frequency from my wave generator)
The code outputs a 300Hz signal to an external clock multiplied - this 300Hz signal is synced to the incoming digital stream.
Unchyu2 wrote: 2. Why isn't SPDIF_RX and clockGen supported in the current release of the software design and what should I do to make them work properly?
Maintenance was temporarily dropped in favour of adding more feature. I have just recently rectified this and S/PDIF input will be in the next release.
Unchyu2
Member++
Posts: 29
Joined: Tue Jun 17, 2014 11:40 am

Post by Unchyu2 »

Thank you for the clarification Ross.
Do you have an estimate for when this new release is going live?
User avatar
Ross
Verified
XCore Legend
Posts: 1283
Joined: Thu Dec 10, 2009 9:20 pm
Location: Bristol, UK

Post by Ross »

An alpha is out the field a the moment. Send me a PM if you would like to test.