Hey that is an interesting idea. We could setup the library to also be an SPI bus sniffer. The T4.x is capable of swapping the MISO/MOSI pins so you can log & sniff data going to and from the SPI devices. The outgoing...
As a spy? just don't hookup the return line so it wont try to send anything to it, it should be able to print out what it sees on the spi bus with the callback disabled
Switched over to the FastLED library, everything is working simultaneously now. Slight glitching on the LED's when I activate the sound but its barely noticeable. Don't need to use SPI transaction lines, seems that both...
You really need to look into the Teensy 4.x MCU datasheets, check this thread Post #4 by PaulStoffregen it has a lot of information: Port and toggle question T4
Hello all,
I own an Euroshield mounting a Teensy 3.2 that works with Audio libraries. I am fairly new to Teensy programming and I need some help on a very basic task that apparently I can't figure out.
I would...
Hi all,
I'm working on a project which needs a microphone input. For prototyping, the tiny electret condenser that's recommended for Teensy worked fine, but now I need something with higher audio quality, better...
I'm not sure those are the parts I found by stepping through the DigiKey search process, but I'm strongly biased toward them. It was DigiKey that made it possible for me to start a small board production facility early...
Just a quick update for anyone who might find this thread down the line. I've switched to UART now and, with a baud rate of 9600, everything seems to work ok. Faster baud rates can cause similar issues to what I was...
So far this one looks like it does not want to give up it's secrets!
That is it is not giving any clue by device class, subclass nor protocol. 0s for the device and 0xff for interface.
So probably vendor specific. ...
OLD POST UPDATE: Looking to use this simple code to test something else for ability to restart ...
Using this web page the results can be confirmed: numberempire.com/3590089
For that value 3590089 - it confirms...
Well, its there but you have to know about it.
If you go to the pinout card, you will see pins 14/15 being documented as S/PDIF out/in.
If you go into the audio design tool (https://www.pjrc.com/teensy/gui/) and...
Found this that might be of interest going further: https://www.linuxtv.org/wiki/index.php/RealTek_RTL2832U#Device_info. Interesting so I put it here so I don't loose the link
I've updated the 6 main product pages to have the word "analogWriteFrequency" (in the Digital Pins > PWM section) link directly to the part of the PWM page about controlling the frequency and which pins are associated...
Agreed! The idea of 50mil headers makes me cringe! It also defeats the idea behind these boards: A convenient and rapid way to prototype using breadboards.
I'm also in agreement about the RF noise these will begin...
So I ran a few more tests and I've boiled it down to 2 issues:
1)I'm using the Adafruit_DotStar library which in it's current form does not play well with SPI Transactions. I dug through the source code and came...
The purpose here is to improve compatibility with code designed using Arduino Uno & Mega, even if we can't get to the bottom of what really went wrong with JaredReabow's system.
I do not believe adding a...
As noted in post#3 by Paul - it works here - using T_4.1 and a known good cable.
Not ever seen such a thing here, other than using the while(!Serial) in some fashion needed before the fist output will show - and...
@MarkT
I'd be interested to know how (and try) to do it. DMA? Certainly I can see a processor based frame buffer, but just writing a 256x(say)80 screen region pixel by pixel with 16 bit pixels and SPI speed seems...
On a related note, what are people's views on CPU demands versus performance with these filters? Currently the simplified model version uses between 6-7% at 4x oversampling. I think I can get a 4x oversampling version...
I much prefer standard 2.54mm/0.1" mounting. 0.050" headers, especially female headers, are more difficult to come by and more expensive. And the only way you can mount them is with a printed circuit board. Other...
Hi Kurt,
it prints this:
USB HID Device Info Program
This Sketch shows information about plugged in HID devices
*** You can control the output by simple character input to Serial ***
R - Turns on or off...
Hello guys,
Thank you for all these considerations and sorry for the delay. We moved on other points of the project and don't work full time on it.
@mlu
Yes we thought about that but MIDI feedback is sometimes a...
What about 0.050 pins with a pin out where every other pin gives you a Teensy 4.0 pin out and the pins between bring out extra signals? Cut off the even pins and the 0.050 device goes in a breadboard. OK, throw...
Hi Frank,
Not sure the second one has HID or not...
But again maybe try plugging it into T3.6 or T4.x with one of the USBHost_t36 examples like I mentioned.
And at about line 62 in USBHost_t36.h uncomment the...
For those of you who are interested in this sort of thing, here is a comparison of the current filter based on Huovilainen's simplified model with his full model. Input is a very low level 70Hz saw, and both models are...
WOW!!!
That's absolutely awesome! Exactly what I need! Very many thanks for pointing me to this! I searched around quite a bit and can't believe I didn't stumble across this during my searches! Absolutely...
Hope was that the post #6 code would be a starting point to show the switches working. It is just a Bounce2 example modified as noted for two buttons.
If that works to reliably read the two buttons and print FWD,...
A better solution instead of TimerOne would be to use analogWriteFrequency. The Teensy 3.2 allows up to 3 different frequencies (FTM0,1,2).
You could use pins 3 and 5, for example, as follows:
...
please not.
A optional extra shielding, housing would make sense to sell... the faster Teensies more and more become a transmitter.. a lot of EMI :)
Try to use a DAB radio in the same room! (a little...
Regarding the teensy 0.1" header which is so fantastic for breadboarding stuff, but to go faster maybe denser is needed. Maybe make a teensy with 0.50" posts, and sell adapter board for 0.1" header to make bread...
I think I did measure the performance of the various FFT types a while back on the T4, though I guess it matters more
on slower chips - I only have T4.0 and T3.2 at the moment to play with.
The theoretical number of...
Thanks very much! This is exactly what I needed. S/PDIF and toslink is working perfectly for me now over pin 14.
Per your advice, changing my code to the following did the trick.
AudioOutputSPDIF3 ...
Hello all, first time posting here. I have received a lot of good info here reading past posts. Now, I'm confused...
I am trying to build an old-time floppy disk controller for aligning drives, starting with eight...
Well I guess you just have to assume they are the same, or close enough, and apply the equations anyway - the
test circuit is ratiometric so the absolute resistance isn't important.
Thank you MichaleMeissner for the write up. Atm I think I will stick to my current way to doing CharliePlexing... might be kicking myself down the road but I can see a finished project by doing it this way.
However...
i made change in the code when I was able to get others values but can t remember what did I changed... I m lost with these piezo :-)
maybe my piezo are not the good ones?
The new Stick arrived sooner than I thought.
Attched the output from Usb Device Tree Viewer.
Interestingly, it does not show the IR Recceiver (but it must be there).
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,...
Thanks for the responses. Paul I did the same test you did with two exceptions. I bypassed the line in and line out series capacitors and fed in a very clean DC signal into the ADC and measured the DAC DC output signal....
Short answer is that i2c_t3 doesn’t work with teensy 4.0 or 4.1 you will have to switch to just using standard Wire library. But I don’t think wire supports wire.stautus
MarkT,
I understand the physics - I just can't find a way to physically access the X+/X- & Y+/Y- wires. Here's a photo of the back of the display, showing the flex cable routing. There doesn't appear to be any...
HI,
I trying compile an already compiled program for 3.2 on a 4.0.
I have error concerning I2C
Question on libraries/i2c_t3/i2c_t3.h :
#if !defined(I2C_T3_H) && (defined(__MK20DX128__) ||...
This is how I2S works.
Teensy sends BCLK and LRCLK to the SGTL5000 chip. Then it transmits data bits on each BCLK. In the mode we use, the SGTL5000 has no control over the clocks. It has to use whatever clock it...
@Clarkie1234
I sent you a very brief reply to your PM suggesting we correspond via email. I have a working 44.1kHz wide spectrum display for my audioSDR that works with Teensy 4.0/4.1, but I haven't even tried to put...
Because chips like this are synthesized from hardware description libraries shared between many other chips, the
silicon foundaries don't start afresh for each design, they have libraries of functional blocks and just...
Yes I realize that the it is only spec'd to 96 kHz. I guess I was hoping there was some magical overdrive mode.
The real dilemma I am having is that it appears the sgtl5000 ADC outputs 32 bits and the DAC accepts 32...
Again as you mentioned maybe, as I added the ability to pass through the partition number on that begin, that maybe I should just try that and maybe again only
need to object types still. Will try... Probably easier...
@KurtE - @wwatson
Would think you would need a UsbFS pointing to each partition?
Think it was like my thought that for each partition you need a addfilesystem(....,....,..., partition number) so it would know to...
@mjs513 and @wwatson - Yes I think it would be a good place.
But right now I am trying to rethink some of the integration of the MSC stuff into MTP... Trying to decide how far to try to take.
Things like: If we...
Hi
I'm using the latest version of ftrias TeensyDebug, but having a problem. The debugger works mostly fine, but after debug exit I need to restart VS or the debugger won't start, that's very time consuming and...
Wow, that's a good one. My first guess would be errors in the FFT get passed back through the iFFT. I'd use a good signal generator and feed the FFT with various sine waves, examining the FFT output for anything...
...Linux says, it is "usb-storage" (but it isn't)
frank@frank-lubuntu:~$ lsusb -v -t -d 1d19:
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=ohci-pci/12p, 12M
|__ Port 1: Dev 2, If 0, Class=Human Interface...
I implemented the convolution, it works but a noise appears with the output signal...may you help me to understand how to cancel this noise ?
Thanks and best regards
MarkT,
That is a very good idea, but I don't have a clue where to find the X-/X+ and Y-/Y+ terminals. There's nothing labeled like that anywhere on the display I have from PJRC (or eBay), and I've even popped the...
LOL :)
Ok, if you want to use it for other things than FM you'll need different Antennas etc. , and for lower frequencies a little hack to the hardware is needed (Or a frequency shifter)
But FM works good without...
Kurt, yes, RTL2832U & R820T looks good.
The dump i posted above is from a different one (has a different "tuner"-chip ) but I've oderd the one from the Amazon link I gave above that will arrive tomorrow.
However,...
Quick follow on:
I just pushed up changes into my branch: https://github.com/KurtE/UsbMscFat/tree/VolumeName_SD
To hopefully have the MSC wrappers for the files/volume now call into the new PFs... stuff.
Including...
Morning all (or time in your part of the world),
Starting to play with MTP again...
First off: Integration question, probably for @PaulStoffregen.
In an SdFat-beta project issue conversation with Bill about...
Looks maybe like this one? https://www.amazon.com/JahyShow%C2%AE-DVB-T-RTL2832U-Receiver-Compatible/dp/B01H830YQ6/ref=sr_1_8?dchild=1&keywords=RTL2832&qid=1614606952&sr=8-8
https://www.amazon.de/gp/product/B07DJT5NHD/ref=ppx_yo_dt_b_asin_title_o02_s00?ie=UTF8&psc=1
It is intended for DVB-T, but there is a lot of Linux and WIindows Software (try "Airspy-SDR#") that uses it as SDR - it...
A and #A form a pair, B and #B form a pair - those can be routed as twisted pairs, but twisting A with B will risk
crosstalk between the quadrature channels.
Each RS422 pair needs termination at the receiving end,...