It is a shame. I do like these modules, but we used them for several large installations on some commercial projects and had nothing but issues with them (those were all 3.2's + audio boards).
I am not the main...
UpDate:
#Jamuary 2023 - Bespoke Berlin Machine Mark III (With Drone and Attitude!) - Jam
Testing out my Teensy Synth Berlin Sequencer with Attitude!
Features:
2 independently sequenced voices.
Each of these is...
@VictorRoy:
Although an Xbee adapter is truly a wireless communication device, it is nothing like a traditional "WiFi" device (i.e. it is not like other devices on a home wireless network). Because of this, if you...
Thanks you @h4yn0nnym0u5e. I couldn't find out how to adapt your code to mine honestly, but found an old sketch a friend made some time ago for multifile recording using an eeprom function. Hard for me to fully...
From the included ILI9341_t3 and assuming in the _t3n extension library use: void setClock(unsigned long clk) { _clock = clk;}
The default is 30Mhz and if 60 MHz is used in setClock() that value will be used for all...
Note in p#11: "if I press a little harder" suggests it works either from a firmer press making the button 'close' fully to indicate the press as needed, or added dwell time from a longer 'harder' press allows the...
Does your library ILI9341_t3n allow (ie. not overwrite a user supplied setting) a SPI CLOCK setting of 60MHz? I just want to do a test. No point of dragging out the oscilloscope if I know the setting is not observed. ...
Welcome back Nantonos! Good to see you again. :)
If you're using the ordinary SPI library and analogRead(), odds are pretty good it will "just work".
You could set Tools > CPU Speed for 396 or 150 MHz to get...
3 peripherals have SPI capability: LPSPI, FlexIO, FlexSPI
LPSPI is the normal SPI ports. Officially the datasheet says 30 MHz is the maximum, on page 67. Anything over 30 MHz is considered overclocking. Many...
Probably none that are spec'd that fast in my possession at the moment. Best I can do is try to drive an ILI9341 faster and see what happens. I have one installed on a PCB I can try.
Strangely if I run the ADCs like that:
adc->adc0->startContinuous(A0);
adc->adc1->startContinuous(A1);
instead of:
adc->adc0->startTimer(AUDIO_SAMPLE_RATE * 16);
adc->adc1->startTimer(AUDIO_SAMPLE_RATE *...
The QSPI memory does not use LPSPI it instead uses: FLEXSPI controller (Chapter 27) - There are two of these, one for main memory and second for those bottom chips.
Pins 48-54 - Mode 8 If my quick look is correct.
...
In the thread I linked previously, @DrM seemed to have it working at 30 MHz. I'm nowhere near enough of a hardware person to say where h/w limits would begin to apply, but if 30 works, then I suspect 40 would, too. Do...
@luni - I was thinking the same thing in my earlier post.
Maybe it is one interrupt interfering with the other.
...
inline void TriggerGenerator::PeriodicCallback()
...
prepare_message(type_, seconds_, micros_,...
Thanks for that. This is a helpful table.
The question somewhat remains - how fast can it really go? I'd think the actual I/O drivers on the outputs wouldn't be able to drive 120MHz without heroics. Don't think...
@KurtE, thanks for the tables. How are the QSPI memories supported ? Or the SD card on the T4.1? Some specialized driver?
If I wanted a QSPI ADC, yeah, I'd have to search for one. Probably not many to choose...
You might want to look at this recent thread (https://forum.pjrc.com/threads/72003-SPI-speedup-question), but I've been curious about this because it seems to be a common question, so I'll try to answer. The SPI clock...
I'm about to resurrect a project I started on 3 or 4 years ago and abandoned (health issues, other priorities) a couple of years ago. Meanwhile, supply-chain issues mean that the original target, Teensy 3.6, seems...
My reading side is typically a c++ program which, should, read everything as it comes. At least it looks that way. But when i was capturing the data which I used for the plots above and to check the minimal test case...
LPSPI - I know somewhere in the PDFs, it says like LPSPI should not exceed something like 25 or was it 30mhz.
The QSPI is a setting on LPSPI so would have the same speeds. However, I am pretty sure that there are...
I tried the async as you suggested but I couldn't get it right..
I did try again with DMA though and the timer provided by the ADC lib and I get better result than before, I can get the 32 inputs at 22.05kHz, so...
I had a look at your test case and, since I don't want to mess with python, I adapted the code to print the measured periods and pulsewidths directly into a serial monitor.
#pragma once
#include <Arduino.h>...
Hi @jowell88 how is your project going?
I'm currently designing my own synth, and I'm curious on how your experience with the WM8731 audio codec is?
And also wondering if you would like to share your latest schematics...
If I'm reading it right CS on the "back memory chips" is either 48 or 51 (the little grey cells, M. Poirot)
I can't take credit for the EXTMEM heap management, that's already part of Teensyduino; not much...
I'd like to know the maximum SPI clock that a Teensy4 can support. Wading through some of the NXP documents (which is painful), the normal LPSPI clock is limited to f_peripheralclock/2. Can't seem to find where or how...
Since there are many happy users of Teensy Audio Adapter boards, I would not just discard them out of frustration.
Sure, they apparently 'suck' in your application but this forum may be of help in nailing down the...
Are you saying that some keyboards might need more delay than others?
The keys on my desired keyboard work if I press a little harder. But since they worked fine on the laptop while the laptop was working, I was...
Sorry for spamming this thread. I've managed to create a test case which fails the same way, first run was successful, second run resulted in 200Hz f_max over 1kHz and the 10Hz signal having a std deviation of >1ms
...
It's one of three periodic callbacks (each associated with an intervaltimer) which has these delays. It happens in larger degree to the low frequency ones, but all three suffer (almost simultaneously) as you can see...
Maybe it is one interrupt interfering with the other.
That is, if you have code like this:
inline void TriggerGenerator::PeriodicCallback()
{
digitalWriteFast(pin_, HIGH);
// REVIEW: need no interrupt?
...
Here are some figures I made illustrating all sampling times > 1 std deviation from the mean
Note these are all grouped, and many of them happen when all three triggers fire on the same timestamp (as observed by...
Yes it does.
I just replaced i2c libraries you were using with Wire.h and the rest compiled just fine.
EDIT:
If you are using that external (to PJRC) library then perhaps it is a question for him.
I think the wire library supplied by PJRC in Teensyduino does not support wire2. At least thats what my understanding is from the table in Hardware requirements section at https://www.pjrc.com/teensy/td_libs_Wire.html....
That is NOT using the wire library supplied by PJRC in Teensyduino.
Could you try with the Wire.h library rather than the i2c_driver.h and i2c_driver_wire.h drivers.
Here it is. I downloaded this exact program in to two different boards one with TEENSY_41 and other with TEENSY41_NE. TEENSY41 prints some ADC reading and does not print the error message. TEENSY41_NE prints only error...
I'll try and get back to you with a simple example, as I said it's not necessarily extremely regular.
For example, for the 10Hz timer I processed the data in python and the following is the first 10 entries of...
Best is to provide a minimal and complete example showing the effect.
Starting/stopping/triggering the timers of course needs some time. But once a periodic (hardware) timer runs, it should be quite stable. As...
Following
https://forum.pjrc.com/threads/71506-Time-synchronization-and-triggering-sensors
https://forum.pjrc.com/threads/71671-Augmenting-Teensy-millis-timing-with-external-RTC
I am working on a sensor timing...
OK. Decided these Teensy Audio boards suck. Having so many problems with them that I just can't rely on them. This weird screeching issue is affecting a ew of our projects.
Seems to be some issue with the comms to...
I found this interesting Excel sheet in a forum thread: https://forum.pjrc.com/attachment.php?attachmentid=20853&d=1593888859.
I found MISO(54)/MOSI(50) and SCK(49), but CS is missing. Perhaps CS is 52? Does anyone...
So, it seems to be a problem with operator 3 specifically, the other algorithms that include carriers =/= 3 all work fine without any weird buzzy clippiness. So I will get to work looking for the culprit. Thanks again...
Testing out my Teensy Synth Berlin Sequencer with Attitude!
Features:
2 independently sequenced voices.
Each of these is adjustable on a per step basis:
Notes
Gates
Waveforms (Currently 9 to choose from)...
Argh! Ok, I see the problem...
Ok, thanks for the hint! I totally forgot that the memory may also be soldered on the audio board. Yes, my memory is on the T_4.1 itself.
Wow, you have written a complete...
Should work. There is certainly no hardware resource conflict.
But to access the SPI2 signals, you will need to solder wires to the pins normally used for PSRAM. It can be done, as you can see in the photos when I...
Built in SD card on Teensy 4.1 uses SDIO. It does not use SPI2. Those pins do also have SPI2 function, but SPI2 alternate function is not assigned to the correct pins. Only SDIO can be used for the build in SD card...
@KurtE, is it possible to use spi2 for external sd card with buildin sd card on teensy 4.1? I tryed to use it on teensy 3.5 and it worked correct (i hope))), but with 4.1 i dont understand. On pinout diagramm i see,...
Yes, more or less. Mostly less. Teensy 4.1 doesn't have quite the analog performance of Teensy 3.2. As a general rule for analog features embedded inside mostly digital chips, improvements in silicon process that...
Simple answer, NXP has no accessible AGND on these chips so Teensy 4.x can’t have one. While the analog inputs aren’t as ‘good’ as prior models they should more than suffice for 7-bit MIDI with little to no issue.
I'm okay at this point ..it is not a critical system for me .Its a used hp elitedesk 800 g3 which I scooped ...So don't want to tie the guy up ..if there were a number of people experiencing the same issue then yes ,...
Here is the info you seek, including some important details about powerup sequence if you remove U2.
https://forum.pjrc.com/threads/71167-4-1-latest-schematics?p=313400&viewfull=1#post313400
If you can't get it solved, maybe best to ask for help on Arduino's forum, as this really sounds like a IDE software issue (probably) not specific to Teensy.
https://forum.arduino.cc/c/software/arduino-ide-2-0/93
...
Trying to use the FIFO blocks mboxes, both polled and interrupt driven.
Initialization:
void MCOUSER_ResetCommunication(void){
int i;
gTimCnt = GTIMCNT; // Initialize global timer
canbus1.begin(); //...
The problem is deep routed , as none of the libraries in the library pulldown would populate , libraries I downloaded off github would populate but the default library list list would remain empty ..need more...
On T_4.0 bottom side pads? That D+ and D- are to USB_Host port. Data could be sent to a Device - but not to a Host using those underside pads.
Device could be a hard drive or flash drive or other supported device...
Hmm. Not sure how to fix this.
I always put a line in to make sure the sound file has finished playing (+ a slight delay), before it tries to retrieve an image from the SD card (where the sound files are also...
Thanks, though I did not grok an answer for Teensy 4.1 from #4.
(I have degrees, but none in EE)
My analog signal measures breath pressure, which varies over a few milliseconds (and I sample it that often).
I end...
Hi All,
I'm looking for the updated schematics for the Teensy 4.1 which are newer than June 2022. From this date U2 was replaced by a different, non pin compatible, device and I'd like to connect to the JTAG pins on...
To 'rescue' the worn USB connector, you may try to press the top and bottom metal closer together using pliers.
But that's definitely not a permanent solution...
Paul
USB connector pushed in many times and probably not carefully. That is probably the source of your bad connections.
Probably about time to change the connector to a chassis mount one as has been described to you....
Pins looks connected ok.
"high speed serial connection with an industrial dust/water-proof 3-pin connector"
What is it? I do not know this connection.
Also I have to solve problems like lot of noise from USB...
Hi,
Ive just discovered that the MTP_teensy library now is really working nice (at least on a T4.1). I am planning to integrate this in the Teensy Batdetector project (see...
I'd check those surface mount pads on the USB connector very closely and try reflowing the solder to them.
If that fixes it, think about reworking your enclosure to use a more robust connector, maybe with something...
I'm in the process of making an Eagle Library device of the 4.1. I did not find one in SnapEDA as noted above.
I'm modifying the 3.6 footprint available in a zip file on the forum.
I noted (as above) the same change...
Hello, I have a project where I have a TFT display and I'm using a display library that uses DMA.
The display library is very fast, clocking in about 500 FPS, but for some reason if I play a wav (using a high-quality...