Forum Rule: Always post complete source code & details to reproduce any issue!

Search:

Type: Posts; User: palmerr

Page 1 of 2 1 2

Search: Search took 0.00 seconds.

  1. Replies
    10
    Views
    158

    Bob Fascinating. The harmonic frequencies of...

    Bob

    Fascinating. The harmonic frequencies of the artefact are close, but not identical for both interfaces, and the SGTL is only showing odd harmonics!

    Some thoughts (I suspect you have already...
  2. Replies
    10
    Views
    158

    Bob, What are you driving the input with? The...

    Bob,

    What are you driving the input with? The 47ohm needs to be added to its source impedance to get a true value of the driving Z.

    Other things to look out for - is the offset/reference...
  3. Replies
    10
    Views
    158

    Yes, I've seen similar effects in the CS42448...

    Yes, I've seen similar effects in the CS42448 board I'm building.

    Distortion sets in quite heavily well before the theoretical maximum. Interestingly, the bottom of the waveform flattens first. It...
  4. Replies
    23
    Views
    742

    OK, using the analog filter approach, you'll need...

    OK, using the analog filter approach, you'll need to consider the characteristics of the ADCs in your overall design.

    If these 2 pole filters make sense, with the other other band shaping you are...
  5. Replies
    23
    Views
    742

    OK, I thought that you were going to use some...

    OK, I thought that you were going to use some analog filters to separate bass/mid/treble and then multiplex them into the ADC. The 2nd order filters here won't be needed if your other filters are...
  6. Replies
    23
    Views
    742

    To discuss yesterday's question: If you have...

    To discuss yesterday's question:

    If you have not offset the voltage presented to the Teensy by around half the available measurement window (resistor bridge for bias, say 2 x 100k ohms from supply...
  7. Replies
    33
    Views
    869

    Thanks for the files and explanations. I'll...

    Thanks for the files and explanations.

    I'll dig through my code and yours and see if I can find the bug(s). It may not be the same thing causing both issues - despite them having similar symptoms...
  8. Replies
    7
    Views
    209

    Yes, that's the kind of thing I was suggesting,...

    Yes, that's the kind of thing I was suggesting, and at a good price.

    I'm not a big fan of TDFN packages - a really tiny footprint, narrow pad spacing and no pins out the side.

    Beware, TDFN...
  9. Replies
    33
    Views
    869

    I'm having all kinds of pain running the Audio...

    I'm having all kinds of pain running the Audio Shield with Ethernet at the moment (T4, rev D Audio Shield). Ethernet's working on its own with the AudioShield in place and un-enabled; as is the...
  10. Replies
    23
    Views
    742

    You could do that, or you could set up a timer...

    You could do that, or you could set up a timer interrupt to set the ADC chip converting, which would give you an even time between samples. The way you are proposing to attack it could have quite...
  11. Replies
    33
    Views
    869

    A small gain in processing power, and yes it...

    A small gain in processing power, and yes it nearly halves the bandwidth (each packet has an overhead).

    It's in my longer ToDo list - it is not difficult, but involves a lot of fiddly work,...
  12. Replies
    7
    Views
    209

    I2C is also a good option for PGAs, and there are...

    I2C is also a good option for PGAs, and there are a good number of programmable pots available that can provide the same outcome. Lots of manufacturers (TI, MAXIM, Microchip, etc) all have...
  13. Replies
    5
    Views
    226

    Yes. Have you made it public?

    Yes. Have you made it public?
  14. Replies
    33
    Views
    869

    Every piece of hardware has a single Control...

    Every piece of hardware has a single Control object - so yes an AudioControlEtherNet control AND a AudioControlSGTL5000.

    Audio input and output for the SGTL is handled by input_i2s / output_i2s...
  15. Replies
    33
    Views
    869

    Thanks for the diagnostic, it's good to know...

    Thanks for the diagnostic, it's good to know exactly where the pain is. It doesn't immediately indicate what the issue is, unless these are the first write register commands in SGTL...enable().
    ...
  16. Replies
    33
    Views
    869

    Yes, I'm having trouble with the SGTL5000 control...

    Yes, I'm having trouble with the SGTL5000 control as well when used with ethernet.

    It's my top priority after getting a reliable way to change SPI pins that works for both T3 & T4.
  17. Replies
    33
    Views
    869

    OK, good news! I'm having all kinds of pain...

    OK, good news!

    I'm having all kinds of pain with SPI pin setting as well - it's a bit hit-and-miss, and is high on my list of TODOs - as it's contributing to the issue with the SGTL5000 board...
  18. Replies
    33
    Views
    869

    To answer the "how does it all work together?"...

    To answer the "how does it all work together?" question first...

    ControlEthernet and its two objects inputNet and outputNet work as a set. Control looks after all the plumbing and manages input...
  19. Replies
    5
    Views
    226

    Very nice! I'm sure the Eurorackers amongst...

    Very nice!

    I'm sure the Eurorackers amongst the Teensy audio crowd will find it very useful.
  20. Replies
    23
    Views
    742

    Good to hear. As for AnalogRead() at 1Msps,...

    Good to hear.

    As for AnalogRead() at 1Msps, the hardware is capable, but I'm not sure whether you'll get there with the software overheads. You also have two ADCs available on most Teensys from...
  21. Replies
    33
    Views
    869

    Looks like you're 90% of the way to success....

    Looks like you're 90% of the way to success. You've got the hardware up and running and the Ethernet cable is registering as connected.

    What I suspect is happening is that nothing is triggering...
  22. Replies
    33
    Views
    869

    To answer some of your earlier questions: ...

    To answer some of your earlier questions:

    Ethernet inherits from AudioStream and AudioControl, rather than delegating - but in essence, yes to your question.

    Yes it has been tested, but I'm...
  23. Replies
    33
    Views
    869

    I've updated the repo...

    I've updated the repo https://github.com/palmerr23/EtherAudio to make using the Ethernet audio library easier with new releases of Teensyduino and the Audio Library.
  24. If the 2.9mS buffer rate is good enough for you...

    If the 2.9mS buffer rate is good enough for you as a basic heartbeat, then it is really easy to hook into one of the interrupts to create a global variable that toggles on/off, or counts.

    Just...
  25. Replies
    4
    Views
    201

    FYI, the version I have posted works well on...

    FYI, the version I have posted works well on Teensyduino 1.49 but I can't guarantee perfect operation under later releases - particularly with the, T4 as Paul and a few others have been very busy...
  26. Replies
    33
    Views
    869

    Your wish is my command. (Forgot to upload it.)

    Your wish is my command. (Forgot to upload it.)
  27. Replies
    23
    Views
    742

    Yes, you could replicate the audio board onto...

    Yes, you could replicate the audio board onto yours - see the links in my last posting. You don't need the extra components for SD card or flash RAM, just those associated with the SGTL 5000.
    ...
  28. Here are the schematics as promised - the max PDF...

    Here are the schematics as promised - the max PDF is 1.43MB so three files!

    19266

    19267

    19268
  29. To answer my own question - the CS5361/5381 seem...

    To answer my own question - the CS5361/5381 seem to be candidates - with no others at reasonable cost and in reasonably small packages (TSSOP 24 or less) from other manufacturers.

    I'm not sure if...
  30. Replies
    23
    Views
    742

    There is a good audio CODEC shield for Teensy...

    There is a good audio CODEC shield for Teensy that samples two channels in/out at 44.1k / 16 bits, and much more suitable for audio than the on-chip ADCs and DACs....
  31. Yeah, that could be an idea. Board...

    Yeah, that could be an idea.

    Board real-estate is very tight with the extra chip on board (and I'm trying to keep within the Eurorack limits), but I'll see if I can fit the extra pins &...
  32. Test approach: Focusrite Saffire Pro as test...

    Test approach:

    Focusrite Saffire Pro as test set (> 105dB S/N; < .01% dist in loopback test.)
    RightMark
    1.8v p-p signal (-3.8 dB from clipping - so I could claim another 4dB S/N)
    One...
  33. I've finally got the prototype PCBs back and...

    I've finally got the prototype PCBs back and loaded, and the initial results are not too bad: 80dB S/N and .0058% THD.

    With some rerouting of MCLK (shortening its path and moving it further away...
  34. Excellent! Now you have the electronics...

    Excellent!

    Now you have the electronics working the fun can really begin.
  35. Replies
    6
    Views
    282

    An additional option is to use MEMS microphones...

    An additional option is to use MEMS microphones which often communicate directly via I2S or SPI.

    There's a good description in this document...
  36. Steer away from tie clip microphones - they...

    Steer away from tie clip microphones - they usually have filters embedded to reject wind and handling noise, and have characteristics optimised for voice.

    In other respects, going for a battery...
  37. Replies
    1
    Views
    157

    Hi, I have ADAT gear and took a look at this a...

    Hi,

    I have ADAT gear and took a look at this a while ago. Output of ADAT turns out to be far simpler than input.

    Output starts be NRZI coding the data stream, which is a well documented...
  38. Replies
    6
    Views
    185

    A quick look at the SGTL data sheet (p30)...

    A quick look at the SGTL data sheet (p30) suggests that most, ifg not all of the enable/disable functions can be found in the CHIP_DIG_POWER register (0x0002).

    Simply set bits 0,1, 4,5,6 to zero. ...
  39. Replies
    166
    Views
    91,084

    Yes, moving to I2S2 might be a good idea - though...

    Yes, moving to I2S2 might be a good idea - though I'm not sure how much editing of the library routines might be required.

    Using the 6/8 channel board and TDM could produce the same result as...
  40. Replies
    166
    Views
    91,084

    Good to see the features we discussed in the...

    Good to see the features we discussed in the other (8 channel thread) being built into this 2 channel project.

    I'm based in Australia and OSH doesn't make much sense here either.

    I've been...
  41. Thread: Bat detector

    by palmerr
    Replies
    548
    Views
    47,028

    Hi, This invitation came in my email this...

    Hi,

    This invitation came in my email this morning, and I thought that they may be dealing with some issues similar to your bat detector.
    ...
  42. Just a thought... If you do have problems with...

    Just a thought... If you do have problems with crosstalk, try a piece of tinfoil to go in the gap, laminated with a copper wire (bad metallurgy there, so keep it dry!) stretched across it and...
  43. Replies
    9
    Views
    348

    Great that you have found a key to your puzzle. ...

    Great that you have found a key to your puzzle.

    I'm surprised to learn that a C0G produced that kind of response, though I might have expected it from a standard MLCC. All the available info...
  44. Replies
    9
    Views
    348

    Sounds like you're getting close to a good place...

    Sounds like you're getting close to a good place with the filters.

    My Focusrite shares the same characteristics - moderate input output impedances & HP filters - and I've been caught before.
    ...
  45. Replies
    9
    Views
    348

    Here's my board layout for the CS42448 and the...

    Here's my board layout for the CS42448 and the bottom copper - you can see a U shaped audio groundplane, with the digital one under the Teensy and reaching down under the chip. The two groundplanes...
  46. Replies
    9
    Views
    348

    Sorry about the misunderstanding. Assuming the...

    Sorry about the misunderstanding.

    Assuming the vias are going to a ground plane, the input and output layouts look OK.

    What's the impedance of your source? It will add to the 150 ohms on the...
  47. Replies
    9
    Views
    348

    I'm also working on a CS42448 board, however I've...

    I'm also working on a CS42448 board, however I've moved away from providing active input and output filters on the main board, due to parts count. Each 2 pole filter has around 9 components plus the...
  48. We'll be keen to see how it goes!

    We'll be keen to see how it goes!
  49. Many thanks. BCLK fixed now. Will republish...

    Many thanks. BCLK fixed now.

    Will republish in a few days after others have had a chance to comment.

    Hope to send of the boards for a prototype (board only) run for completion before Lunar New...
  50. I felt bad about saying the jumpers for T3 / T4...

    I felt bad about saying the jumpers for T3 / T4 could be a later addition.

    Updated schematics and layout attached, with T3/4 jumpers included.

    Please check my pinouts for both T3 & T4.
Results 1 to 50 of 97
Page 1 of 2 1 2