XSCOPE - Cannot probe real time mic data
Posted: Wed Jan 04, 2017 1:10 pm
Hi,
I am using app_usb_aud_mic_array[sw_usb_audio - usb_audio6.15.2] with target mic_array_ref.xn (XMOS mic array board). Said firmware works fine usb audio in and out. For further development I want to analyze mic signal or final data to DAC using xscope. To achieve I have added config.xscope in project with following content: And in pdm_user.xc added these lines I am creating Run configuration with device options: Hardware - target XMOS XTAG-3 connected to O[0][SqiaXG0U], Target IO option : JTAG, XSCOPE in real time mode. But when trying to run it, it shows capturing continuously but without any trace signal. I tried to adjust scope ranges but didn't work. I am able to trace sine signal in sample : AN00196_Getting_started_with_real_time_xSCOPE_in_xTIMEcomposer_Studio, but for this it doesn't show any traces.
What could be wrong over here?
Thanks,
Shailesh
I am using app_usb_aud_mic_array[sw_usb_audio - usb_audio6.15.2] with target mic_array_ref.xn (XMOS mic array board). Said firmware works fine usb audio in and out. For further development I want to analyze mic signal or final data to DAC using xscope. To achieve I have added config.xscope in project with following content:
Code: Select all
<xSCOPEconfig ioMode="none" enabled="true">
<Probe name="mic_gain" type="DISCRETE" datatype="UINT" units="Value" enabled="true"/>
<Probe name="audio_out" type="CONTINUOUS" datatype="UINT" units="Value" enabled="true"/>
</xSCOPEconfig>
Code: Select all
xscope_int(MIC_GAIN, gain); //after increase or decrease mic gain
xscope_int(AUDIO_OUT, output[0]); //in summed loop where all mic data is summed
What could be wrong over here?
Thanks,
Shailesh