I am not in position to do testing at present but just reading your mods....
I assume you have defined #define FRANKB_PATCH somewhere.....couldnt find it in your cpp file ????
Also orig for teensy3.2 the first //left...
I missing usbMidi.read() in your code !
// discard incoming MIDI messages
while (usbMIDI.read()) {
// ignore incoming messages
}
What Arduino CPU and Windows Version are you using?
@PaulSoffregen, I'm stumped as to why this is happening. Board responds to I2C commands when the AudioOutput is PWM or others but not I2S.
On Teensy 4.1 with Audio Shield
#include <Audio.h>
#include <Wire.h>...
If you want to eliminate any transmission delays, you can call flush() after sending TCP data when using QNEthernet. It’s possible the ArduinoModbus API needs to be changed to support this. Without calling flush(), data...
Been able to reproduce this with the following sketch:-
#define chunkSize 128
#define delayAmt 100
byte data;
void fillBuff() {
unsigned scratch;
for (uint16_t ct = 0; ct <= chunkSize; ct++) {
Testing OK with FTP_Server_Teensy41
Starting FTP_Server_SDFAT2 on TEENSY 4.1 with QNEthernet
FTP_Server_Teensy41 v1.1.0
Initializing SD card...
Wiring is correct and a card is present.
Card type: SDHC
Under the hood, incoming data is handled with callbacks, but with polling and not interrupts. The stack is polled for input every time Ethernet.loop() is called, which happens in a number of places internally, and also...
Thanks for responding! I just tried adapting the newer usb_audio.cpp file with the FrankB patches, but am still getting the clicks. Instead of the Audiotiming library (which is missing from FrankB's Github), I tried...
Yes, that’s correct. I chose “buffer if it can” over “send always” because lwIP’s API is similar, so I basically just did a direct mapping. Plus there exists that flush() call in the Arduino API (I don’t really...
Posted code ref to Paul's is worst case - as CACHE or not - it runs end to end of all PSRAM writing values, then a second loop confirming those values are present as expected. So it will blow though the cache. That...
Okay so what I am seeing is by design, just call flush whenever data is time sensitive and if not, I can let the library buffer and send the data when the timer hits to be more efficient? I will try using flush and make...
HI All,
Please use the new WiFiNINA_Generic releases v1.8.14-5
I've been testing many times and still uploading OK, without losing data.
Will update the forked WiFiNINA later, if necessary.
---
Call flush() to send any buffered data immediately. For reference, see the “Write immediacy” section in the Readme.
There’s no equivalent for setSocketSize() or setStackHeap(). Those are specific to how...
I tried making the switch over to QNEthernet this week but I had a few issues/questions.
First issue I noticed was that the data that I was sending from the Teensy to the PC wasn't being received fast enough, I did...
Nice you have some T_4.1's on hand Ken.
I changed my ISP ... DSL finally made it the last mile to my home. Two miles of old wire actually bonding two 20 Mb pairs for 40 Mbps and 11ms pings from passing fiber. Best...
You really should write some small test programs using the ARM cycle counter to measure the actual speed. When you test, use "volatile" on the variables or pointers your code uses, so the compiler doesn't optimize away...
Wow is right. I have spent the last two weekends working on FTP_Server_Teensy41 and WiFiNINA. The problem is with data.connected() always shows 1. Using the same library with QNEthernet would show data.connected() going...
Paul made this PSRAM test sketch: PaulStoffregen/teensy41_psram_memtest/blob/master/teensy41_psram_memtest.ino
It shows clock speed and tests various data patterns with write and read verify without any cache...
This is the directory listing, showing correct octocat.jpg file size of 51695 bytes, after running FTPClient_UploadImage example. The server is VSFTP on RPi
pi@raspberrypi-02:/home/ftp_test $ ls -la
total 80...
Hi All,
Wow, I just found out and fixed the bug in WiFiNINA + WiFiNINA_Generic libraries. Already tested OK using Nano_RP2040_Connect with FTPClient_Generic.
The very bad bug affects sending TCP data...
The last portion of the recently completed batch of Teensy 4.1 is still en-route to Sparkfun and Adafruit. Both sites are allowing backorders. Placing a backorder with them is by far your best chance to get a Teensy...
As Defragster has pointed out, I have some of the Teensy 4.1 in stock, though I am a little surprised he can see my website at all. ;)
Most of the ones I sell are the value-added 'Fully Loaded versions, i.e. modified...
A few points:
you never set s back to 0, so you will only ever trigger/start the cancellation signal once: I assume that's not your intent...
audio updates, and hence new values for rms1.available() and rms1.read(),...
Thanks Rolf
I've tried all your suggestions, unfortunately I'm still stuck with no complete bank dump.
I'm going crazy with such a "simple" thing.
If my calculations are right (and MIDIOX displays the blocks right)...
Some few with QSPI FLASH/RAM preinstalled: protosupplies.com/product/teensy-4-1-fully-loaded/
And showing 41 unpinned : protosupplies.com/product/teensy-4-1/ and 4 with pins
I was only testing on windows10 and Linux for Teensy3.2. FrankB_Patch worked for me as described in #75. You need to add the bits in RED text #DEFINE and #ifdefs etc.
This is location for file for Teensy3.2...
If you disabled in usb.c the usb midi flush output() you have to after midi data has been sent, a flush() must be sent.
This function forces the USB layer to send the data immediately. Since the USB bus is not...
When I use FrequencyMeasure on an LC, I am getting 60hz mains as a reading (LC powered by USB on a desktop pc) while testing the circuit. To me, this shows that any fluctuations on the power/ground line will be echoed...
Trying to read the datasheet makes me realize how much I don't know, but so far I think I understand that:
- The PSRAM will clock at 84MHz for Linear Burst operation (which will let me read across the 1024-byte page...
I want to do some low tech debugging (blink LEDs) to see how far teensy gets with my slow start power supply. Before I begin I need to know what modules are executed, and in what order, before setup is called. That way...
Hello, I've never owned a microcontroller and have no background in EE, so I have a lot of questions. The project will consist of a Teensy 4.0 / 4.1, the ILI9341 touch display...
Hello
I am fairly new to making things with teensy
My present primary focus is making MIDI control Surfaces that can be used to control various features of computer based Digital Audio Workstations (such as cubase...
I realize this is a really old thread, but I’m having this same “clicking” issue on a Teensy 4.0 and Teensyduino 1.56 (on Mac) when using USB Audio.
It happens when running the simple sine wave sketches earlier in...
Thank you @lerxstrulz, the same trick fixed my problem.
It's really a pity that nothing is written in the documentation about this use of AudioNoInterrupts():...
It depends... It is slower than the other memory locations, but again it depends on your usage. In particular how often you read/write to cache versus how often does it actually have to read/write the actual physical...
I did a draft of a Encoder Matrix Proto board. The idea is that one can start developing without the tedious wiring of a lot of encoders. After development the board can be easily cut or broken or extended to fit the...
You are reading the RMS result thousands of times a second even when it is not available. Try changing your loop function to this:
void loop()
{
if(rms1.available()) {
x = rms1.read();
if(x != 0.0 && s ==...
You probably need a switch circuit after the voltage regulator and before the Teensy that only switches on when voltage has reached 3V.
If that was not clear the switched voltage will supply the Teensy when up to at...
I finally got my cheap digital oscilloscope and did confirm that I have a slow power up. Attached is a picture showing the startup delay caused by the TPS6120 used in the Pololu 5V boost regulator. The graph voltage is...
What kind of speed can I expect when reading from EXTMEM on a Teensy 4.1 with 16 MB of PSRAM? Thanks!
Edit: Sorry for typo in title, should say PSRAM, but I didn't catch it until after I posted :P
T4.1 digital output signals are 3.3V, so a PWM signal is switching between ~0 and ~3.3V. What your meter shows will be a function of how it averages, but if you connect that PWM to something else (your controller), it...