As I'm one of the people Paul is most likely referring to.
What you see on a scope is broadband noise. However, if you look to a spectrogram you can see tonal that are not easily seen on broad band time series. Sure,...
No,
I have a very tight space (not large enough for a USB connector) so USB data dots are connected to a PCB connector that is connected to a Underwater Bulkhead etc.
All in a water tight pressure housing.
An...
How to set the USB dev speed on T4.1 to 12 MHz?
I wanted the connect to T4.1 USB via some connectors, but I only get unknown device on my PC.
I suspect that the waveform gets disturbed too much when passing through...
I used one of these extenders, Bill is talking about, to try sdio-access to multiple microSD.
while the extenders worked fine, my attempts to have multiple SD cards on the sdio bus failed. only one card was responding...
@mborgerson
the endpoint definition are somewhat modelled after the other devices.
Anyhow, T3 and T4 have different USB implementations therefore there will be different descriptors.
There was some years ago a...
If you stick with microSD cards (as I do it) the actual MTP_t4 https://github.com/WMXZ-EU/MTP_t4 is a reasonable solution.
Obviously feel free to follow the MTP responder thread or wait until Paul includes MTP to...
I'm using SDFat as supplied via Teensyduino, which has in ExFatConfig.h as default "#define USE_EXFAT_UNICODE_NAMES 0 "
It works for me and I'm sorry for non-latin charactersets.
However, if someone develops the code...
Increase AudioMemory. 2 is too few. try different values.
if thy start with 50 you can use AudioMemoryUsageMax() to learn what is the minimum value you have to set (defined in cores: AudioStream.h)
Also, push at least...
I have a T4.1 with a custom daughter board (having 6 spi uSD cards) : total 7 disks
Originally I wanted to use only sdio bus, but unfortunately the uSD cards to not implement the sdio addressing system (similar to i2c)...
No, also as my application calls in general for all slots populated with SD cards.
However, could add the test on Data3 to void sdfs.begin to tell me that it failed.
I wanted to share an observation T4.1 with Win10
I typically have 6 SD cards attached to my T4.1 (with sdio)
observation:
MTP may fail to work (shows only sdio, with no files in it), when I populate only a part of...
Reason is, that index list assumes that for N storages, the first N indices indicate the N root devices and have itself as parent. So if storage is added at a later time, a reset is required. Assuming this is working, a...
the symbol is defined in cores/teensy(3/4)/FS.h
can you check its existence, or if you have a second FS.h on your system?
maybe in "SD-Juse_Use_SfFat"?
It will be hard to get ALL spectral values printed in REAL TIME to serial terminal.
To start I would only printout 1 to 10 spectra per second and throw the others away.
You cannot program Teensy via USB host pins.
To use USB host pins as USB device (e.e. for Seria, MIDI etc) you have to write your own USB device SW for USB2 (the one accessible via USB host pins)
To use access...
IMHO, you will never get a realistic performance picture without a solid soldered setup (best is pcb or veroboard)
Then measurements should be made in a tin-box to shield electric fields that couple into wires.
A...
What does the MTP debug log say?
is the PC restarting MTP initialization?
Teensy may reboot too fast for MTP initiator to react, I don't know.
Anyhow MTP works fine for me, so I have no urgent need for changes.
For the mods, it is not important where you insert the text
For example, I insert all "insert to boards.txt " in the beginning,
and all "insert to usb_desc.h" just before the closing "#endif"
And it seems that https://shop.micross.com/ sells these good old stuff online (e.g. DPAD protection diodes)
Worthwhile to see http://www.linearsystems.com/lsdata/others/LSK389_App_Note.pdf
Anyhow, I'm happy to...
@MM, I do not use Linux, but when a colleague of mine used my system (early T3.6 version) on Linux (embedded Ubuntu derivative) and I was looking over his shoulders, the mount command was different, and there was also...
The 5.1 nV/sqrt(Hz) voltage noise is acceptable for most LF application. Obviously, the good old time with sub-nV/sqrt(Hz) FETs are gone. Also, one may need protection diodes on the input, so that a dropping hydrophone...
As we go into competition,
Here are the specs of my acquisition system (somehow defining upper performance limit)
6 channels - 96 kHz - 32 bits - 15 MB data buffer: (SPI disk limit due to possible buffer overrun (uSD...
Is your desired sampling only 5 kHz?
OK, I note, you are not using an ISR for each channel, but one ISR for all channels, and sample the channels sequentially in the Timer-driven ISR.
If you stick with this...
I know there are some users on this forum with experience using hydrophones, so I would comment only on TDOA
(BTW, I would TDOA not call beamforming, but this is not relevant)
In order to do TDOA, you need to sample...
You best start with one of the standard examples in SD (using now SdFatV2) to understand the procedure.
consequently you adapt to your own requirements (sampling frequency, # of channels)
using 5 channels, you may...
so serializing it upfront would give you 750MBit/s. that does not fit your Clock speed.
serializing it in Teensy does not change the situation.
Even if you pass directly onto microSD you would need a microSD click...
Teensy does not know if 5V on USB is from PC or from powerbank.
VUSB and Vin go to LDO that generates 3.3V for Teensy.
if VUSB-Vin is cut, ONLY Vin is providing power to Teensy, so Vin must be always provided.
If...
AFAIK
USB serial does not support fixed baud rate it always goes with max speed.
suggest to follow Paul's suggestion and to use real HWSerial, where you must set speed
You can easily ignore lack of USB connection
Yes, it fills-up a buffer, but when this buffer is full all further data are dropped.
You can see that by writing data to USB, disconnecting USB from PC and after some time...
This is partially done in Serial, but I agree that checking for open session is a good idea, especially as PC will time out MTP when session is not established for some time (have not established timeout value, but...
I'm afraid that I have no experience with midi, but I can tell you that the 2nd usb was modelled after T4 so T4 midi would be a good starting point.
But if you wanted to take on the challenge, I suggest to first get...
I tend to disagree
what-ever system is pre-loaded, you will find people that complain or want something else.
I like the idea of having only the blink preloaded to prove functionality of a new system.
if users are...
I only wanted to clarify the "d - first dump list of storages" option
this prints out the relevant info of the index file, mtp uses to access the files.
It is only useful during development and requires understanding...
One application of MTP is to transfer files, while the Teensy is not accessible, so disk access should IMO be optimised.
If this can be done using info from filesystem, so better. Yes, FS.h should provide basic...
Well, I only adapted the original code to my needs and made it available.
I understand that Paul is interested to integrate it at some time, but he seems to be busy with other (hopefully pleasant) actions.
At the...
The 2.9 ms is result of acquisition buffer (128 samples) and sampling rate (44.1 kHz) so you must change one of the two values to change the delay.
This requires changing some basic parameters. It can be done, but not...
They cannot be 180 deg out of phase. there is a fixed travel time through the audio library
Output is NEVER without delay to input.
AFAIK
I2S-input: data are buffered for 128 samples (2.9 ms @44.1 kHz)
Amp:...
the way it is wired now, connect audio signal to both line in and oscilloscope channel 1 to ,say, left and channel 2 to right
you could simplify, by connecting both amp inputs to same i2s input channel (left or right)
if you insert an audio object then you have to consider a 128 sample delay.
So, insert two mixers in parallel one with +1 and the other with -1, then you should get the desired effect
the SPI speed and the CPU speed are total different clocks
.
However, if you use code where SPI clock speed is derived from CPU clock then you may run into issues.
If this happens in old low speed avr code, I don't...
use
SPI1.beginTransaction(SPISettings(4'000'000, MSBFIRST, SPI_MODE0));
spi commands
SPI1.endTransaction();
or similar to control SPI speed (here 4 MHz)