Can't change XCore to I2S slave in DJ kit
Posted: Thu Oct 09, 2014 6:59 pm
Hi all - I've replicated the DJ 2.0 kit on another design and need to recompile the source with the XCore acting as an I2S slave. However, when I set CODEC_MASTER to 1 in customdefines.h, upon building the 2ioxx configuration, xmake reports that "p_i2s_adc" in audioports.xc is undefined. Stepping through the code, it's not clear why this would be the case so long as I2S_CHANS_ADC is nonzero, which it is (4). Any pointers?
Also - a couple other questions:
1) When building the 2ioxx application (in master mode, working around the above problem for now), the Xcore only appears as a playback device in Windows, not a record device. Does the 2ioxx application not enumerate both playback and record and paths?
2) What is the process for enabling more in/out channels? I imagine you must change the numerical defines in customdefines.h - but where else do changes need to be made (defining hardware pins, etc)?
Thanks in advance.
Also - a couple other questions:
1) When building the 2ioxx application (in master mode, working around the above problem for now), the Xcore only appears as a playback device in Windows, not a record device. Does the 2ioxx application not enumerate both playback and record and paths?
2) What is the process for enabling more in/out channels? I imagine you must change the numerical defines in customdefines.h - but where else do changes need to be made (defining hardware pins, etc)?
Thanks in advance.