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

Search:

Type: Posts; User: mmalex

Search: Search took 0.00 seconds.

  1. tip for faster capacitive touch reads on teensy 3.6/3.5

    there are a couple of old threads I found while investigating if I could speed up the time taken by touchRead() function on teensy 3.6.
    a few threads noted that when moving from T3.2 to T3.6, the...
  2. ah that is so awesome, and doh I should have...

    ah that is so awesome, and doh I should have thought to look there. I looked on the Teensy4 page & shop page, but not on the datasheets page. doh.
    I also found this sketch buried in the beta thread...
  3. thanks so much for the tip! I'll set up my design...

    thanks so much for the tip! I'll set up my design with the capacitive sense pin on 22, in the hope it's useful for the peripheral. browsing the forum a little, I find all the FlexPWM/FlexTimer/QTimer...
  4. T4: are there particular pins that are preferred for accurate hw edge timing?

    I'm porting a 3.6 project that used capacitive touch input to t4; hardware-wise, I'm happy to switch to a 2 pin arrangement as used by the old Capacitive Touch library by paul, with a drive output...
  5. thanks so much for taking the time to do a...

    thanks so much for taking the time to do a thorough investigation! my t4s have arrived but i haven't had a chance to try them out yet.

    it does seem odd that the mqs code includes a bunch of i2s...
  6. T4 - can MQS be used at the same time as I2S

    hi,
    with teensy 4.0 I've been looking around for some docs on the 'medium quality sound' pins. I've got 2 questions -
    1) if I was planning to use the first I2S channel with a codec like the...
  7. common anode rgb with anode hooked to 5v and cathodes on teensy 3.6 i/o?

    i know the 3.6 isnt 5v tolerant, but if I wanted to drive a single common anode RGB LED with minimal part count whose forward voltage is very close to 3.3v (3.1v it seems from the data sheet), could...
  8. Replies
    135
    Views
    33,343

    progress!...

    progress! https://twitter.com/mmalex/status/1030925272508456960 :

    this is using the cs24228 from this thread to do 6 of the ins and 8 of the outs; the teensy3.6 DACs provide the last 2 outs, and...
  9. what's the most efficient way to sample continuously from 4 analog pins on teensy 3.6

    hi! I have a project where I want to sample continuously (at a few khz sample rate) from 4 analog pins on a teensy 3.6. I realise there are only 2 ADCs in it, so at the moment I have an IntervalTimer...
  10. Replies
    135
    Views
    33,343

    so happy I was able to help someone and not just...

    so happy I was able to help someone and not just ask questions :o
  11. Replies
    135
    Views
    33,343

    sure! I pasted together the code, sorry if I...

    sure! I pasted together the code, sorry if I missed a definition in the pasting process. i've added some comments too.


    DMAChannel dacdma;
    #define PSPI0_CSDAC0 10 // teensy pin 10 = cs0_0...
  12. Replies
    135
    Views
    33,343

    np, it's this one...

    np, it's this one https://www.soselectronic.com/products/electronic-assembly/ea-oleds102-6lga-291087
    photo here in my module: https://twitter.com/mmalex/status/1020795655931883520?s=21
  13. Replies
    135
    Views
    33,343

    fantastic, thanks for prompt reply. I had checked...

    fantastic, thanks for prompt reply. I had checked https://www.pjrc.com/teensy/pins.html and misunderstood. cheers!
  14. Replies
    135
    Views
    33,343

    you're a more thorough man than I. :) while I...

    you're a more thorough man than I. :) while I wait for the oshpark board, I have done the filthy thing and patched a bodge wire from VQ to a spare teensy pin, which I found that a brief 10us high...
  15. Replies
    135
    Views
    33,343

    OSHPark board (x3) and spare teensy 3.2 ordered...

    OSHPark board (x3) and spare teensy 3.2 ordered :)
    paul, something I dont understand in your design - you seem to connect pin 1 (the i2c address) to both high AND low, and both resistors seem to be...
  16. Replies
    135
    Views
    33,343

    I just tried using the audio lib; (Im not...

    I just tried using the audio lib; (Im not familiar with it), using this code in main.cpp (I'm using a makefile rather than arduino):


    AudioInputTDM inputs;
    AudioSynthWaveform waveform1;...
  17. Replies
    135
    Views
    33,343

    you're probably right :) tho I am terrified of it...

    you're probably right :) tho I am terrified of it just working, which doesnt help explain why mine doesnt :) your audio lib fails to init my board also, (though I'm gonna re-double check) which makes...
  18. Replies
    135
    Views
    33,343

    hi all! I know this is a teensy forum more than a...

    hi all! I know this is a teensy forum more than a related-hardware-peripheral forum, but since you've been so understanding and my experiments are germane to this thread, I thought I'd post a quick...
  19. Replies
    135
    Views
    33,343

    Ah, I see! yes, I am checking the return value...

    Ah, I see! yes, I am checking the return value (and Serial.println-ing if fail) - and all looks good. I also implemented a 'read registers back' per data sheet, and they take on whatever values I...
  20. Replies
    135
    Views
    33,343

    (sorry one other software thing in case it helps...

    (sorry one other software thing in case it helps anyone - I found that it works really well to set up 4-byte DMA transfers to PUSHR, because then you can have it toggle the 5 CS lines to control...
  21. Replies
    135
    Views
    33,343

    thanks paul! I think reset is a good shout; I'm...

    thanks paul! I think reset is a good shout; I'm on vacation now, but plan to check reset when I get back - it's another difference from your board, where you use the dedicated reset chip. I plan to...
  22. Replies
    135
    Views
    33,343

    hello all! sorry to resurrect a slightly old...

    hello all! sorry to resurrect a slightly old thread. I have a hardware question about the CS42448. I've been learning electronics thanks to teensy 3.6 and have been building myself eurorack modules....
Results 1 to 22 of 22