Just starting with xCORE-200 MC Audio Board - Issue with customdefines.h
Posted: Mon Jul 08, 2019 12:03 pm
Hi,
I've downloaded the latest software for the xCORE-200 MC Audio Board from the XMOS website, and it all seems to build ok using Clean, apart from quite a number of warning messages related to unused parameters etc, and it creates an executable file with the name app_usb_aud_vk_216_mc_1i2o2xxxxxx.xe in a folder named 1i2o2xxxxxx. Using Run Configurations in the XDE selects this file and downloads it to the MC Audio Board without issue. It's possible that the Makefile is doing the overriding instead, but looking through it, it's not obvious how one of the multiple configurations might do this.
1i2o2xxxxxx appears to match the configuration in devicedefines.h, except that USB Audio Class 1 is identified, rather than Class 2. It appears that customdefines.h is not overriding devicedefines.h. I believe the default configuration should create a bidirectional 2-channel USB interface, but when I plug in an iPad running the AudioTools app (to generate an audio test signal) into either of the on-board USB connectors, I don't get any audio output via any of the 3.5 mm jack sockets. Likewise, when I connect a test signal to one of the audio input jacks on the board, I don't see an audio input signal in AudioTools' oscilloscope mode.
Any ideas please?.
I've downloaded the latest software for the xCORE-200 MC Audio Board from the XMOS website, and it all seems to build ok using Clean, apart from quite a number of warning messages related to unused parameters etc, and it creates an executable file with the name app_usb_aud_vk_216_mc_1i2o2xxxxxx.xe in a folder named 1i2o2xxxxxx. Using Run Configurations in the XDE selects this file and downloads it to the MC Audio Board without issue. It's possible that the Makefile is doing the overriding instead, but looking through it, it's not obvious how one of the multiple configurations might do this.
1i2o2xxxxxx appears to match the configuration in devicedefines.h, except that USB Audio Class 1 is identified, rather than Class 2. It appears that customdefines.h is not overriding devicedefines.h. I believe the default configuration should create a bidirectional 2-channel USB interface, but when I plug in an iPad running the AudioTools app (to generate an audio test signal) into either of the on-board USB connectors, I don't get any audio output via any of the 3.5 mm jack sockets. Likewise, when I connect a test signal to one of the audio input jacks on the board, I don't see an audio input signal in AudioTools' oscilloscope mode.
Any ideas please?.