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

Search:

Type: Posts; User: PaulStoffregen

Page 1 of 10 1 2 3 4

Search: Search took 0.12 seconds; generated 52 minute(s) ago.

  1. Replies
    64
    Views
    1,147

    Looks like this should be fairly straightforward....

    Looks like this should be fairly straightforward.

    I've learned the hard way (many more times than I'd like to admit) about putting too much work into supporting a new platform or new tech before...
  2. Replies
    64
    Views
    1,147

    Is CircuitPython supporting use of both M0...

    Is CircuitPython supporting use of both M0 processors? How is (or will) concurrency and synchronization managed?
  3. Did you create a "portable" Arduino IDE and try...

    Did you create a "portable" Arduino IDE and try installing Teensyduino into that copy? That ought to be the simplest way to get Teensy working.

    To fix this problem affecting all Arduino copies...
  4. Replies
    2
    Views
    42

    Linux on Teensy would be somewhere between "not...

    Linux on Teensy would be somewhere between "not worth the incredible effort" to "pretty much impossible".

    There is no MMU, so you're immediately resigned to not-so-useful ucLinux. The best case...
  5. Replies
    93
    Views
    12,178

    Yet another update - programmed 3 chips today and...

    Yet another update - programmed 3 chips today and soldered them to virgin boards. The bootloader comes up and works with Teensy Loader, but still some issues remain with booting up in certain cases....
  6. Replies
    2
    Views
    37

    How many LEDs is this? Is this a huge project...

    How many LEDs is this? Is this a huge project with 400 long LED strips? Or just 400 LEDs total?
  7. Replies
    64
    Views
    1,147

    Teensy 4.0 better be better, since our retail...

    Teensy 4.0 better be better, since our retail price is 5 times as much!
  8. Follow these instructions: ...

    Follow these instructions:

    https://www.arduino.cc/en/Guide/PortableIDE

    The very first step says "a compressed version of the Arduino IDE according to your OS", which for Windows means you...
  9. Replies
    64
    Views
    1,147

    I believe the real lesson was learned by that guy...

    I believe the real lesson was learned by that guy who tried to launch the $9 "C.H.I.P." board.
  10. Click Tools > Boards. Whatever it shows, select...

    Click Tools > Boards. Whatever it shows, select a non-Teensy board like Arduino Uno. Wait just a moment while Arduino updates itself. Then click the menu again and select Teensy 3.6.

    Arduino...
  11. On the serial device raw mode, the Linux native...

    On the serial device raw mode, the Linux native functions are tcgetattr() to fetch the serial port parameters, cfmakeraw() to change the setting in the "struct termios" data, and tcsetattr() to write...
  12. Replies
    64
    Views
    1,147

    To check a digital signature, you need the public...

    To check a digital signature, you need the public key associated with the private key which was used to generate the signature. The public key isn't secret. You can put a copy of it into the...
  13. Just a blind guess, since we can't see this C++...

    Just a blind guess, since we can't see this C++ code, but a problem which has come up many times before on all Linux system is "unix line discipline". Basically, you need to configure the serial...
  14. Did you install the udev rules? Is ModemManager...

    Did you install the udev rules? Is ModemManager interfering? Those are the 2 most common problems on Linux systems.

    I personally use Ubuntu 18.04 and it works great. I don't have any systems...
  15. Replies
    64
    Views
    1,147

    Didn't see any mention of config fuses or...

    Didn't see any mention of config fuses or internal flash. Maybe there's some way to do security without internal storage of a secret key or hash of a public key?
  16. Replies
    64
    Views
    1,147

    I didn't see any mention of flash encryption,...

    I didn't see any mention of flash encryption, firmware authentication, or other code security features. Kinda makes me wonder if they'll be able to sell these microcontrollers to traditional...
  17. Replies
    64
    Views
    1,147

    I wonder if they have a way to generate MCLK for...

    I wonder if they have a way to generate MCLK for I2S chips?
  18. Replies
    64
    Views
    1,147

    The USB controller looks very similar to AVR and...

    The USB controller looks very similar to AVR and SAMD - no bus master DMA, packets transferred to a dual port memory.
  19. Replies
    64
    Views
    1,147

    I don't understand what this means? Didn't see...

    I don't understand what this means? Didn't see anything like that in the datasheet.

    The SWD does have a feature to allow more than 1 (perhaps up to 7) of these chips to be accessed on the same...
  20. Replies
    64
    Views
    1,147

    I spent a couple hours reading parts of the...

    I spent a couple hours reading parts of the datasheet. It's refreshing how well written it is, much nicer that what we get from NXP, Atmel/Microchip and ST. I probably read & skimmed less than 100...
  21. Replies
    64
    Views
    1,147

    Pico does indeed look really interesting. I've...

    Pico does indeed look really interesting. I've only just learned about it minutes ago. So far I don't know much about it. At only $4, it certainly is much cheaper! It's said to be Cortex-M0 at...
  22. Yes, on Teensy 4.0 & 4.1, you can remap to any...

    Yes, on Teensy 4.0 & 4.1, you can remap to any digital pins, even less than or more than 8 pins if you like.

    In Arduino, click File > Examples > OctoWS2811 > Teensy4_PinList to see how.

    On...
  23. FWIW, the Teensy 4 experimental ADC code uses 4X...

    FWIW, the Teensy 4 experimental ADC code uses 4X oversampling and a FIR filter, but still lacks (useful) DC removal and the resampling to 44.1 kHz is crude rather than proper interpolation. The FIR...
  24. AltSoftSerial does not work on Teensy 4.1. The...

    AltSoftSerial does not work on Teensy 4.1. The main reason is a belief that 8 serial ports are enough for anyone (kinda like 640K on old PCs....) Likewise, SoftwareSerial when used with non-serial...
  25. Here are the 2 OSH Park links for CS42448...

    Here are the 2 OSH Park links for CS42448 hardware.

    Teensy 3: https://oshpark.com/shared_projects/2Yj6rFaW

    Teensy 4: https://oshpark.com/shared_projects/gVFy0fWQ
  26. ADAU1966A works with TDM output. So far only...

    ADAU1966A works with TDM output. So far only tested with Teensy 4.0 & 4.1, but almost certainly works with Teensy 3.x.

    https://oshpark.com/shared_projects/O7iqdcLr
  27. SPH0645 works, but requires a software filter to...

    SPH0645 works, but requires a software filter to remove DC. I put an example in the library some time ago. File > Examples > Audio > HardwareTesting > Microphones > SPH0645


    Edit: MP34DT01-M...
  28. ADC input on Teensy 4.0 is still experimental and...

    ADC input on Teensy 4.0 is still experimental and currently only supports mono. It sort-of works, but probably not well enough to be useful for most projects.

    If you or anyone else wants to dive...
  29. PCM1802 should probably link to this page. ...

    PCM1802 should probably link to this page.

    https://www.pjrc.com/pcm1802-breakout-board-needs-hack/

    In addition to the PCB error on the most common breakout board, the FSYNC signal has been a...
  30. Replies
    93
    Views
    12,178

    Yet another update... doing more testing. This...

    Yet another update... doing more testing. This morning I found (and fixed) a timing issue with initializing the flash chip's non-volatile status2 register. This is another place where the Teensy...
  31. Any use of pinMode will do this. It completely...

    Any use of pinMode will do this. It completely reconfigures the pin, overwriting the previously set interrupt config.

    Maybe pinMode should check for this case? I'm also considering adding a...
  32. I copied your code into Arduino, but it doesn't...

    I copied your code into Arduino, but it doesn't compile. Stuff is missing. See below....




    Since you already have the hardware wired up, try opening File > Examples > Encoder > Basic and...
  33. I gave it a shout-out on Twitter. Hope that...

    I gave it a shout-out on Twitter. Hope that helps.
  34. Replies
    93
    Views
    12,178

    Another quick update - all the new code is in. ...

    Another quick update - all the new code is in. On a virgin board, the fuses IMXRT fuses are set the first time the MKL02 talks to it. The initialization delivers a unique ethernet mac address as...
  35. Maybe move stuff like this back to setup? ...

    Maybe move stuff like this back to setup?



    AudioMemory(20);
    sgtl5000_1.enable();
    sgtl5000_1.volume(defaultVolume);


    If that doesn't fix the problem, just keep moving more...
  36. Replies
    12
    Views
    195

    Maybe switch to Teensy 4.1 and save that 4.0 for...

    Maybe switch to Teensy 4.1 and save that 4.0 for another project not needing as much I/O?
  37. Replies
    12
    Views
    195

    Maybe you're using the Wire library? (can't tell...

    Maybe you're using the Wire library? (can't tell from only a quick look)

    Wire uses pin 18 & 19.

    Again, details here:

    https://www.pjrc.com/store/teensy3_audio.html

    23350
  38. Replies
    12
    Views
    195

    If using Teensy 3.x, use of pin 22 would also...

    If using Teensy 3.x, use of pin 22 would also conflict. AudioOutputI2S uses pin 22 for data output on those boards.

    Just move those encoder signals to unused pins and odds are good everything...
  39. Replies
    12
    Views
    195

    If this is Teensy 4.0, use of pin 21 conflicts...

    If this is Teensy 4.0, use of pin 21 conflicts AudioOutputI2S, because I2S uses pin 21 for BCLK.
  40. Replies
    12
    Views
    195

    Can you reproduce the problem with a simpler...

    Can you reproduce the problem with a simpler program? This one appears to depend on MegunoLink.h, Display.h, Filter.h - maybe other stuff?

    Maybe try testing with the Arduino IDE and the Encoder...
  41. FWIW, the blink program we pre-load on every...

    FWIW, the blink program we pre-load on every Teensy is slightly more than it seems. It's actually this code:

    https://github.com/PaulStoffregen/USB_Tester/blob/master/extra/USB_Tester_Blink.ino
    ...
  42. Python is by far the most requested interpreted...

    Python is by far the most requested interpreted language. I know you love Forth, but I hope you can understand that viewpoint is relatively rare among the people who buy & use Teensy.
  43. Replies
    13
    Views
    610

    Yes, I can confirm PJRC registered with IEEE...

    Yes, I can confirm PJRC registered with IEEE several years ago for a 24 bit OUI.
  44. Many of the I2S DACs do this oversampling in...

    Many of the I2S DACs do this oversampling in their hardware.
  45. Yup, that looks right. Not sure why we're...

    Yup, that looks right.

    Not sure why we're turning on MCLK with PT8211 on Teensy 3.2. Maybe just leftover code from I2S?
  46. Are you sure it's really a 4.7K resistor? When...

    Are you sure it's really a 4.7K resistor?

    When we've seen problems like this before, with intermittent communication having CRC errors, the cause was a much higher resistor value mistakenly used...
  47. It can be more efficient if you can arrange for...

    It can be more efficient if you can arrange for even 1 of the buffers to be 32 bit aligned.
  48. Not possible. Many of the required signals are...

    Not possible. Many of the required signals are not accessible.

    But you can add QSPI PSRAM.

    https://www.pjrc.com/store/psram.html

    The raw performance for cache misses is obviously lower for...
  49. Well, yes. You might guess that from "Posts"...

    Well, yes. You might guess that from "Posts" count. In fact Frank has a long history of contributing not just good ideas, and a lot of pretty amazing code. So his voice & opinion does carry quite...
  50. Replies
    5
    Views
    135

    Maybe consider sharing your usb_desc.h file? ...

    Maybe consider sharing your usb_desc.h file? Might help others who find this thread.

    If using Quick Reply, click "Go Advanced" to get the full editor which lets you attach a file to your message.
Results 1 to 50 of 499
Page 1 of 10 1 2 3 4