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

Search:

Type: Posts; User: MarkT

Page 1 of 10 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    22
    Views
    1,457

    pdm2 is also documented in the aforementioned...

    pdm2 is also documented in the aforementioned beta branch... clk=4, data=5
  2. You can reduce the value of the resistors if the...

    You can reduce the value of the resistors if the TVS diode has a low enough effective resistance - a divider is formed.
    So chunkier TVS will allow smaller resistors - assuming I understand the app...
  3. Then force the _VARIANT_METRO_M4 to be defined...

    Then force the _VARIANT_METRO_M4 to be defined in the compiler preferences for that board?
  4. Replies
    18
    Views
    233

    lowest sample rate involved - each sampling...

    lowest sample rate involved - each sampling spawns repeated copies of the spectrum above its Nyquist, you
    want to ignore all of these!

    However only the ADC sampling stage requires a hardware...
  5. Replies
    22
    Views
    1,457

    For T4.x its clk=21, data=8, as documented in the...

    For T4.x its clk=21, data=8, as documented in the version of the audio design tool in the beta version.
    (gui/index.html relative to the Audio library root).
  6. Clipping? Did you normalize the coefficients...

    Clipping?

    Did you normalize the coefficients and scale them to signed 16 bit? If your filter has any gain you need to ensure you reduce
    the values to prevent clipping for signals at the peak...
  7. Thread: Firmware quality

    by MarkT
    Replies
    8
    Views
    300

    Did you run lint?

    Did you run lint?
  8. Replies
    5
    Views
    78

    Use high value resistors in the divider so...

    Use high value resistors in the divider so current is limited? 100k or so ought to be benign. A few nF of capacitance might be
    needed to eliminate noise pickup, note.

    The sure-fire approach is...
  9. Replies
    5
    Views
    102

    Probably still has most of its capacitance -...

    Probably still has most of its capacitance - unless its actually shorted I'd leave it as is. These caps
    are a stack of parallel plates, losing some of the plates just reduces the capacitance. ...
  10. Replies
    18
    Views
    233

    There is some driving circuitry suggested for the...

    There is some driving circuitry suggested for the AD8885 ADC (high speed SAR 18 bit) in its datasheet,
    using an OPA350 opamps and 10 ohm resistors:
    https://www.ti.com/lit/ds/symlink/ads8885.pdf
    ...
  11. Replies
    18
    Views
    233

    Well for the T4 you'd be looking for a true...

    Well for the T4 you'd be looking for a true rail-to-rail input & output opamp capable of running at 3.3V supply,
    so that it can't damage the T4. Other than that nothing special for a low...
  12. You could use the same system, but have some...

    You could use the same system, but have some objects that treat the audio blocks as arrays of float
    rather than int16_t. You'd need two blocks per stream as sizeof(float) = 4 and sizeof(int16_t) =...
  13. If you connect a capacitor between mic and gnd...

    If you connect a capacitor between mic and gnd inputs, do you still get static?
  14. Arbitrary image rotation can be done without any...

    Arbitrary image rotation can be done without any trig, you decompose the rotation into 3 othogonal shear transforms
    and implement these shears directly on the pixel data, snapping to the nearest...
  15. Replies
    17
    Views
    290

    One capable of being powered from +/-12V, and...

    One capable of being powered from +/-12V, and which can swing to within 2V of the rails. Precision might be important
    since you'll have a gain of 17 or so, each 1mV of input offset translates to...
  16. Replies
    2
    Views
    127

    Yes, you can configure a AudioFilterBiquad as...

    Yes, you can configure a AudioFilterBiquad as three 1st-order sections for the 3 poles/zeros needed - you'd
    use setCoefficients explicitly.

    The RIAA curve has a lot of attenuation at high...
  17. Replies
    4
    Views
    106

    Have you tried calling the frequecy() method...

    Have you tried calling the frequecy() method after setup()?
  18. By output block you don't mean TDM output? It...

    By output block you don't mean TDM output? It would be possible to use 16 AudioRecordQueue objects (clearly not
    ideal for this situation, but certainly possible).

    The initializers for audio...
  19. Replies
    8
    Views
    303

    To understand digital PCB groundplanes, this is a...

    To understand digital PCB groundplanes, this is a good tutorial: https://www.maximintegrated.com/en/design/technical-documents/tutorials/5/5450.html
  20. Replies
    4
    Views
    126

    I wouldn't have expected a PNP to be useful for...

    I wouldn't have expected a PNP to be useful for level conversion to a higher voltage - NPN common-emitter inverter
    circuit is what's used - in other words low-side switching. Since BJTs turn on at...
  21. On the contrary a 4k7 pullup is standard for...

    On the contrary a 4k7 pullup is standard for OneWire devices. Parasitic power mode also requires the 4k7 pullup and a FET hard pullup as
    well during the conversion phase. I've used 20 DS18B20 's...
  22. Replies
    2
    Views
    163

    Normally you'd keep OE asserted, the LE is what...

    Normally you'd keep OE asserted, the LE is what clocks the data onto the latches. in normal mode
    shifting happens on every rising clock edge, and the shift register state is only copied to the...
  23. Its because its 2-times oversampled.

    Its because its 2-times oversampled.
  24. Replies
    44
    Views
    1,268

    I can't see the circuit being discussed... ...

    I can't see the circuit being discussed... Different opamps have different decoupling requirements, so
    which opamp?
  25. You are returning a pointer to a local array from...

    You are returning a pointer to a local array from inside the function via the path pointer. This is undefined, the storage for
    ldNumber is reclaimed when getLogicalDeviceNumber returns.

    I think...
  26. Replies
    4
    Views
    174

    Use schottky diodes to the (analog) rails with a...

    Use schottky diodes to the (analog) rails with a 1k series resistor in front - that will protect the CMOS protection diodes
    already inside the SGTL5000 chip (standard practice for externally...
  27. Replies
    3
    Views
    203

    You upload the wrong sketch which sets that pin...

    You upload the wrong sketch which sets that pin as an output for instance?
  28. 3.3V logic signals like SCLK/MOSI/MISO/#CS will...

    3.3V logic signals like SCLK/MOSI/MISO/#CS will be completely fine driven from any 3.3V microcontroller or any 3.3V CMOS logic family,
    logic signals are designed to interwork universally like this. ...
  29. Replies
    8
    Views
    309

    AFAICT by default the library uses interrupts (if...

    AFAICT by default the library uses interrupts (if you give it pins that support interrupts). If you look
    at the NoInterrupts example you'll see it explicitly prevents interrupts being used.
  30. Fine - although its pretty rare to damage a part...

    Fine - although its pretty rare to damage a part by overheating if you have the right equipment (ie temperature controlled).
    Its probably helpful if there's a lot of rework going on as it will be...
  31. Replies
    8
    Views
    309

    Not inside them, that's to create a critical...

    Not inside them, that's to create a critical section for communicating with the ISR from the
    rest of the program.

    You shouldn't be doing serial I/O inside an ISR, that could deadlock the...
  32. Replies
    8
    Views
    309

    Why are you disabling interrupts?

    Why are you disabling interrupts?
  33. Best not to inhale the solvent vapours then ;)

    Best not to inhale the solvent vapours then ;)
  34. Replies
    1
    Views
    157

    If its not in the datasheet, I imagine you'd have...

    If its not in the datasheet, I imagine you'd have to measure this yourself. Typically separation decreases with increasing
    frequency, but it may not be a big issue at audio frequencies.

    The...
  35. Replies
    9
    Views
    356

    I'd reiterate the avoidance of pow(), which...

    I'd reiterate the avoidance of pow(), which returns double, as you shouldn't rely on exact floating point
    behaviour.

    You need to buzz out your circuit to check for shorts between adjacent pins I...
  36. Replies
    3
    Views
    178

    Have you tried WAVEFORM_BANDLIMIT_PULSE ? Takes...

    Have you tried WAVEFORM_BANDLIMIT_PULSE ? Takes more processing power but removes aliasing artifacts.
  37. Replies
    6
    Views
    245

    Yup, found an old HEF4051B, which I think is...

    Yup, found an old HEF4051B, which I think is equivalent to CD4051B, and the on-resistance rises rapidly below
    5V supply to about 2.5k or more at 3.3V. (Sample size of 1 pin on 1 chip, note). The...
  38. Replies
    6
    Views
    245

    The more I think about it the less I like the...

    The more I think about it the less I like the idea of the CD4051 at 3.3V supply - nowhere in the datasheet does it
    give any performance data for this low a voltage, and the on-resistance for 5V...
  39. Replies
    6
    Views
    245

    Pin 22 is sandwiched between the high speed I2S...

    Pin 22 is sandwiched between the high speed I2S clock pins so will pick up some capacitive coupling - as the pots have their
    wipers held at low impedance by those caps I suspect the issue is stray...
  40. First step is get a metal enclosure or wrap you...

    First step is get a metal enclosure or wrap you existing enclosure in something conductive, and ensure your wiring is all shielded.

    http://www.thebox.myzen.co.uk/Tutorial/De-coupling.html
    ...
  41. Very nicely put together!

    Very nicely put together!
  42. Rather than '' or 'boo' which could actually be...

    Rather than '' or 'boo' which could actually be handy in some circumstances. High level languages with exception
    handling normally fix all these awkward corners by throwing an exception.
  43. Replies
    3
    Views
    237

    Yes, consider a square wave. It's spectrum...

    Yes, consider a square wave. It's spectrum technically goes on forever, all the odd harmonics (in practice
    the first few 1000 are easily powerful enough to be audible if in the range of hearing). ...
  44. I submitted a bug to the Arduino bug report...

    I submitted a bug to the Arduino bug report system about this, WString seems to have been in error like
    this for a while, but no-one noticed as most microcontrollers let you deference NULL without...
  45. Perhaps: void String::move(String &rhs) {...

    Perhaps:


    void String::move(String &rhs)
    {
    if (buffer) {
    if (capacity >= rhs.len) {
    if (rhs.buffer)
    strcpy(buffer, rhs.buffer);
    else
  46. I can confirm this - but it doesn't happen on the...

    I can confirm this - but it doesn't happen on the T3.2 despite the printing and String
    code seeming identical where it should matter.
  47. You do realize that the chip has a high speed...

    You do realize that the chip has a high speed FPU, and clocks at 600MHz? CMOS power consumption goes as

    N x f x C x V^2 where N represents the number of clocked gates (complexity), f the clock...
  48. Replies
    13
    Views
    525

    We definitely need to see your circuit to...

    We definitely need to see your circuit to investigate further.
  49. No, I very much doubt an optical mouse is...

    No, I very much doubt an optical mouse is anything like fast enough as it has to do computation on the chip
    to correlate optical image movement - and the optical image is supposed to be focussed on...
  50. Replies
    13
    Views
    525

    A separate 3.3V regulator will be needed for the...

    A separate 3.3V regulator will be needed for the LED circuit - the T4.1 has more devices on it that
    use power than the T4.0, so less is available for off-board use. One of the compromizes on a...
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4