Giter Site home page Giter Site logo

Comments (19)

doumdi avatar doumdi commented on June 26, 2024 2

Also, try testing the device on Linux or Mac. Windows is not fully supported. Have a look at this, this might help : https://www.xcore.com/viewtopic.php?t=6806

from 16soundsusb.

blursj avatar blursj commented on June 26, 2024 1

from 16soundsusb.

doumdi avatar doumdi commented on June 26, 2024 1

@SCWhite Make the change to the file : module_usb_audio/main.xc.

from 16soundsusb.

doumdi avatar doumdi commented on June 26, 2024

Have a look here for firmware modifications : https://github.com/introlab/16SoundsUSB/tree/master/Firmware

from 16soundsusb.

blursj avatar blursj commented on June 26, 2024

from 16soundsusb.

doumdi avatar doumdi commented on June 26, 2024

@blursj Add/change the following defines L105+:

#if I2S_WIRES_ADC > 7
                PORT_I2S_ADC7,
#endif
#if I2S_WIRES_ADC > 8
#error I2S_WIRES_ADC value is too large!
#endif

from 16soundsusb.

doumdi avatar doumdi commented on June 26, 2024

FYI MCLK should be around 12.288 MHz when the board starts. All leds should be on.

from 16soundsusb.

blursj avatar blursj commented on June 26, 2024

from 16soundsusb.

blursj avatar blursj commented on June 26, 2024

from 16soundsusb.

blursj avatar blursj commented on June 26, 2024

from 16soundsusb.

doumdi avatar doumdi commented on June 26, 2024

@vrheaume do you have an idea what could be the problem?

from 16soundsusb.

blursj avatar blursj commented on June 26, 2024

from 16soundsusb.

vrheaume avatar vrheaume commented on June 26, 2024

Hello,

For some reason I can't see the figures in your post, so forgive me if I ask questions that seem redundant.

How do you measure the power consumption? Is it done with the XTAG somehow, or with an external power supply connected to the DC input barrel connector (5V)?

I don't think the LEDs should blink like you describe, so even before looking closely at the PLL chip, I would tend to take a step back.

If I understand correctly, the 16SoundsUSB card is powered by the XTAG, until you initially plug in the USB, and then goes back by itself to being supplied by the XTAG? Perhaps there is a glitch occuring when the power switches over? @doumdi have we done this before?

The 16SoundsUSB can draw quite a bit of power from the USB port, in some cases more than the USB 2.0 typical max of 500mA (depending on ADC frequencies, USB cable losses). It may be farfetched and we haven't actually experienced this, but I could see a computer failing to deliver this much power properly over the USB, which could generate dips in the power supplies, which could lead to initialization problems on the board...

In order to set this hypothesis aside, I would tend to suggest that you try powering the board from a lab power supply or a wall wart power supply (5V, >1A) connected to the DC input barrel connector, before we investigate further.

If you have a good oscilloscope I would also recommend to measure the 3,3V supply before-and-after connecting the USB port to see if there is a short transient there.

We could verify the output of the CS2100 on R117 or R65 after initialization on our boards, like you said, to verify if we obtain the same frequency as you do. It might take a few days.

Vincent

from 16soundsusb.

blursj avatar blursj commented on June 26, 2024

from 16soundsusb.

doumdi avatar doumdi commented on June 26, 2024

@blursj can you verify the clock signal (generated by the XMOS chip) you get at PLL_SYNC? It should be 1MHz. Also, try to start the firmware with the XTAG attached. You might see some errors that could be useful for debugging.

from 16soundsusb.

doumdi avatar doumdi commented on June 26, 2024

Also make sure R118 is NI.

from 16soundsusb.

blursj avatar blursj commented on June 26, 2024

from 16soundsusb.

blursj avatar blursj commented on June 26, 2024

from 16soundsusb.

SCWhite avatar SCWhite commented on June 26, 2024

HI @doumdi
I'm a little confused, having the same problem
where should we do this change, in the "customdefines.h" file?

@blursj Add/change the following defines L105+:

#if I2S_WIRES_ADC > 7
                PORT_I2S_ADC7,
#endif
#if I2S_WIRES_ADC > 8
#error I2S_WIRES_ADC value is too large!
#endif

add those line, but still getting "#error I2S_WIRES_ADC value is too large!" when compile

Thanks for your help

from 16soundsusb.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.