M
Reaction score
64

Latest activity Postings About

    • M
      Another possibility is to use a programmable clock generator chip. Or a DDS tone generator like the AD9850? That's going to have more than enough precision and low jitter too.
    • M
      This is the 8080 interface? just /WR to write (command or data), just /RD to read data. D/C has to be correct too. However this chip seems to have separate address and data busses, so no D/C pin? I think the diagram that confuses is because it...
    • M
      What type of synth? Additive, subtractive or FM?
    • M
      MarkT replied to the thread Piezo Vibration help.
      Can you provide a diagram of the geometry - buzzers simply have electrodes on either side so the electric field strength is high with low voltage due to the thinness of the plate. So I don't understand the comment "The film also has to be a...
    • M
      I'd agree, randomized user ids are suspect...
    • M
      1/4" to 3.5mm adpators are available in both directions...
    • M
      This is a cross-post, see thread: https://forum.pjrc.com/index.php?threads/uart-logic-level.75766/
    • M
      MarkT replied to the thread UART logic level.
      Are you needing duplex serial or only simplex? There are some chips that can do 1.8V->3.3V level translation, but maybe someone does a module that can level shift in both directions 1.8V <-> 3.3V these days? Perhaps some of the 3.3V <-> 5V also...
    • M
      MarkT replied to the thread ws2812 multiple strips, one signal.
      Whoops, I meant HCT in fact, sorry about that.
    • M
      The sensitivity pattern of a microphone is due the the mechanical design mainly. Some condener mics are actually two diaphragms back-to-back that can be switch-selected to add or cancel to provide several different patterns.
    • M
      MarkT replied to the thread ws2812 multiple strips, one signal.
      If you use a 74HC14 to buffer the signal, feed it to one inverter, then use that to drive the 5 others in parallel (net result no inversion and very strong 5V output drive). [ The 74HC family is powered from 5V but its inputs work with TTL...
    • M
      Baudrate, parity, stop bits all match? You have ground return?
    • M
      Perhaps go back to basics with the FIR filter example?
    • M
      MarkT replied to the thread Synchronizing teensies (again).
      Ironically this would be so much simpler using analog microphones wired to a central logger...
    • M
      MarkT replied to the thread Synchronizing teensies (again).
      The different Teensy's will be clocking at slightly different rates as well, since there is variability in crystals. Why not synchronize by injecting a small short electrical pulse into the microphone analog signal simultaneously for each of...
    • M
      Its the CMOS power consumption equation, P = nfCV^2, where n is the number of signals, f is the frequency they change at, C is the capacitance per signal, V is the supply voltage. So 8 signals at 100MHz driving 20pF at 3.3V must dissipate at...
    • M
      Which makes perfect sense when you realize the low impedance headphone amp will take significant current from the supplies under load, imposing a current signal on them. The resistance of the bond-wires and on-chip power distribution...
    • M
      MarkT replied to the thread Pyro channel circuit validation.
      Surely the kick-back suppression (free-wheel) diode doesn't need to be a fast one. All diodes switch _on_ before the forward voltage reaches even 10's of volts - you're not going to see destructive voltage spikes even with a lowly 1N4001...
    • M
      MarkT replied to the thread Inexplicable error T4-1.
      Or put more concisely a callback is a function, not a method. If you are using classes and methods you always need some global variable holding a pointer to an instance if you want a callback (or interrupt come to that) to run a method - there...
    • M
      Please provide details of your display, the way you have wired everything up.
    • M
      Capacitive pickup, or perhaps some breakthrough via the power rails? BTW you really ought to scale the axes properly so the numbers are sensible. Also where does the 900000 high peak come from even with 16 bit values where the range is...
    • M
      What happens if you short the line inputs to ground? I'd expect almost no breakthough in that condition. Leaving them floating will allow a little 10kHz pickup through capacitive coupling.
    • M
      I hope you have connected headphones to the headphone output of the Audio adapter... Its the only output capable of driving a heavy load like that. Conversely if you want to pass a signal to an amplifier or other audio input, _never_ use the...
    • M
      Its a common mistake to use too much solder with SMT - less is indeed more. For flux on the otherhand more is better, so long as you later remove it... Google seems very broken, only throws up a handful of matches for "peg and paste" for some...
    • M
      MarkT replied to the thread Fast 8 bit parallel I/O for T4.0.
      You need to read the reference manual about such things as memory operations on memory mapped registers, different rules apply from cached SRAM or whatever as the address-decode logic is not necessarily common between different types of memory...
    • M
      These are peg&paste connectors - they have large pads on the top to hold enough solder paste so it can wick down into the plated holes by capilliary action - the fact the top pad is bare of solder means this has happened successfully and the peg...
    • M
      The coefficients are fixed point, not integer, the entire audio library works with q15_t style fixed point in fact, where 1.0 is represented by 0x7FFF, not 1. Under the hood the heavy lifting is done by the CMSIS DSP function 'arm_fir_fast_q15'
    • M
      Probable this one: https://www.pjrc.com/teensy/IMXRT1060RM_rev3_annotations.pdf
    • M
      It could be that your SDcard has long housekeeping events - try using a lot more AudioMemory, say 200 blocks, so such drop outs are buffered. Such housekeeping delays depend a lot on the card you are using - which card are you using? Have you...
    • M
      You won't get anyone helping you with that code unless you post it as code. An image can't be compiled/loaded onto a Teensy! Use the code tags, the </> button at the start of the posting icon menu.
    • M
      I provide the information for that, 192kSPS, 256k point FFT, so ~1.3653s = 1365.3 cycles at 1kHz, +/- the error of two crystals...
    • M
      The problem with a microcontroller compared to a microprocessor is that it has a whole lot of peripherals on the chip, dozens and dozens of them for something like the iMX RT1060, making an emulator a much weightier endevour than just an...
    • M
      I wholeheartedly dispute this, have you used a modern S.A. with FFT mode? Here's a plot of a 1kHz DDS oscillator recorded by a QA403 with no window: And the same with a lowly Hann window: Which one is useful? No contest at all. Without...
      • a.png
      • h.png
    • M
      They are, almost always, way better! Basically a discontinuity spreads a wide skirt across the entire spectrum, hiding the noise floor completely and many small peaks too... Post #10 seems to have such a skirt, albeit fairly modest, I suspect a...
    • M
      MarkT replied to the thread Teensy 4.1 and 23LCV1024.
      SPI states you should read synchronous to one clock edge and write synchronous to the other (which edges depends on the mode) Since you can't do these simultaneously by simple bit banging your waveforms will be out on the timing, and if slow...
    • M
      MarkT replied to the thread Teensy 4.1 and 23LCV1024.
      The transaction defines the clock state so should be the outermost thing I think - then if the clock needs to be idle-HIGH that is setup before the #CS line is active?
    • M
      To simulate audio lib code only needs a framework to mimic the audio lib framework, not the whole board and processor.
    • M
      So if in two places, that means both are wrong...
    • M
      You realize the processor reference manual is 3520 pages...?
    • M
      Well its pretty clean, unlikely to be a software artifact in that case. The large values suggest you are not using norm='forward', which is correct for spectral analysis (scipy.fft defaults to norm='backward' alas, not very intuitive). The skirts...
    • M
      Its always much more informative to plot a spectrum logarithmically, there's probably clues in the data you cannot see in a linear plot...
    • M
      MarkT replied to the thread Possible ringing issue.
      Need to see the circuit, it looks like you have inadequate groundplane or something like that that's contributing a lot of inductance, I'd try adding 100R on the output of the 74LVC14 to dampen it down a bit. Ah, that's why then. You can...
    • M
      MarkT replied to the thread Custom Teensy 4.1 board.
      Do you have a hot-air rework station? If not I wouldn't imagine you would be successful trying to transplant those chips.
    • M
      Did you download the .xpl file for your operating system from that directory? There are versions for Linux, Windows and MacOS. I'd imagine you can specify plugins from within XPlane somehow - I've not got this I just assume its like other...
    • M
      No because the 3.3V is the analog reference as well, so it will always read full-scale. You need a voltage divider from the battery and measure that with the analog input. BTW I've not seen a 5V lithium battery, do you mean a power bank? If so...
    • M
      MarkT replied to the thread Problems with 433 Mhz relays.
      Because a 600MHz processor is a strong source of EMI if you don't take careful measures to contain it such as shielded enclosure and ferrites on cables.
    • M
      MarkT replied to the thread Teensy 4.0 I2C Bus issue (solved).
      The pull up resistors need to be to 3.3V, since that's the T4's IO voltage. Vin on the MPU6050 might not be 3.3V from what I know, so check that. 5V direct will kill the T4 immediately, so care is always needed with such things, though 4k7...
    • M
      MarkT replied to the thread Directional change in joystick.
      Whoops, yes you're right... Its much easier in 3 dimensions with quaternions (!)
    • M
      MarkT replied to the thread Custom Teensy 4.1 board.
      Post an image or PDF if you want more people to look at your circuit, not everyone uses Kicad, nor wants to fire it up just to look at a diagram. If its more than one click people may simply skip the post...
    • M
      MarkT replied to the thread DS1820 rod sensor.
      Yes, a single 4k7 pullup at the far end ought to be enough, and 100nF decoupling capacitor on each sensor will help ensure reliable operation (the datasheet claims this isn't really necessary, I'm sceptical). Don't use parasite power mode, its...
  • Loading…
  • Loading…
Back
Top