AN00231 SPDIF-Receive-to-I2S-output-using-ASRC x->192kHz

Sub forums for various specialist XMOS applications. e.g. USB audio, motor control and robotics.
User avatar
xlordofpainx
Experienced Member
Posts: 78
Joined: Thu Mar 08, 2018 2:44 pm

Post by xlordofpainx »

48 is coming from the spdif into the XMOS and 182360( or some similar gibberish) comes out of XMOS
User avatar
xlordofpainx
Experienced Member
Posts: 78
Joined: Thu Mar 08, 2018 2:44 pm

Post by xlordofpainx »

I used the program that you sent me. I changed the .xn file to xk-audio-216, i changed the ports, and i replaced the codec that you had used with cs4384_5368. But the console prints out when building:

09:58:47 **** Incremental Build of configuration Default for project AN00231_ASRC_SPDIF_TO_DAC ****
xmake CONFIG=Default all
Checking build modules
Using build modules: lib_gpio(1.1.0) lib_i2c(4.0.0) lib_i2s(2.3.0) lib_logging(2.1.1) lib_spdif(2.0.2) lib_src(1.1.1) lib_xassert(3.0.1)
xmake: *** [bin//AN00231_ASRC_SPDIF_TO_DAC.xe] Error 2

09:58:54 Build Finished (took 6s.943ms)

Doesn't exactly say what the bug is...
ffomich
Experienced Member
Posts: 119
Joined: Mon Sep 15, 2014 1:32 pm

Post by ffomich »

Try to clean project before build or manually delete .build & bin folders.
I use xTIMEcomposer 14.2.4
Ivanshi
New User
Posts: 2
Joined: Tue Mar 05, 2019 10:16 am

Post by Ivanshi »

I can't get 192kHz data with AN00231. Can you solve this problem? Or can you refer me to the program from ffomich? My email address is 604797603@qq.com
User avatar
mon2
XCore Legend
Posts: 1913
Joined: Thu Jun 10, 2010 11:43 am

Post by mon2 »

Ivanshi
New User
Posts: 2
Joined: Tue Mar 05, 2019 10:16 am

Post by Ivanshi »

I know the app note was not designed to run at 192KHz,but this is what I want to do now.
I tried to modify the program, but it couldn't be implemented, so I hope to get help.
User avatar
akp
XCore Expert
Posts: 580
Joined: Thu Nov 26, 2015 11:47 pm

Post by akp »

Good luck. Report on your progress.
User avatar
infiniteimprobability
Verified
XCore Legend
Posts: 1164
Joined: Thu May 27, 2010 10:08 am

Post by infiniteimprobability »

For anyone combing across this thread, just to let you know there is an updated Appnote for xcore.ai running on 316MC board which natively offers 192kHz operation with massively improved control loop (lower jitter) and fewer threads needed due to use of the VPU. It can handle up to 8 channels too (eg. ADAT).
Engineer at XMOS
User avatar
infiniteimprobability
Verified
XCore Legend
Posts: 1164
Joined: Thu May 27, 2010 10:08 am

Post by infiniteimprobability »

For anyone combing across this thread, just to let you know there is an updated Appnote for xcore.ai running on 316MC board which natively offers 192kHz operation with massively improved control loop (lower jitter) and fewer threads needed due to use of the VPU. It can handle up to 8 channels too (eg. ADAT).
Engineer at XMOS