How to use i2s?

Technical questions regarding the XTC tools and programming with XMOS.
Post Reply
qwerasdfzxcv
Member++
Posts: 20
Joined: Thu Oct 19, 2017 1:44 pm

How to use i2s?

Post by qwerasdfzxcv »

Hey guys,

My question is about how to enable i2s, which is the method I'm using now, but it doesn't work.
First of all, I will directly 1 i0o0_cir43_i2s_only_16khz. Xe file to burn XVF - 3000 development board, but no generated xmos audio driver, then I will change a makefile - DCODEC_MASTER to 0, then burn it again 1 i0o0_cir43_i2s_only_16khz. Xe, there is still no audio driver.I wonder what the reason is?

Thank you for any advise.


User avatar
andrewxcav
Active Member
Posts: 62
Joined: Wed Feb 17, 2016 5:10 pm
Contact:

Post by andrewxcav »

Are you listening for audio through the headphone jack or over USB?
qwerasdfzxcv
Member++
Posts: 20
Joined: Thu Oct 19, 2017 1:44 pm

Post by qwerasdfzxcv »

yes.
headphone.
User avatar
Ross
XCore Expert
Posts: 962
Joined: Thu Dec 10, 2009 9:20 pm
Location: Bristol, UK

Post by Ross »

The i2s only configs don't drive out on the lines connected to the DAC. It drives out on other lines such that you can connect to your app's processor (Raspberry Pi) or similar. Suggest consulting the documentation.
User avatar
infiniteimprobability
XCore Legend
Posts: 1126
Joined: Thu May 27, 2010 10:08 am
Contact:

Post by infiniteimprobability »

Suggest consulting the documentation.
The getting started guide should be helpful:

https://www.xmos.com/download/private/s ... rc5%29.pdf

See:
7.2 Full I2S Configuration
Post Reply