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...
Type: Posts; User: PaulStoffregen
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...
Is CircuitPython supporting use of both M0 processors? How is (or will) concurrency and synchronization managed?
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...
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...
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....
How many LEDs is this? Is this a huge project with 400 long LED strips? Or just 400 LEDs total?
Teensy 4.0 better be better, since our retail price is 5 times as much!
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...
I believe the real lesson was learned by that guy who tried to launch the $9 "C.H.I.P." board.
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...
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...
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...
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...
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...
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?
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...
I wonder if they have a way to generate MCLK for I2S chips?
The USB controller looks very similar to AVR and SAMD - no bus master DMA, packets transferred to a dual port memory.
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...
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...
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...
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.