I want to use MQS and a ILI9341 Display so with the help of MichaelMeissner and KurtE I've managed to move to the SPI1 bus for the display , but found that my touch driver now doesn't work , which I think is still using...
Hello!
I'm working on a python script that generates header files that can be used
with the AudioSynthWaveformModulated / AudioSynthWaveform objects in the Teensy audio library.
The header files contains a 2-d...
PaulS, no that wouldn't work as I need to know the amount of signal coming back. That is essential and important data. It would not be either on or off.
I have a 20 Mega samples per second A/D Maxim 1425 but there are...
My digital meter is at home, however, with the analog one at the office, both the DC jack, and the 5v VIN so ~5v (wire from DC to Teensy disconnected)
EDIT: The ground plugged into the Hot row was moved back...
Not indicated how many RGB LED's are in use? A photo showing the connections might help.
Quick guess based on something observed here : that GND wire may be feeding large return current through Teensy to host USB...
For Teensy 3.1, 3.2, 3.5, and 3.6, there are a few others, but the pins overlap, so if you choose one pin in the pair for DC/CS, you can't use the other pin for the SPI pins:
Paul made this post that describe...
Hello everyone,
I'm having an issue with the Teensy LC.
I've connected an I2C accelerometer (MPU6050) and using teensy as a midi controller.
For debugging, I just compile in standard mode (usb serial) and it works...
Hello!
I am designing a new pcb and i really would like to use alternative pins for PINS CS & DC besides 9,10,15,21,22.
So, is there any way i could do that?
And, just for my information, why is this...
So the default pins for SPI1 to pass is pins 0/1/26/27 ?
are CS and DC any digital pin and my problem pin is just MISO pin 12 ?.
So need to use pin 1 , 26 , 27 and the CS pin is any ?
#define CS_PIN 8 // touch...
Hello Mark! Thank you for your reply! The problem was actually solved by initializing the wave1Values array at the beginning of the linearInterpolation function. If I understood you right, thats what you meant too.. :) ...
Hello Friends,
I'd like to introduce my Pro Audio Series ADC and DAC modules for the Teensy 4 and Teensy 4.1. These modules were designed to provide high quality audio within the Teensy ecosystem. They offer single...
Yes, the T4 and T4.1 actually have a few SPI buses.
They are shown on the released card as well as my excel document and photo made from it:
SPI1 has a few alternate pins for some of the features (on T4.1)...
I am a medium skilled arduino programmer who is migrating to teensy. I am working on a big art project and trying to create a MIDI instrument that uses a set of solenoids (will hopefully be between 50-100 at the end) to...
Thank you , So the ones mark with a 1 on the card are not alternates which can be used with the normal SPI library , but a second independent SPI bus SPI1 ?
I will look for the ILI9341_t3n library and see if I can use...
I was able to get it working. Flasher3b has no problem with 130k code size. uploaded and works.
Thanks for all the help!
Still some more to do, make code with the flasher and test.
I set the drive strength to 7 and looked at the SD CLK signal with a SD sniffer board. It is really being driven. The noise I made with scope probes only caused a data error once.
I suspect the error occurred when...
Hi,
I'm using 4 rotary encoders in my project on teensy 3.5, and i managed to get the first 2 encoders work great with interrupts. they are connected on pins 51,52,53,54.
I copied and pasted the same code to the...
Hi Deane, just thinking out loud here. How does the analog signal that you want to sample, look like? I assume it's pulse-like because that is what the laser sends out. In that case, could you use a high-speed...
Good luck, if you get a working example posting it may help others and show how to use this feature.
Had hope that AN would show the 'enable' KurtE mentions, even if for wrong processor - if it does it is not as...
10MSPS ADC needs a separate (presumably parallel) ADC chip and you need a datapath for it too, this is high speed acquisition.
FPGA's are often used once you get to these kinds of speeds as the hardware needed can be...
All pn junctions are photodiodes and LEDs, if the material is transparent at the relevant wavelength, since photons generate
electron-hole pairs and recombination can emit a photon (although the probability for this...
It looks like ILI9341_t3 does not have support for the second SPI bus in Teensy 4.0/4.1. Some display drivers have a method to access the second SPI bus, some do not.
Note, there are 2 concepts. The first is...
I think you'll need to do some low-pass filtering then. Try an RCRC to start with, that might have enough roll-off and
is very simple. For differential RC filter you have two resistors and one capacitor per stage,...
The logic doesn't look good in linearInterpolation... First you are not dealing with any edge cases, such as when X_old == pTS.x.
Second you are overwriting wave1Values the first time round the loop - you should only...
Can you measure the voltage there? (Without your wire connected)
Take a look at the Teensy schematic. Vin (on the board it's called "5V") is directly connected to USB. So you connect the PSU with your Dell, if you use...
The default volume is 0.3 and 4 x 0.3 > 1.0 so your mixer output is clipping I think. Try 0.25.
Ah, but I think your oscillators are at 0.3 already so that won't be it....
Ah, looked again, you are setting the...
Thank you Pauls
The AD is 1MSPS.
That was known back in january.
I've seen to late that you'd need 10MSPS.That is too much, I don't believe that you can overclock it that much.
As seen it stated in a lot of threads that the MQS uses pin 10 and pin 12 , which is used by the default SPI.
I've tried moving to the alternative SPI pins 26,27,38,39 , with the define the lot. ILI9341_t3 tft =...
Attachment is fixed. I can see your scope screen.
Here is what I see with the code of msg #8 and measured on pin 15 :
The long pulse measures 97.2 ns.
Paul
I was thinking the A/D could do it because the processor is 600 MHz and as of last January no one seemed to know the speed of the A/D.
Maybe more info has come out since then. The manual for the ARM chip is over 1000...
Another quick update - all the new code is in. On a virgin board, the fuses IMXRT fuses are set the first time the MKL02 talks to it. The initialization delivers a unique ethernet mac address as well. The flash chip...
remove EXT from setMBFilter (that function doesn't use that), remove events() from loop, and you enabled FIFO last in setup, which makes your filters not effective, also MB7 is a TX mailbox, so that function never runs...
@Pauls: Thank you - fixed, I hope?
@Deane: If you want the whole procedure exactly as shown in your picture, it gets a little more complicated.. I don't see that you can program that.. This is not meant in a derogatory...
Ok, the 2nd puls (code from Post #8) might be little too fast-.. maybe try it.
If it does not work, we'll see how to make it a little bit longer.
Edit: There is a gap between both pulses. Seeing Post#12, that gap...
Thanks for informing me about the tricks in getting max speed from the Teensy 4.
I would be happy to explain the goals. I am trying to build a specialized LIDAR system with a range up to 1km.
So the timing would look...
Is there a way to configure the Aurdino IDE to look for the teensy library source in a different place? I want to hack on usb_desc.h, usb_desc.c, and usb_dev.c and I'd like to put my changes under version control. I'd...
Thanks Luni and Jonr, I like the differential idea ADC but couldn't get the T3.6 to run at nearly the speed I needed, hence the move to the T4 and T4.1, only issue is that these are sans diff ADC :(
I did not really think, that you would jump onto this idea using "weird" Forth here. :-)
(( I have discovered, that if I use a simple way of local variables in Forth and if I use normal structured source text files...
What do you think would cause it? (Before I added the Level Shifter, the T4 would run without being plugged into USB, now it HAS to be plugged in)
Also, not that I think it would matter, however, it is a Dell.
The for (;;) is a loop (inside the loop())
It is there to prevent that additional things are calld (not visible in your program - teensyduino adds them, invisible)
SO...no...it runs !faster! with for(;;)
Edit:...
What is the purpose of the line?
for (;;)
Wouldn't the loop run forever without this for statement because it is already inside the "loop()" command?
Also, I have a question about a command I have never seen a...
That's right. You should disconnect it. If the voltage comes from external.
Are the wires OK? I had more than once problems with faulty, cheap china wires..
If you have a DVM you can test if the pins on the 74 have...
I soldered the pins I was using, GND and pin 11. The 5v was not soldered as I had read that I did not need it because I am using an external 5v source. I forgot to pull the lead before the photo. I'll solder the 5v...
1) It does not work to just plug the pins into the teensy.
They give no - or very bad - contact.
You need to solder them.
I see no solder on 3 (or is it 5?) Volt +
If hope not both, USB AND external 5V are...
Good morning. I received my 74HCT125 and wired it up based on what others who are using a T4 and NeoPixels . I can no longer get anything to display, even the standard StrandTest.
I am running
T4 Pin11 to 1A...
After soliciting wisdom in this post about a codec to try, suitable for a small speaker, microphone and headphones, I made a breakout for the Texas Instruments TLV320AIC3110.
I managed to assemble it yesterday and...
May depend on which library you use.
But I think your commented code is wrong above: TFT_MOSI should be TFT_MISO
Note: Most of the libraries will do something like SPI.begin() and while doing this will configure...
Maybe move stuff like this back to setup?
AudioMemory(20);
sgtl5000_1.enable();
sgtl5000_1.volume(defaultVolume);
If that doesn't fix the problem, just keep moving more stuff back to the main...
Hi.
I have a ILI9341 module connected to a Teensy 4.1. I have followed the instructions here. But, as I am not using neither the touch capability nor the SD card of the module, I have thought I could liberate one pin...
Maybe you're using the Wire library? (can't tell from only a quick look)
Wire uses pin 18 & 19.
Again, details here:
https://www.pjrc.com/store/teensy3_audio.html
If using Teensy 3.x, use of pin 22 would also conflict. AudioOutputI2S uses pin 22 for data output on those boards.
Just move those encoder signals to unused pins and odds are good everything will start working.
...
i even tried to write a version with the sequencer class and it works fine too.. I have really no idea what I did wrong in my actual code..
The stripped down, working code:
main.cpp:
#include <Arduino.h>...
Things are going back and forth. Since engine coolant temperature changes slow, I used PID$0C engine speed.
I let Teensy4.0 transmit the SID$01 PID$0C request messages every 200ms but can receive only sometimes as you...
Hi guys,
For a permanent light art installation I am using Teensy 3.2 and 6 60led led strips.
I have a teensy 3.2 with an octo board soldered on it. I have cut the connection for usb power, so the Teensy should...
I am testing with 7 for the soon, I hope, release of the next beta. I have had lots of setbacks with fixes for cards that are very popular.
I am feeling good about mods to the Teensy driver. On Teensy 4.1 busy test...
Hello Mborgerson, I've done my best to avoid pestering you and the others on the forum with this topic and I think to my credit I did OK...for a while :p
Your help along with the others who assisted on the topic...
Can you reproduce the problem with a simpler program? This one appears to depend on MegunoLink.h, Display.h, Filter.h - maybe other stuff?
Maybe try testing with the Arduino IDE and the Encoder library examples? ...
FWIW, the blink program we pre-load on every Teensy is slightly more than it seems. It's actually this code:
https://github.com/PaulStoffregen/USB_Tester/blob/master/extra/USB_Tester_Blink.ino
(Edit: looks like...