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.13 seconds.

  1. 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...
  2. 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...
  3. Replies
    35
    Views
    192

    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...
  4. 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...
  5. 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...
  6. Replies
    35
    Views
    192

    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?
  7. Replies
    35
    Views
    192

    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...
  8. Replies
    35
    Views
    192

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

    I wonder if they have a way to generate MCLK for I2S chips?
  9. Replies
    35
    Views
    192

    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.
  10. Replies
    35
    Views
    192

    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...
  11. Replies
    35
    Views
    192

    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...
  12. Replies
    35
    Views
    192

    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...
  13. 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...
  14. 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...
  15. 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...
  16. 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
  17. 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
  18. 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...
  19. 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...
  20. 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...
  21. Replies
    92
    Views
    12,074

    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...
  22. 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...
  23. 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...
  24. I gave it a shout-out on Twitter. Hope that...

    I gave it a shout-out on Twitter. Hope that helps.
  25. Replies
    92
    Views
    12,074

    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...
  26. 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...
  27. Replies
    12
    Views
    189

    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?
  28. Replies
    12
    Views
    189

    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
  29. Replies
    12
    Views
    189

    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...
  30. Replies
    12
    Views
    189

    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.
  31. Replies
    12
    Views
    189

    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...
  32. 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
    ...
  33. 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.
  34. Replies
    13
    Views
    599

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

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

    Many of the I2S DACs do this oversampling in their hardware.
  36. 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?
  37. 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...
  38. 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.
  39. 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...
  40. 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...
  41. Replies
    5
    Views
    128

    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.
  42. Replies
    5
    Views
    128

    Yes, but you will need to edit usb_desc.h to...

    Yes, but you will need to edit usb_desc.h to create a custom USB config. See the comments in that file for details.

    Remember there are 2 copies of this file, one for Teensy 3 and the other for...
  43. Replies
    628
    Views
    57,324

    Merging and testing MTP and LittleFS pull...

    Merging and testing MTP and LittleFS pull requests is at the top of my priority list for after the T4 bootloader chip “soft” release. Sorry I can’t do it now... really want to. But so many people...
  44. Replies
    184
    Views
    10,204

    Yup, that's been the plan all along. :)

    Yup, that's been the plan all along. :)
  45. Yes, very likely. Look for problems near pin...

    Yes, very likely.

    Look for problems near pin 8. If stray solder got onto the pins of that little chip near pin 8, it would cause this sort of problem.

    And just to be clear, this problem almost...
  46. Replies
    184
    Views
    10,204

    I do have a plan (kinda 2 plans), but so far...

    I do have a plan (kinda 2 plans), but so far haven't written anything....

    1: For the wav file player and other file-based audio library stuff, I'm planning to add a useFilesystem(FS &filesys)...
  47. Replies
    92
    Views
    12,074

    It's not going to do anything so complex. And...

    It's not going to do anything so complex. And even if it did, the nature of most failures is that you can't attempt the next stage anyway. If communication with the IMXRT fails, there's no way to...
  48. Google search for "DDI0403E". If Google doesn't...

    Google search for "DDI0403E". If Google doesn't find the PDF, click the link to ARM's website, then click "Download" to get the PDF.

    Once you're viewing the PDF, turn to page B3-602 for the AIRCR...
  49. Replies
    40
    Views
    482

    Microsoft did fix some bugs in usbser.sys between...

    Microsoft did fix some bugs in usbser.sys between Windows 8 to Windows 10, but apparently not this one.
  50. It's supposed to "just work" if you change to...

    It's supposed to "just work" if you change to that folder and just run "make" with all the files still located in the places the installer wrote them.

    I can understand why you probably want to...
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4