Wow. Thanks for the offer. I am only testing USB right now, no underside pins, so maybe about 8 or so. Don't want to push my luck :)
I do have a question, if I may. I was reading that a minimum I should have a...
I am using a different dongle so this is what I get and then it just hangs after that:
USB Host Testing
960
*** Device Bluet a12:1 - connected ***
BluetoothController::find_driver driver 200040d8...
Greetings,
I've been searching these forums for weeks for a similar issue, but must not be asking the right questions.
Here's the TLDR:
After upgrading my Teensy 3.2 to 3.6, I started having issues once I...
If SPI settings are set to SPI_MODE3 clock signal should idle at HIGH but before doing:
SPI.beginTransaction(LTC6811_SPI_config);
and after doing SPI.begin(); being
LTC6811_SPI_config = SPISettings...
I believe they were this one, 12.5 mm height.
https://www.aliexpress.com/item/100pcs-Spring-Loaded-Pogo-Pin-Connector-9-5-10-0-11-0-11-5-12-0/32910364279.html
How many do you need? I have plenty left over. We...
I must confess, I haven't used WM8731 in slave mode (Teensy as I2S master) since the very earliest days of the audio library. Before we had the STGL5000, I did some of the earliest development using a MicroE-506 hacked...
One thing I was noticing when using the Mouse.ino sketch. And the other one as well. When I have the code in to the bind...
I notice: the debug output:
USB Host Testing
960
*** Device Bluet a12:1 - connected...
You can use a built-in pullup or pulldown to keep an input from floating near Vdd/2 where MOS gates have excess power dissipation. A "keeper" automatically switches between pullup or pulldown depending if the pin is...
It's like a pullup or pulldown resistor. Unlike a fixed resistor which always pulls towards a particular logic level, it weakly pulls the pin in whatever direction it already happens to be. This is a nice advantage if...
May I ask the question, what means keeper? what is the equivale circuit? I never saw that in electronics, I was checking equivalent text for the T3.x and I could not find this term.
Yeah, that was what I was thinking but today is one of those days that I keep getting sidetracked with other projects around the house that I have to get done. Or it could be a power problem since I am coming off a...
@JBeale,
Not sure the best way to handle this. There are a couple of options, maybe put it into the initialization function for ADC, but not sure what that would impact. Don't think it would.
Anyone reading this -...
Yes! Thank you, I can confirm that adding this line to my setup removed the glitch around count 2078 that I found earlier. Now when you look at the standard deviation along the curve you see only the typical...
Thanks Frank. I fetched your copy of Audio lib and tested MQS with 100 uf cap from pin 12 to speaker and generated 440 hz sine wave
// teensy4 mqs frank's audiolib pins 10/12 rt/left
// start monitor to hear...
Hey Paul, I'm waiting for a new soldering iron tip and haven't had a chance to hack the board yet. I did, however move things around a little bit for the next revision board. I moved one of the .1uf caps right next to...
Ah yeah, thanks very much, Paul! I hadn't even considered that. I've fixed this now, and it solves the issue with Serial.print(). Still no sine wave though. :( Do my connections look correct in the schematic? I'm seeing...
When profiling performance, always make sure your calculations have side effects (with minimal overhead) to prevent compiler optimizing out your profiling code. For example keep accumulating the results and print out...
That does sound very frustrating :( I glanced at the Bt debug code - it seemed the trace_tt could go in place of those prints for logging in real time and then printing after the event
Ok. This is getting frustrating. Went off and ran a few other sketches then came back to Bluetooth. Now its hanging again when I do the debug prints and if I comment them out it gets to the point of connecting to...
I checked this morning and it looks like keeper is enabled by default. But whats interesting is that you only see it once. To disable in setup is relatively easy: IOMUXC_SW_PAD_CTL_PAD_GPIO_AD_B1_02 = 0xb0; This of...
Thanks a lot for your helpful comments. I just got my Teensy 36 this morning. I am now learning a lot. I am very glad to have a board with floating-point capability without an operating system. Expect further questions...
CMSIS-NN IMAGE RECOGNITION EXAMPLE
A while ago I ported over one of the CMSIS Neural Network examples to run on a T3.x using the DSP v5. So I decided to do a little benchmark between the T3.6 and T4 for a CIFAR10...
Definitely use OctoWS2811. You'll need the non-blocking feature to be able to reliably receive DMX message which arrive while the LEDs are updating.
There's an example which plays uncompressed raw data from the SD...
Yes, the compiler is amazingly good at optimizing away math when all the inputs are constants known at compile time.
Also consider using cosf(). The normal cos() function, without the "f", uses 64 bit double which...
Having experimented with this a bit more, it seems that 600uF (2x 1000uF in series plus 100uF in parallel) fails to start, with a rise time (10% to 90%) of around 2.6ms works about 10% of the time. 500uf (above but with...
You could try with d=random(min, max) instead of 0 (I let you decide which min and max are best), so that the MCU has to do the math every single time in your infinite loop.
The plan is to use DMX values to trigger different video files from the Teensy SD card. No audio and the files are small loops. To output on addressable Led.
I am in the really early stages and looking at the...
I wanted to measure execution timing of floating point cos routine using the following program:
int led = 13;
void setup() {
pinMode(led, OUTPUT);
delay(1000) ;
Serial.begin(9600);
...
I'm trying to make a new Teensy 3.5 based PCB which uses the WM8731 for audio in/out. I've had an enitire prototype PCB made (they're so cheap nowadays it seemed easier), but I've only populated the parts shown in the...
Basically, the human ear can (in the best case) perceive dynamics of ~120dB which means that true 20 or 21 bit would be sufficient to cover everything.
Using a higher resolution (24bit or 32bit) during digital signal...
Today there really isn't any way to use those bits.
That sine code was pretty much just a math experiment, back when William Hollender was working on a board with the CS4272 chip. Sometimes I do stuff like that......
thanks for your replay Paul
im gonna use TCA9548A for 8 screens.
here is some pics from my project:
https://drive.google.com/file/d/1FC43-YLdyAmw2iPpGBQ3EBEGjiaIieWJ/view?usp=sharing...
Has anybody managed to get the audio library to play from SD and read long filenames too?
Im writing a file browser to display and allow users to select files and navigate directory. using 8.3 filenames is something...
You might as well using only a single 0.1 uF with this poor layout choice. There's no point to have 3 of these capacitor in parallel if they are all in the same location. The purpose of 3 separate capacitors is to...
After solving the persistent GND problem on the bench, believe it or not when I put it into the final set up, it would act up and show a wild LED pattern when turning on. Then I saw your post and added the capacitor and...
Hi,
if I connect my Teensy 3.5 to a 3,7V LiPo Battery (1000mAh) "card.begin" fails (testing with SdFormatter example) with
"SD error: 40,10001" or "SD error: 43,20001".
When connecting the Teensy to USB-Power...
thank for your deep replay gerrit ill dig it as allways
i have an old oscilloscope i m not realy sure how to mesure it but ill try to do it when all the board will be soldered and working.
for now im going with the...
First, always connect the pull up resistors to 3.3V when using a Teensy 3.6! Second, a too high value of the pull up resistors cannot damage a Teensy (a much too low value could).
The best way is to use an...
I am totally new to TEENSY Audio-lib and I am trying to understand how it works. Does someone know where the elementary buffer bookkeeping functions like allocate(), release(..) etc are defined? I could not find their...
Sorry, I made a mistake: the Carson formula for the approximate bandwidth of an FM-modulated signal is the following:
Bandwidth = 2 * (frequency deviation + baseband bandwidth of the audio signal)
For an FM radio...
Had a chance to scope the supply and the voltage ramps up from 0V to 4V in about 20ms (on the Rigol DP832).
It seams that is to slow for the Teensy to start properly.
FLEXCAN IMPLEMENTATION CLOCK AND PIN CONFIG
tonton81 and I have been fighting flexcan on and off for awhile now and just can't seem to get it working. I can't see any signal on pins 0/1 at all for CAN2. With the...
@JBeale
Not 100% sure that keeper is on by default, To check you can do a Serial.println(CORE_PIN14_PADCONFIG, BIN) and bounce it against the IOMUXC_SW_PAD_CTL_PAD_GPIO_AD_B1_02 register in the RM. About ready to...
16 Bits are 65536 values. The human eye for example can see around 130 different values of gray (for colors even less)..that"s 7 bit.. :)
I remember a test in a HIFI Magazine, very long time ago.. when CD Players...
The ideal resistance a factor of bus speed and voltage. Possibly the PJRC pages not linked was in reference to 5V T_2's? The 3.3V power of the T_LC and 3.x's are different and a lower value can allow faster bus speed...
@ Frank,
Thanks for the confirmation. I was just curious how to use the lower 16 bits of the AudioSynthWaveformSineHires object.
@ Paul,
Yes, I have read the threads you mention. Personally I'm really doubting the...
i search on web and i also find paul stoffregen recommendation to use 1K to 2k2 resistors for SDA SCL .
but why the pjrc site recommends for 4k7?
i must say that in my last test it works with the 4k7. im a bit...
Yeah its common with soft synth tools because GUI (screen) knobs update too slowly.
The 'filter' object should work with a very low corner frequency but I would think an object that uses less processing and is...
Hi,
I've been trying to setup my RFduino for some time now, but as you guys have already stated the support has been pulled. Would you be able to upload these files, originally downloaded with the .json file, to...
tonton:
I decided to give SPI_MSTransfer a shot. I commented at the end of your development thread. The demos aren't working (although they are compiling). I tried crossing/uncrossing the streams, and moving CS pins...
Tonton (Tony):
I've hammered my brains against the wall for (more or less) the entire day. I've been unable to get your basic examples to work.
The ones I loaded were the SPI2WayExamples -> master, and...
Just accepted my invite to the T4 Beta1 testers and got the hardware; thanks Paul & Robin!
I tried measuring a slowly changing voltage using the ADC A0 input. My voltage source was 4300 uF of capacitance charged to...
Any feedback on this? I've since moved the capacitor to the area you recommended for my next rev. board, but would like to know if my ground plane design is also a potential cause for concern.
if you want to transfer arrays you could also try out SPI_MSTransfer, where it has peripheral controls and callback payload transfers in both directions
This library was developed for high speed data transfers...
change spimode to “8” instead of 16 for 8 bit transfers, if your getting 65535 verify your miso is not swapped with mosi, you can always swap them to see if it works or use a scope. To so a simple test, send a spi byte...
Should have thought of that. I just happened to use an old memory stick I had laying around, think it was only 4gb which work fine - but it was a really old on.
Hope everything is all cleared up soon with the fumes...
Glad you made it out today. Hope the nice weather holds for you until its all gone. Now you can have fun your PS4
Same here with my PS4. So far so good.
Yeah, you probably wouldn't. Think if you run the...
Since the A-weighted SNR is 112 dB, the best case scenario is about 18.7 bits of actual analog performance.
Sadly, TI doesn't give an unweighted spec, so it's really a matter of guesswork how much the A weighting is...
I picked up my PS4 today :D Weather is warmer plus we ran up and down our road with our tractor, which helped break up some of the ice... Then went to town picked up stuff... And made it up our hill.
Now trying to...
I've downloaded the library, but the examples won't compile. I'm compiling for Teensy 3.6, but I changed to Teensy 3.0, then 3.1/3.2; the compile errors are line-for-line identical:
In file included from...
Yes :)
Ok, it does not like my USB-Sticks.
Took a 8GB SD-Card and a card-reader. This works.
I hope the upgrade-trick works with the newest version, too. I'll give it a try in the next days..
Have now to close...
i used info from here:
https://www.pjrc.com/teensy/td_libs_Wire.html
Teensy LC & 3.0-3.6 requires pullup resistors to +3.3V. The on-chip pullups are not used. 4.7K resistors are recommended for most applications.
...
I have a project with a Teensy 3.2 where (according to the spec of an RFID reader module on the 3.3V rail) I have placed a 1000uF electrolytic capacitor across the 3.3V rail on the Teensy.
I have noticed that this...
@Frank B
Would send you the links but have no idea where they are now, and they are too big to upload. I put them in my WIP repository: https://github.com/mjs513/WIP/tree/master/Henetek. And here is the 200Mhz hack:...
Thanks so much
I'm doing this... is this the most efficient way to it?
void myNoteOn(byte channel, byte note, byte velocity) {
if (midi1.manufacturer() != NULL && midi1.product() != NULL) {
String make =...
Hi Paul, double checked, I'm using MAX485ESA+T.
Someone told me it could be a decoupling problem, the problem seems to be power-consumption related, so I'll try with a 1000uF capacitor at the start of each strip and...
Has anyone managed to get any of the SPI slave code, from any of the libraries, to work? I've downloaded tonton's library, and tested it; it hangs immediately when data reception begins. My setup is really, really...
Been playing with a sub-$10 PCM5102 DAC board and it works well using the Audio System Design Tool.
With this minimal code I was able to output a decent sinewave:
// PCM5102 bd Teensy
// VCC Vin
//...
I have been looking for something that allows a slave's data to be read by the master, but I'm doing this on a Teensy 3.6. Are you still working with your library? Does it still work?
I'm positively surprised. I haven't tested much yet, but the first impression is good. Good handling, fast operation, good display.
No operating instructions. An enclosed flyer with a google translation of the...
Hi Wolfgang,
for wideband FM reception, the SDR is in 3x undersampling mode, so your math is approximately right, if you divide the real receive frequency by 3 :-)
However, in all demodulation modes -except for...
Sorry, I should be more specific. I'm trying to create what might be a similar device to what brtaylor is doing. I'm using I2C to tell the Teensy 3.6 *what* I want to read from the SPI port; the problem is...actually...