Search found 21 matches

by guodian
Tue Jan 17, 2017 1:18 pm
Forum: Q&A
Topic: What's wrong about the boards
Replies: 8
Views: 5870

Re: What happened about the boards

We have resolved this problem. But we face a new problem now. Our particular board just can work on 1i2o2xxxxxx and 1i8o2xxxxxx version build. In these two versions, the board can record and play sound well. But when build in 2i*o******** versions it can't be recognized by computer and play sound. W...
by guodian
Sat Jan 14, 2017 5:59 am
Forum: Q&A
Topic: What's wrong about the boards
Replies: 8
Views: 5870

Re: What happened about the boards

@infiniteimprobability, thank you. Of cause, I know the I2C will make a system crash if no device could find. I have read the datasheet and I think my software design is OK. Take a look at my audiohw.xc (I haven't modified other files and have added my own files in the same directory and running OK)...
by guodian
Fri Jan 13, 2017 1:26 pm
Forum: Q&A
Topic: What's wrong about the boards
Replies: 8
Views: 5870

Re: What happened about the boards

Yes, the ADC chip need to configured it's pins for high or low. The ADC chip have no register. I2C is used by other chip. But I didn't change the I2C wires. Now my board always can't be recognized by the computer. Or be recognized sometimes and unstable.
by guodian
Fri Jan 13, 2017 12:36 pm
Forum: Q&A
Topic: What's wrong about the boards
Replies: 8
Views: 5870

Re: What happened about the boards

Shall I need to modify the xn file for I changed the ADC chip? (But I didn't change the clock pins, ADC pin, I2C pins. I just use the idle pins to config the ADC chip.)
by guodian
Thu Jan 12, 2017 10:06 am
Forum: Q&A
Topic: What's wrong about the boards
Replies: 8
Views: 5870

Re: What happened about the boards

Hi - do you have a USB analyser? What happens on the bus? Perhaps try a simple HID mouse app (which moves the cursor around) to test (attached). This will establish if USB has been damaged or not. All it needs is a 24MHz clock and doesn't care about other ports, so is good to establish if USB is wo...
by guodian
Thu Jan 12, 2017 8:29 am
Forum: Q&A
Topic: What's wrong about the boards
Replies: 8
Views: 5870

What's wrong about the boards

Help me please, XMOE engineers. I don't know what happened about our two boards. They are all built in 2i10o10****** app_usb_aud_xk_216_mc versions. We designed our own board referenced by xCORE-200 Multichannel Audio Platform. We changed the ADC chip. I checked the signals from the oscilloscope and...
by guodian
Tue Jan 10, 2017 10:59 am
Forum: Q&A
Topic: Multi-channel Audio - How to add data to an audio stream?
Replies: 18
Views: 12988

Re: Multi-channel Audio - How to add data to an audio stream

static unsigned samplesIn[2][32]; but this is the place to insert data. So you would do something like: samplesIn[readBuffNo][8] = my_data[0]; samplesIn[readBuffNo][9]= my_data[1]; I couldn't find out this array(samplesIn[2][32]) in the audio.xc file. But I found two arrays like it. /* Two buffers ...
by guodian
Tue Jan 10, 2017 10:33 am
Forum: Q&A
Topic: Is this OK in USB core
Replies: 3
Views: 3323

Re: Is this OK in USB core

Thanks henk, I think my method may seem like the second way you said. The codes involved in this brace are all run in the same core(USB buffer core), and the loop is involved in buffer() function. So, my code should not slow down the task. Let me add. What's the function of thread_speed(). Can I add...
by guodian
Tue Jan 10, 2017 7:16 am
Forum: Q&A
Topic: Is this OK in USB core
Replies: 3
Views: 3323

Is this OK in USB core

Hi, My design is referenced by xCORE-200 Multichannel Audio Platform. Now I use a pin on tile 1 for an output. I know the XUD module is on tile 1 and no more than six cores shall execute on it. So I add my code like this in main.xc file in usb_audio_core() function /* USB Packet buffering Core */ { ...
by guodian
Mon Jan 09, 2017 2:00 pm
Forum: Q&A
Topic: How to use the rest of port/pins shared with I2C?
Replies: 6
Views: 4080

Re: How to use the rest of port/pins shared with I2C?

I didn't add the i2c_lib. I refered to the original code. We can found that It uses the module_i2c_single_port from the Makefile. And the r_i2c struct defined in i2c.h in this module as /** Struct that holds the data for instantiating the I2C module - it just * comprises one port (the clock line and...