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. Can you clarify what you mean here - if you wire...

    Can you clarify what you mean here - if you wire a pin to ground it is by definition at 0V. Perhaps you are not wiring the pin at all, or not to ground, or not measuring relative to ground? Is your...
  2. Thread: Teensy 5 release

    by MarkT
    Replies
    4
    Views
    225

    Seen this thread?...

    Seen this thread? https://forum.pjrc.com/threads/57842-Future-Teensy-features-amp-pinout?highlight=next+teensy
  3. Replies
    5
    Views
    93

    74HCT4051, 74HCT4053, 74HCT4066, 74HCT4067, many...

    74HCT4051, 74HCT4053, 74HCT4066, 74HCT4067, many others exist, "CMOS analog switch chip" is a good search term. A key specification is the on-resistance for analog switches which can be quite high...
  4. Replies
    5
    Views
    131

    Can you show how you've wired this up? The T4.x...

    Can you show how you've wired this up? The T4.x is not 5V tolerant for instance and so you have to be careful how you apply voltages to the level converters in the Adafruit breakout.

    [ I2C = IIC...
  5. Replies
    5
    Views
    93

    That's not a range... If I can assume the...

    That's not a range...

    If I can assume the voltage is in the 0..5V range then 74HCTxx series CMOS analog switches might be a good choice.
    If the voltage could be negative you'd need to find analog...
  6. Replies
    5
    Views
    93

    You would use an analog switch chip to do that. ...

    You would use an analog switch chip to do that. What voltage range are we talking about?
  7. Replies
    2
    Views
    123

    You have a level shifter from 3.3V to 5V logic?

    You have a level shifter from 3.3V to 5V logic?
  8. Just a quick thought: Many devices that support...

    Just a quick thought:
    Many devices that support both I2C and SPI on the same pins cannot be shared as SPI - these chips respond to clocks even when CS is HIGH/inactive,
    since CS high means "I2C...
  9. This is a good resource IIRC:...

    This is a good resource IIRC: https://www.maximintegrated.com/en/design/technical-documents/tutorials/5/5450.html
  10. Replies
    8
    Views
    295

    Note that it took Einstein to sort this all out,...

    Note that it took Einstein to sort this all out, so its definitely an understandable mistake :)
  11. Yes the clocks are bussed - typically driven by...

    Yes the clocks are bussed - typically driven by the Teensy. Only the data in and out lines are kept separate in I2S, and each dataline carries 2 channels in one
    direction, so for instance the...
  12. Replies
    8
    Views
    295

    Last time I checked the ISS was in free-fall...

    Last time I checked the ISS was in free-fall...
  13. The whole audio library runs at one rate,...

    The whole audio library runs at one rate, determined by the first component initialized that uses clocking typically, such as i2s input or output.

    The interfaces for pulling samples in and out by...
  14. Merge would be AudioMixer4, crossover filtering a...

    Merge would be AudioMixer4, crossover filtering a couple of instances of AudioFilterBiquad, using Linkwitz/Riley 4th order perhaps?
    Many online filter design tools are available that will take a...
  15. Replies
    3
    Views
    223

    At 60MSPS a T4 has 10 clock cycles per sample, so...

    At 60MSPS a T4 has 10 clock cycles per sample, so no, I don't think that can fly even if you can pump the data into the processor
    via DMA (the IO clock is much slower than the processor clock,...
  16. Replies
    2
    Views
    171

    &LocalPointer is the address of the local...

    &LocalPointer is the address of the local variable LocalPointer on the stack (and has type int32_t**). Nothing to do with the value it is holding,
    which it the pointer you want to print.


    ...
  17. Replies
    6
    Views
    247

    My worry would be what's protecting the pins when...

    My worry would be what's protecting the pins when the Teensy's powered down? That would imply protection circuitry is needed anyway,
    rather than a software solution. Interference strong enough to...
  18. Replies
    5
    Views
    299

    I can confirm the rev D audio adapter only uses...

    I can confirm the rev D audio adapter only uses pins 6,7,8,10,11,12,13,15,18,19,20,21,23, GND and 3V3 as per the
    pinout table and schematic given in the docs:...
  19. Its MIDI packet type 0xF0, the MIDI clock, sent...

    Its MIDI packet type 0xF0, the MIDI clock, sent 24 times per quarter-note. Used for synchronization, presumably your MIDI source has this enabled. This is typically used if the source is something...
  20. I measure on the T4.0 (albeit with a fairly crude...

    I measure on the T4.0 (albeit with a fairly crude USB current sensor I made):



    freq aud-adapt current
    24 no 60mA
    24 yes 70mA - not using adapter
    150 no 80mA...
  21. Replies
    3
    Views
    190

    No prototype board is complete without a few...

    No prototype board is complete without a few bodges like this(!)
    I significantly reduced my error rate with PCBs by introducing a rule that I never submitted a PCB design to manufacturer
    the same...
  22. Mice use encoders, not accelerometers - (that's a...

    Mice use encoders, not accelerometers - (that's a Wii controller!). Scroll wheels are deliberately coarse
    in my experience as nominally each click is intended to jump one line of text, not a pixel....
  23. Replies
    8
    Views
    295

    g "little-g" is the acceleration due to local...

    g "little-g" is the acceleration due to local gravity, and is about 9.8m/(s^2) on the Earth's surface - its not a precisely defined value,
    but then MEMS accelerometers are very rough-and-ready...
  24. Those current values are as expected with the...

    Those current values are as expected with the current libraries.

    Power optimization is on the list I believe, but Paul has many other more pressing issues on the list IIRC. The iMXRT1062
    is a...
  25. Replies
    5
    Views
    296

    I2C lines are dark purple on the Teensy pinout...

    I2C lines are dark purple on the Teensy pinout card. 18,19,16,17,24,25 depending on which I2C peripheral you choose.

    The MCP23017 chip on that shield will not interwork with 3.3V if powered from...
  26. quit and relaunch?

    quit and relaunch?
  27. You've no actual errors in that snippet - please...

    You've no actual errors in that snippet - please post the entire verbose compiler output.
  28. Replies
    3
    Views
    190

    SCLK? Do you mean SCK on the teensy pinout card?...

    SCLK? Do you mean SCK on the teensy pinout card? That's an SPI signal, not I2S. I2S clocks are MCLK/BCLK/LRCLK.

    Unfortunately the I2S peripheral (aka SAI1) doesn't work like that, its...
  29. With I2C the bus signals are shared and...

    With I2C the bus signals are shared and bidirectional, and the MCP4725 requires logic HIGH signals to be > 0.7Vcc (3.5V if powered from 5V).
    Thus you'll need bidirectional level shifter for the I2C...
  30. Replies
    22
    Views
    472

    As I understand it laser controllers need...

    As I understand it laser controllers need DC-coupled signals, so you need to be aware some audio DACs and CODECs
    have in-built high-pass filters designed to remove DC offsets, though typically these...
  31. Replies
    2
    Views
    207

    You don't have pull-up resistors on the 6N138...

    You don't have pull-up resistors on the 6N138 outputs. Something like 2k2 to 4k7 is recommended I believe.

    Anyway there may be issues with the 6N138 and 3.3V operation, see here:...
  32. One does the driving, the other does the reading,...

    One does the driving, the other does the reading, you control the output-enable to select direction. They are the level converters,
    that's the point of using those particular families for each chip.
  33. Talking to bussed signals at 5V from a 3.3V only...

    Talking to bussed signals at 5V from a 3.3V only microcontroller is possibly a problem someone designed a chip for (haven't searched myself)

    However you can definitely combine logic families to...
  34. Replies
    8
    Views
    382

    So not fast signals. clock >---- 1k...

    So not fast signals.



    clock >---- 1k ----+-----> teensy pin
    |
    |
    2k
    |
    GND
  35. Replies
    2
    Views
    251

    Perhaps add a high-pass filter before the peak...

    Perhaps add a high-pass filter before the peak detect so that DC offsets are ignored.
  36. Replies
    5
    Views
    556

    Yes, digital signal processing is done at a fixed...

    Yes, digital signal processing is done at a fixed sample rate - you have a problem of waveform generation I think, which is not that different from
    audio synthesis. I'd suggest learning about...
  37. One problem is you are not using second order...

    One problem is you are not using second order sections (SOS) so the filter is basically numerically unstable due to the high degree polynomial used.

    Direct form realization is not normally used...
  38. Replies
    5
    Views
    556

    512 waveforms at 44.1kSPS is 22.6 million points...

    512 waveforms at 44.1kSPS is 22.6 million points per second.
    24 waveforms at 44.1kSPS is only 1.06 million points per second.

    You appear to have calculated 1024 x 1000 x 24, which makes no sense....
  39. Replies
    8
    Views
    382

    emulating the CMOS circuit doesn't do level...

    emulating the CMOS circuit doesn't do level shifting, it just provides extra protection for the destination chip.
    The source of the clock signal will be operating at high currents outside its...
  40. Can you post the actual code involved?

    Can you post the actual code involved?
  41. Replies
    8
    Views
    382

    That diagram is not a solution, its the internal...

    That diagram is not a solution, its the internal circuitry of any CMOS logic input - the diodes are part of the static electricity
    protection in the pad for that pin, they are very tiny and not able...
  42. Replies
    2
    Views
    392

    You effectively have two parallel boards with...

    You effectively have two parallel boards with ground planes, so this is like stitching groundplanes together, connect at as many
    points as possible to allow ground-return paths for signals to route...
  43. So almost certainly not a knock-off. Certainly...

    So almost certainly not a knock-off. Certainly looks damaged from that output. Poor QC?
  44. Where did you get the PT8211?

    Where did you get the PT8211?
  45. Any processing involving Fourier transforms will...

    Any processing involving Fourier transforms will require processing in blocks anyway (such as fast convolution
    or spectral analysis).

    Its general there is a balancing act between throughput and...
  46. I'm pretty sure its specific to the particular...

    I'm pretty sure its specific to the particular microcontrollers used in T3's and T4's as all the I/O stuff uses DMA hardware directly
    on those processors (so its specific to the actual processor or...
  47. For microphones you can't just use an ADC, you...

    For microphones you can't just use an ADC, you need a preamp first, microphone signals are measured in microvolts and millivolts and
    low noise circuitry is a requirement before any digital...
  48. Replies
    96
    Views
    2,643

    A driver that handles 4.5V to 18V has to use...

    A driver that handles 4.5V to 18V has to use thicker gate oxide in its output devices than one rated for 3V upto 8V, for instance.
    Thicker gate oxide means higher thresholds and plateaus, and more...
  49. Perhaps that's a private track, not visible on...

    Perhaps that's a private track, not visible on the site to me.

    The microphone input is for an electret capsule. Don't expect performance from it, the SGTL5000 is a
    budget mobile phone / mp3...
  50. Those appear to be common cathode. Those need...

    Those appear to be common cathode. Those need high side drivers which is more complex when voltages are
    different.

    With common anode you could have driven them with 16 channel constant current...
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4