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

Search:

Type: Posts; User: gfvalvo

Page 1 of 8 1 2 3 4

Search: Search took 0.01 seconds.

  1. The answers to both of your questions are...

    The answers to both of your questions are contained in the page Paul linked above:
  2. Replies
    14
    Views
    225

    Feature Creep or poorly defined requirements from...

    Feature Creep or poorly defined requirements from the start?
  3. You could use the 'AudioPlayQueue' class or...

    You could use the 'AudioPlayQueue' class or implement your envelope detector as a Audio Library class.
  4. Looks like you're right. Too bad the I2S write-up...

    Looks like you're right. Too bad the I2S write-up in the BM23 datasheet is so poor and uses non-standard signal names.
  5. Replies
    11
    Views
    127

    That's interesting, according to the Datasheet...

    That's interesting, according to the Datasheet it does. It's referred to as "System Clock" on Page 11.
  6. Replies
    11
    Views
    127

    Based on devices I've looked at with I2S (and...

    Based on devices I've looked at with I2S (and similar) interfaces, I'm going to guess that the frame size is actually 32 bits and only the upper 24 bits contain valid data. Your best bet is to put a...
  7. Replies
    11
    Views
    127

    Please post a link to the MV8800's I2S...

    Please post a link to the MV8800's I2S documentation.
  8. Might be easiest to just statically allocate all...

    Might be easiest to just statically allocate all the DMAMEM for the largest LED count you're going to need. Then just create the OctoWS2811 object and tell it the ledsPerPin count. It will use as...
  9. At best, this: DMAMEM int *displayMemory;...

    At best, this:

    DMAMEM int *displayMemory;
    would just give you a pointer variable in the DMAMEM area. When you dynamically allocate the memory, it may or may not be located in the DMAMEM area....
  10. The mode is controlled by configuration of the...

    The mode is controlled by configuration of the device, the proper connections to use follow from that. Master mode would be required if you're using a DAC that only supports slave mode.


    I'd use...
  11. I'm not a fan of that particular microphone as it...

    I'm not a fan of that particular microphone as it violates the I2S timing specifications. See: https://forum.pjrc.com/threads/47010-I2S-Microphone-(SPH0645LM4H-B)
    Instead, I'd go with something from...
  12. Replies
    6
    Views
    152

    You seem to be trying to solve a non-existent...

    You seem to be trying to solve a non-existent problem. Why don't you just use a Mixer block? That's what it's for.
  13. Replies
    3
    Views
    190

    Thanks for the recommendations. At work we by the...

    Thanks for the recommendations. At work we by the high-end Keysight units without thinking twice about it. Guess I've gotten spoiled. Good to know what to look for when I'm spending my own money.
  14. Replies
    3
    Views
    190

    Recommendation for PC-based O-scope

    Hi all. So, the specs for this Hantek unit on Amazon seem reasonable for my use case. And, it's about the price point I'm willing to pay. There are few negative comments about the software / driver...
  15. Replies
    10
    Views
    244

    Last I looked at it, the AudioEffectGranular...

    Last I looked at it, the AudioEffectGranular class only worked with internal RAM, not external SPI RAM. So, you'll need to code that if you want large sample buffers. You'll need to be careful to...
  16. For me, the best way to learn this info was to...

    For me, the best way to learn this info was to dig into the source code of existing Audio Library classes. I had a need to develop custom versions of the I2S and DAC classes. Worked my way through it...
  17. I think the trouble is that the only...

    I think the trouble is that the only synchronization timing available to you is the 128-sample Audio Library refresh period (~2.9 ms). The actual transmission of the individual samples through I2S,...
  18. Replies
    5
    Views
    213

    @WMXZ, Yes, that's the sequence I mentioned in...

    @WMXZ,

    Yes, that's the sequence I mentioned in my original post. NVIC_TRIGGER_IRQ, NVIC_SET_PENDING, and setting the NVIC_STIR register all do essentially the same thing.

    But, as I mentioned,...
  19. Replies
    5
    Views
    213

    Won't work for my application. I have found a...

    Won't work for my application. I have found a work-around. But, it would be interesting for my own edification to find out if it's possible.
  20. Replies
    5
    Views
    213

    Trigger ISR via Software

    Hi all.

    I have a need to trigger via software the ISR I've attached to fire on the Rising edge of a T3.6 GPIO pin. Essentially, trick it into thinking that the edge occurred on the external...
  21. Replies
    26
    Views
    738

    I don't understand what that means given the...

    I don't understand what that means given the device tops out with a data rate of "5 KHz" per the datasheet. I assume that means 5 Ksamples / second.
  22. Replies
    32
    Views
    732

    That's literally taking a slow boat from China....

    That's literally taking a slow boat from China. May they arrive Coronavirus-free :D
  23. You are incorrectly applying the aliasing concept...

    You are incorrectly applying the aliasing concept to this situation.

    The sampling rate of the Audio Library is ~44 KHz. Imagine that every sampling period you sent bits from the sequence...
  24. Replies
    32
    Views
    732

    And, it seems like every manufacturer that makes...

    And, it seems like every manufacturer that makes an I2S device puts that same picture in their datasheet, many times with no further explanation. It would be so much easier if they just put in...
  25. Yup, once the master pulls the samples from the...

    Yup, once the master pulls the samples from the slave via SPI (every ~2.9 ms), it shoves them into an AudioPlayQueue. That is the FIFO on the master's end, allowing the samples to be sent to the...
  26. Yes, but the Master may not be able to pick a...

    Yes, but the Master may not be able to pick a rate that's close either. Like I said, divider choices are limited. That's solved the synchronization / FIFO technique I proposed. With a FIFO the read...
  27. Correct. I don't consider it a proper design...

    Correct. I don't consider it a proper design unless all the sample rates are exactly frequency-synchronous. You also have an issue in that there's not a great deal of flexibility in setting the SPI...
  28. Replies
    32
    Views
    732

    As I stated above, the PCM1802 will likely work...

    As I stated above, the PCM1802 will likely work with the T3.6 and Audio Library. RTFM.
  29. You can use a port input pin. For T3.5, you can...

    You can use a port input pin. For T3.5, you can find the DMA MUX request sources in Section 3.3.9.1 of the MK64FX512 Manual
  30. @d33k, So, at that data rate (remember 16 bits...

    @d33k,

    So, at that data rate (remember 16 bits each for Left & Right samples) your best choices are I2S or SPI. If you chose the former, you could sync the T3.6's audio sample rate to the source...
  31. That doesn't seem too onerous. The other...

    That doesn't seem too onerous.

    The other option would be run it through an amp block whose gain you change from 1 to 0 to shut down the output.
  32. I donít understand how aliasing would be an issue...

    I donít understand how aliasing would be an issue here. That seems more like an ADC sampling problem. Here weíre pushing data out of the DAC. Since the DAC has finite bandwidth, it may not faithfully...
  33. Why not? Seems like this should work too: ...

    Why not? Seems like this should work too:

    #include "Arduino.h"
    #include <Audio.h>

    AudioSynthWaveform sine;
    AudioSynthWaveform square;
    AudioOutputAnalogStereo dacs1;
    AudioConnection...
  34. Thinking about it some more, a MUCH simpler...

    Thinking about it some more, a MUCH simpler solution would be to use one AudioSynthWaveform object to generate the sine wave and another one to generate the square wave the same frequency but with a...
  35. I don't see an easy way to do this. About all I...

    I don't see an easy way to do this. About all I can come up with is to create a new Audio Library class to generate the sine wave (copy AudioSynthWaveform and get rid of everything but sine) and...
  36. Maybe reserve more AudioMemory?

    Maybe reserve more AudioMemory?
  37. Replies
    32
    Views
    732

    Correction: "That doesn't mean BCK has to equal...

    Correction:
    "That doesn't mean BCK has to equal 48 * Fs."
  38. Replies
    32
    Views
    732

    Read the PCM1802 datasheet again. 24 bits is the...

    Read the PCM1802 datasheet again. 24 bits is the resolution of the L & R auto samples. That doesn't mean BCK has to equal 24 * Fs. Sections 7.4.3 and 7.4.4 (master and slave modes respectively) both...
  39. Replies
    8
    Views
    362

    Since the audio nodes are regular C++ classes,...

    Since the audio nodes are regular C++ classes, you can instantiate them dynamically using the standard C++ technique (i.e. 'new'). Then, create the links between them.
  40. Replies
    26
    Views
    738

    I hate when I reread my posts, find errors, and...

    I hate when I reread my posts, find errors, and the window has closed on being able to edit it:
  41. Replies
    26
    Views
    738

    I didn't say that the input/output sampling needs...

    I didn't say that the input/output sampling needs to be Phase synchronous. As you stated, that's easily handled with a FIFO buffer. But, the sampling rate at the input (i.e. from the I2C device) must...
  42. Replies
    26
    Views
    738

    It's still unclear to me how this is going to...

    It's still unclear to me how this is going to work. The clocking and update period of the Audio library's objects is ~44.1 KSamples/s. In this instance that period is set by the AudioOutputI2S object...
  43. I'd be careful of the products explicitly...

    I'd be careful of the products explicitly targeted to Raspberry. This one looked really good for my application: https://www.hifiberry.com/shop/boards/hifiberry-amp2/
    But it requires their Linux...
  44. Replies
    5
    Views
    421

    I've used this board for TOSLINK in and out. It...

    I've used this board for TOSLINK in and out. It does TOSLINK <--> I2S conversion for you. So, it interfaces to the Teensy using I2S....
  45. Replies
    0
    Views
    67

    Implementing I2C Slave on T3.2

    Hi All.

    Got question about implementing an I2C slave on T3.2. One common I2C technique is for the master to start a Read transaction and then proceed to read an arbitrary number of bytes from the...
  46. Replies
    0
    Views
    105

    Switch I2S Timing Source on the Fly

    Hi All.

    I have a need in my project to periodically switch the timing source (on the fly) of the I2S Tx from an externally supplied MCLK to the internal one generated by Fractional Clock Divider...
  47. Replies
    8
    Views
    401

    Here's what I found and ordered:...

    Here's what I found and ordered: http://store.sure-electronics.com/product/AA-AB32255. It looks promising. The TI chip appears capable but quite complex. It has significant Audio DSP abilities that...
  48. Replies
    8
    Views
    401

    So have I. But, it has analog inputs. I'm looking...

    So have I. But, it has analog inputs. I'm looking for I2S.
  49. Replies
    8
    Views
    401

    I already have that. Now I'm looking for an...

    I already have that. Now I'm looking for an integrated, digital-to-the-final-chip solution.


    Already thought of that. But, fabbing the PWB and buying the BoM for a onesie-twosie production run...
  50. Replies
    8
    Views
    401

    It does, just as I mentioned. * There's no...

    It does, just as I mentioned.


    * There's no "buy" button on the web site I linked.

    * I've entered an RFQ on the web site --- no reply.

    * I've sent multiple emails to their "Customer...
Results 1 to 50 of 365
Page 1 of 8 1 2 3 4