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...
Type: Posts; User: PaulStoffregen
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...
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...
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...
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
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
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...
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...
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...
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...
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...
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...
I gave it a shout-out on Twitter. Hope that helps.
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...
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...
Maybe switch to Teensy 4.1 and save that 4.0 for another project not needing as much I/O?
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
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...
If this is Teensy 4.0, use of pin 21 conflicts AudioOutputI2S, because I2S uses pin 21 for BCLK.
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...
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
...
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.
Yes, I can confirm PJRC registered with IEEE several years ago for a 24 bit OUI.
Many of the I2S DACs do this oversampling in their hardware.
Yup, that looks right.
Not sure why we're turning on MCLK with PT8211 on Teensy 3.2. Maybe just leftover code from I2S?
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...
It can be more efficient if you can arrange for even 1 of the buffers to be 32 bit aligned.
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...
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...
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.
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...
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...
Yup, that's been the plan all along. :)
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...
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)...
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...
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...
Microsoft did fix some bugs in usbser.sys between Windows 8 to Windows 10, but apparently not this one.
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...
Which Linux distro is this? It's been a while since I've heard of one so terrible. (eg, Gentoo...)
EDIT: oh, I see it's Arch, missed that earlier.
Reality is PJRC only tests the x86 build on...
RTS should work on any digital pin (as the web page documents). Only CTS is scarce.
My gut feeling is the guesswork on msg #28 is probably right. Microsoft probably only supported use of the modern WIN32 APIs in their USBSER.SYS driver. FTDI's driver probably has support for older...
The serial page lists the pins supported by Teensyduino 1.53.
Kurt added support for the XBAR pins, and other nice features like addMemoryForRead(), but that stuff hasn't yet made any non-beta...
No, for USB serial it's just the USBSER.SYS driver built into Windows.
On Windows 10, it loads automatically. On Windows 2000, XP, 7 & 8, Windows doesn't load USBSER.SYS automatically. So a...
Ok, here's the video demo. Sorry about the mediocre quality... not easy to shoot 2 screens and get exposure perfect (and I really need to get back to the bootloader chips... not time to do a more...
Yup, it sure looks that way.
The problem is on the PC side. Nothing you can do on Teensy will help. The combination of Termite & the Windows driver simply isn't sending the control...
Here's a (maybe) similar report, where RTS didn't work.
https://forum.pjrc.com/threads/59612-DTR-Off-blocks-USB-serial-receive?p=230233&viewfull=1#post230233
It turned out Coolterm works. The...
Just a quick update. I am hoping to begin a "soft release" of the T4 bootloader chips next week, and a full release later in February.
A "soft release" means we are going to limit the per-person...
Teensy Loader uses only HID protocol. It never tries to access any serial ports.
In the Arduino IDE, Teensy should appear twice in the Tools > Ports menu. If you select the "Teensy ports" entry,...
When no Teensy is connected in HID bootloader mode, it already does exactly that, but with this message.
23285
And the teensy_reboot utility which Arduino uses to try to ask Teensy to go into...
Not really. But it can detect a lack of USB communication. I had originally planned for the red LED to blink slowly if the PC doesn't complete USB enumeration. It did in the early betas, but...