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

Search:

Type: Posts; User: manitou

Page 1 of 10 1 2 3 4

Search: Search took 0.02 seconds.

  1. can you attach a photo of your setup? what is...

    can you attach a photo of your setup? what is source of interrupt? Signal should be 3.3v, Teensy 4 is NOT 5 v tolerant. Also external signal requires a common ground with the T4.
  2. maybe provide a runnable sketch that demonstrates...

    maybe provide a runnable sketch that demonstrates the problem. this works for me ...

    void ding() {
    digitalWrite(23,1);
    digitalWrite(23,0);
    }
    void setup() {
    pinMode(23,OUTPUT);
    ...
  3. Replies
    212
    Views
    21,132

    Bill, can you provide access to your pico source...

    Bill, can you provide access to your pico source code for your ADC/SD logger?
  4. Replies
    27
    Views
    2,579

    Yes, see nodemcu I2C...

    Yes, see nodemcu I2C
  5. Replies
    27
    Views
    2,579

    you should verify each of your WAV files is in...

    you should verify each of your WAV files is in proper format (see post #17). Try running the IDE examples > audio > WavFilePlayer with Teensy WAV files (SDTEST1.WAV ...), then use your WAV files in...
  6. Replies
    2
    Views
    136

    You are off to a bad start. Take a look at the...

    You are off to a bad start. Take a look at the T3.2 schematic and the pinout card. You'll see that the chip pin 25 (PTA3) is connected to the teensy bootloader chip. A simpler test of the teensy...
  7. your code in post #1 won't work on Teensy 4. ...

    your code in post #1 won't work on Teensy 4. There are no alternate pins (as in Teensy 3). To use pins 16 and 17 you must use Wire1, e.g. Wire1.begin() and every place you use Wire replace it...
  8. Replies
    11
    Views
    406

    here is an example of using XBAR for "slow PWM"...

    here is an example of using XBAR for "slow PWM" on Teensy 4
    https://forum.pjrc.com/threads/25164-2Hz-analogWriteFrequency-on-Teensy-3-1?p=247337&viewfull=1#post247337
  9. Replies
    4
    Views
    380

    here is an earlier post...

    here is an earlier post https://forum.pjrc.com/threads/54711-Teensy-4-0-First-Beta-Test?p=197722&viewfull=1#post197722
    that describes using the T4 crypto accelerators for AES and SHA. The low level...
  10. Replies
    524
    Views
    72,853

    MIMXRT1170-EVK Just received my ...

    MIMXRT1170-EVK

    Just received my MIMXRT1170-EVK board from mouser ($208). Using NXP MCUXpresso and NXP SDK, I have run a few of the examples on both cores, cm7 (M7@1 GHz) and cm4 (M4@400MHz). ...
  11. Replies
    12
    Views
    563

    Run the TimeTeensy3 example from the IDE (File >...

    Run the TimeTeensy3 example from the IDE (File > Examples > Time > TimeTeensy3), then from your linux command line (bash) do

    TZ_adjust=-4; echo T$(($(date +%s)+60*60*$TZ_adjust)) > /dev/ttyACM0
    ...
  12. Replies
    98
    Views
    11,734

    Updates for 1.54? fix T3/T4 randomSeed()...

    Updates for 1.54?

    fix T3/T4 randomSeed()

    add T4 slow PWM
  13. Ah, many thanks. For the last few years I've...

    Ah, many thanks. For the last few years I've wondered why I couldn't get teensy-USB audio to play on my Ubuntu boxes. Now all is good. :D
  14. Replies
    41
    Views
    3,416

    Yay! SCK to GND solved it! The two...

    Yay! SCK to GND solved it! The two raspberry pi forum articles I had both had SCK unconnected. sigh. many thanks
  15. Replies
    41
    Views
    3,416

    I have tried 3v3 and 5v, and behavior is the...

    I have tried 3v3 and 5v, and behavior is the same. I even tried DC power jack on ZERO instead of USB power. Still misbehaves.
  16. Replies
    41
    Views
    3,416

    EE help needed for I2S DAC. I have...

    EE help needed for I2S DAC.

    I have successfully tested adafruit I2S DAC UDA1334A, with Teeeny 3.2/3.6/4.0 and Arduino ZERO. Tested sine wave with ear-buds and scope to DAC line out. DAC is wired...
  17. as my example shows (and the reference manual...

    as my example shows (and the reference manual dictates), you must "set" the status bit to clear it.
  18. you need to clear the interrupt flag in the ISR,...

    you need to clear the interrupt flag in the ISR, otherwise the interrupt will fire again as soon as you exit the ISR ... the black hole. you also need asm volatile ("dsb"); in the isr to keep ISR...
  19. The pins that T4 GPT uses are defined in table...

    The pins that T4 GPT uses are defined in table 52-2 of the reference manual. Look at the T4.0 and T4.1 schematics to determine which pins are actually available for the teensy PCBs. You'll need...
  20. Replies
    212
    Views
    21,132

    Using rpi pico...

    Using rpi pico, I've run some circuitpython/micropython tests and run a few C benchmarks via cmake and SDK (-O3 gcc 6.3.1). Here are some coremark plots
    24366
    24162
    Compile options...
  21. Replies
    5
    Views
    396

    The T4 configures the GPT and PIT to clock at...

    The T4 configures the GPT and PIT to clock at 24mhz, if you configure for 150mhz it will break the interval timer (PIT). here is example of GPT running at 150mhz...
  22. Replies
    212
    Views
    21,132

    thanks. did the program report the CPU clock...

    thanks. did the program report the CPU clock speed (clk_sys)? 125mhz?
  23. Replies
    212
    Views
    21,132

    in the SDK there are multicore examples,...

    in the SDK there are multicore examples, pico-examples/multicore/
    I don't have a pico yet, so I haven't tried any thing except some compiles.

    attached is a UF2 of coremark for pico ... anyone...
  24. Replies
    58
    Views
    6,942

    Thanks! Not a lot of variation in dop values, ...

    Thanks! Not a lot of variation in dop values, maybe needs two decimal places. Here is data for 3 different GPS units with external antenna.

    Adafruit ultimate, 1 constellation
    GPS Strong...
  25. Replies
    10
    Views
    702

    OK, I confirmed NativeEthernet lib supports UDP...

    OK, I confirmed NativeEthernet lib supports UDP BROADCAST by using local networks broadcast IP adddress, e.g. 192.168.1.255. target MAC address on packet is 0xffffffffffff


    IPAddress...
  26. Replies
    10
    Views
    702

    Usually, for UDP broadcast you use the the...

    Usually, for UDP broadcast you use the the broadcast IP address of your local subnet. For my home network destination UDP broadcast IP would be 192.168.1.255 (the 255 is the broadcast address for...
  27. Another thread ...

    Another thread https://forum.pjrc.com/threads/61581-Teensy-4-1-NTP-server discusses using a PID controller and GPS to discipline T4.1 clock/time. As usual changing temperature is the dominant...
  28. Replies
    10
    Views
    702

    multicast is more local-network-friendly than...

    multicast is more local-network-friendly than sending broadcasts to EVERY machine on your local ethernet. Here is sketch for wiznet but you can change the includes to use NativeEthernet....
  29. I haven't tested teensy to teensy, but I have...

    I haven't tested teensy to teensy, but I have tested T4.1 to/from linux over 100mbs wired ethernet. The linux box sends 40 1000-byte UDP packets at 97mbs and T41 receives all 40 packets at 94...
  30. Replies
    10
    Views
    659

    I had problems loosing GPS lock when powering up...

    I had problems loosing GPS lock when powering up T4.1+ethernet and using an Adafruit ultimate GPS. I finally bought an external antenna and placed the antenna on windowsill. see thread ...
  31. Replies
    58
    Views
    6,942

    Maybe not. the multiple satellites are from...

    Maybe not. the multiple satellites are from different constellations, i think the gps solution probably uses no more than 12 satellites, though it's able to choose from a larger collection of...
  32. Replies
    58
    Views
    6,942

    Nice. Here is graphic data from T4.1 connected...

    Nice. Here is graphic data from T4.1 connected to sparkfun GNSS NEO-M9N with external antenna mounted on windowsill. M9N can use up to 4 constellations (GPS, GLONASS, Galileo, BEIDOU).
    23409...
  33. Replies
    15
    Views
    1,153

    Earlier posts on light-sensing with LED,...

    Earlier posts on light-sensing with LED,
    https://forum.pjrc.com/threads/40001-LED-as-a-light-sensor...
  34. Replies
    7
    Views
    620

    here is example of "slow PWM" for Teensy4 using...

    here is example of "slow PWM" for Teensy4 using XBAR https://github.com/manitou48/teensy4/blob/master/qtmrxpwm.ino
    discussed in...
  35. Replies
    12
    Views
    1,366

    I ran your 3 timer sketch, feeding pins with...

    I ran your 3 timer sketch, feeding pins with 10khz from analogWrite() on pin 8. The low order digits from the three counters seem to match


    29433
    29433
    29433

    31433
    31433
    31433
  36. Replies
    12
    Views
    1,366

    The teensy core uses TMR1 CH0 for PWM, so it...

    The teensy core uses TMR1 CH0 for PWM, so it pre-configures some of the registers. You need to clear a couple more registers, try adding line in RED

    ...
    TMR1->CH[0].CTRL = 0; ...
  37. You could define BMP3XX_DEBUG in the...

    You could define BMP3XX_DEBUG in the Adafruit_BMP3XX library, and it should print out progress in performReading() that might help you locate the problem. Since the Teensy 4 is so fast you might...
  38. Replies
    5
    Views
    638

    In DCP_HASH_Update() change declaration line to...

    In DCP_HASH_Update() change declaration line to read: size_t blockSize = DCP_HASH_BLOCK_SIZE;
    and for test string of 64 bytes sketch returns 241003f8

    (github updated)
  39. Replies
    5
    Views
    638

    The T4 hardware CRC is very limited, 32-bit fixed...

    The T4 hardware CRC is very limited, 32-bit fixed polynomial. It also has the flaw that input must be multiple of 4 bytes (it willl pad with nulls, if not), see...
  40. FWIW, some GPSDO discussion and temperature...

    FWIW, some GPSDO discussion and temperature issues in disciplining a T4 clock https://forum.pjrc.com/threads/61581-Teensy-4-1-NTP-server

    As a proof of concept, here is a sketch that uses an...
  41. Replies
    24
    Views
    1,686

    yes, as referenced in post #13. I did not change...

    yes, as referenced in post #13. I did not change NUM_LEDS in either torch.ino (240) or torchframe.ino (378)
  42. Replies
    24
    Views
    1,686

    I've run both the torchframe sketch and the...

    I've run both the torchframe sketch and the torch sketch (github), with 8-LED stick on pin 11 of T3.2. I have nothing else connected (no buttons, no IR receiver, nothing on A0 and A1). The torch...
  43. Replies
    24
    Views
    1,686

    How about trying the simple FastLED bllink...

    How about trying the simple FastLED bllink example, testing with various values for NUM_LEDS. Following works for me with 8-LED neopixel stick on pin 11 with 3.3v and GND from T3.2.

    #include...
  44. Replies
    4
    Views
    607

    I have seen this problem on older sketches. I...

    I have seen this problem on older sketches. I just ran your sketch on my T3.2 1.8.13/1.53 on Ubuntu 18.04 and it hangs after printing 516. If I add while(!Serial); after Serial.begin(), the...
  45. Replies
    932
    Views
    53,006

    just for the record, a while back (see old thread...

    just for the record, a while back (see old thread), I managed to get adafruit's FatFs lib to work on SPI flash on Teensy prop shield with Teensy 3.2.

    http://elm-chan.org/fsw/ff/00index_e.html ...
  46. Replies
    6
    Views
    857

    Your sketch actually runs (not connected to...

    Your sketch actually runs (not connected to anything) on a T3.2. It will also run on T4.0 (nothing connected) if you correct the fatal flaw

    int flow1state = WireWrite(0, addr1, 0); // check...
  47. Replies
    13
    Views
    2,517

    Best practice warning. When setting a variable...

    Best practice warning. When setting a variable in an ISR that is referenced elsewhere, you need to declare the variable volatile so the compiler can handle asynchronous updates.
    volatile unsigned...
  48. Replies
    6
    Views
    857

    The usual Wire protocol for Wire read is after...

    The usual Wire protocol for Wire read is after you issue Wire.requestFrom() you then use Wire.available() before Wire.read(). maybe look at some Arduino I2C examples ....
  49. Replies
    13
    Views
    2,517

    as noted in post #4 PulsePosition lib...

    as noted in post #4 PulsePosition lib demonstrates how to use FTM0 to capture pin input with 32-bit count.

    Another example derived from Teensy LC timer 32-bit capture on pin 20:...
  50. Replies
    35
    Views
    4,987

    I've briefly played with the sparkfun M4/SAMD51...

    I've briefly played with the sparkfun M4/SAMD51 micromod processor board and the ATP carrier board. The M4 board has the SPI flash on the underside. I assume the Teensy 4 micromod board will have...
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4