Well, I remembered that I'd seen T4's at the local electronics store (You-Do-It Electronics in Needham, MA), so I jumped in the car and got the last one! So back in business tomorrow morning.
A few more comments on...
Here's my tested code, 2 oscillators per voice, only 4 voices to get going. I'm using USB device rather than USB host, so you'll want to change that, and alter the analog pins to match what you are using.
#include...
@MM - instructions will be handy - there was a recent note about those close pins to battery holder needing trimmed/attended to in some fashion.
Interesting - you guys got one already - USPS says something to be here...
Thank you again defragster, I've got it *mostly* working now in that EEprom writes are no longer blocked and the list of dirty kludges has diminished to ONE. Yay!
All good Brad.
The octo board is good to get your feet wet and quickly connect to pixels using common easily accessible materials like the cat5/6 cables etc. Its not really intended for long runs etc.
I have...
@loglow
Dan,
I've assembled the new board - thanks very much for including me. It went very well, much smoother than the first Beta - took about 3.5 hours with quite a bit of time spent working out a sensible...
Teensy pins 24 and 25 are the hardware UART port Serial6 (pin 24 is TX6, pin 25 is RX6). From the schematic, teensy pin 26 is hooked up the ESP32 IO0 pin, teensy pin 28 is hooked up to the enable pin, and the 3.3v and...
Hey Crees, thanks again for your response. I'm not really sure what you mean by "my approach" since, really what I'm asking for here is what is the typical use for the Teensy and Octo boards for LED animations.
I'm...
We are trying to use the Teensy 3.2 in a build but a few of the USB headers from our Teensy fell off.
The solder pads on the Teensy 3.2 look good, but it would be nice to a few extra heads on hand in case we need to...
I'm using a teensy 3.6 to try and do some searching of twitter using the Temboo website and library.
Unfortunately I've fallen at the first fence.
The library is designed for the Arduino Yun but anyway always was up...
Great, thanks for your input neurofun.
Thank you so much for all your answers and effort to help me!
I'll report back if there are some interest of that.
Yes, looks exactly like that photo and J8 is open and the the device is 4-wire serial interface as I double checked the jumpers.
I have 5V sensor output to supply the screen from the ECU so if it'll work better with...
This guy has what you want. Just replace all the Adafruit_HX8357 with ILI9341_t3 and make a few other pin assignments. He also has some great plotting software.
https://youtu.be/U5hOU-xxQgk
Sorry, hopefully someone else up here can give you more definitive stuff...
But I personally have had better luck with +5v to the display an in one case I actually retrofitted their display to use +5v, which required...
After running some quick tests I haven't been able to reproduce either of your issues using the latest MacOS Catalina 10.15.2 to any degree of certainty, on the first launch of the IDE when doing cmd-f the search window...
You only need to update pixels for the needle so there's no perf issue and the needle can also overlap the background graphics. You can even have a texture for the needle for some added visual flair. The challenge is to...
Ok, here is a first question just to be absolutly certain that I'll not breaking it directly.
It says: *We use pin header connection,5V power supply and 4-wire serial interface by default.
sumotoy says in his...
Thats fantastic man. When you're ready to share it I'd love to check it out! I'm sure a man of your skills is putting together an amazing product! And I love the op-1, btw... lol. Now you have me very curious... are the...
I have one oscillator per voice right now, but I'm not using the stock Teensy oscillators ;). My synth is about the size of an OP-1, and it kinda works in the same way. Depending on what screen you're on and what you're...
Yes I always figured the way I wired it up may not be ideal, this is my first ever stab at a synth and my coding AND synthesizer skills are limited at best, though so far I think I've muddled through ok...lol. :) In the...
I've seen two issues with the Catalina install (running on Mojave):
When I open the search box with cmd-F the first time after a fresh open, and I start typing, the first few characters in my search always go into...
Thanks Paul! There's the missing piece.
I must have searched for "uart0_status_isr(" (including the opening parenthesis) and that's why I didn't get that reference in my results.
I *really* do want to learn...
Hmm... well, "voiceToUse + 8" certainly looks suspect.
If voiceToUse + 8 goes beyond the size of the array, it will probably lock the Teensy up. I'm amazed it's not locking up as is.
I loaded syntharch.h into the...
@jonr
Yes indeed, those points are connected through pin6.
Now if I move that ground plane via 1mil(0.0254mm) up, it then passes DRC.
I suspect there might be some difference between Kicad versions, or different...
Morning @KurtE
This cold is kicking my you know what. Had to crash for a while. But before more coffee.
Think you should - it would make life easier to use DMA with ADC. As for using a display - think that may...
So I'm trying to set up your code wcalvert and at first I noticed that the pot was only selecting between two waveforms, and it looked like you had it mapped that way so I changed the mapping to reflect 0 -3 and then...
Good luck... When it arrives and or if you have additional questions, it might help to put a link in to the exact one you ordered...
More details about some other experiences with these dsiplays up in the thread:...
Thanks for quick respons KurtE.
Of course I was a fool not to ask here before I ordered it but it is what it is...
Next time I would definatly follow your advice about the spec.
It looked like it could be...
I See it connected the same way as jonr with no errors in the DRC, plus can verify continuity on a PCB here. I'll add more GND vias, move the traces around the crystal, add decoupling to the MKL04 and then re-upload the...
You'll probably need to modify the source, since tx_state is declared static.
But regardless of how you go about things, hopefully this info about how the USB device code works will help.
Hi All,
Having an absolute blast using the audio designer. It's fantastic!
I'm working on a project that uses a bank of bandpass filters and I'm trying to figure out a good way to allow them to self-oscillate.
I'm...
The question is, do I extract the simple class I put into the sketch and make it a reasonable library class object. If so should probably clean up, probably remove direct access to variables, but instead have helper...
In my Kicad, those points are connected (through the pin 6 area) and it passes DRC. But you could check the gerbers to verify. Do add more ground vias - think small loops and short, low impedance connections, not...
It has been a long time since I played in this library.
But the first thing I would do is to turn on DEBUG stuff. Go into USBHost_tt36.h and uncomment the line:
//#define USBHOST_PRINT_DEBUG
I would plug in...
Yes, I'm using a function from usb_dev.c. But I have been trying not to modify anything. I just include the usb_dev.h and usb_desc.h.
The only thing I modified so far was the descriptor and major change there was to...
Thank you for this - it’s exactly my plan: draw the frame in the setup and update the needle position in the loop.
But, my maths has not been put to practice in many years and thats actually where I am stuck.
Ill...
Was looking at "I could get ADC and PIT/XBAR to work together https://github.com/manitou48/teensy4...pitxbaradc.ino" and what it is doing is chaining A0 and A1 and then the PIT triggers using XBARA to link to ADC module...
Or with a Teensy with more memory like T3.6/3.5 or T4, you can use the ILI9341_t3n library and turn on using frame buffer.
With this you can write the code pretty sloppy and for example each time you wish to update...
Yep. Didn't pick up the bug fix in adcl_t4.cpp. When i copied the example forgot to copy the updates to the lib. Oh I already changed the && to ||. Like you said other wise nothing prints.
Now its working fine. ...
@manitou - Thanks for the links. I cloned your Teensy4 test project, as to make it easy to find...
I saw that you had a few of these sketches.. Will look some more.
What I am/was curious about, is suppose I...
Look at the _VectorsFlash array in mk20dx128.c.
https://github.com/PaulStoffregen/cores/blob/master/teensy3/mk20dx128.c#L268
Also, if you *really* want to learn how the processor works, consider getting Joseph...
@mjs513 - Make sure you picked up the bug fix to enableDMA in adcl_t4.cpp
void ADCL::enableDMA(int8_t adc_num)
{
if (adc_num == 1)
adc1->enableDMA();
else
adc0->enableDMA();
}
Hi, I've just started to get into ARM programming. Up until now I've only used Arduino and some other tool chains / APIs that didn't require me to think too hard about what is going on under the hood.
My...
The main choke point in pretty pictures would be the display rather than the teensy because of the time taken to send one screen worth of pixels is fixed by the display interface. If you can live with the needle not...
@manitou
Thanks for the references. Was poking around your repository yesterday looking what to get ADC and PIT/XBAR to work together. Kept going back to the beta thread to get your links :)
Hope you'll confirm whether or not soldering a wire between those 2 points makes your board work. That sort of feedback can really help everyone else in the future when they're struggling to diagnose a custom board.
Hard to say with just the datasheet, as there are lots of configurations of that board, so a lot depends on what options/version did you buy?
Like: What type of Interface did you choose? And in this case what type...
You can try:
filter.update(gx, gy, gz, ay, -ax, -az, my, -mx, -mz); to be honest not sure about magnetometer may have to change the sign on that as well to maintain a right hand rule. changing the gyro might be...
There is a "show/hide board ratsnest" button in the left toolbar.
The bottom left statusbar clearly shows "unrouted 1".
Performing a Design Rule Check will also reveal unconnected items.
From T4 beta testing, i had a proof-of-concept sketch for ADC with double-buffered DMA. I only count ticks in the half/complete ISR.
https://github.com/manitou48/teensy4/blob/master/adcdma.ino
and I could get ADC and...
@KurtE
I gave your new DMA sketch a test last night and this morning. Looks like only adc fires if 2 adc's are used. In other words if I use adc_0 for pin 15 and adc_1 for pin 14 only adc_0 DMA ISR1 fires and data...
Looks like you're calling the not-public API functions within usb_dev.c. That's fine... the code is open source and meant to be used. But since these aren't the normal public API, their precise functionality isn't...
The axes are match because of the orientation of the of FXOS8700CQ. In otherwords it rotated on the prop shield so that the axes are aligned. In your picture the 8700CQ would have to be rotated 90deg clockwise and the...
Wow, looks like a really interesting project. Hope you'll share some more info as it develops?
I'm really curious to hear if you see much of a difference in timing & latency with Teensy 4.0's USB MIDI, which is 480...
The pin13-PTC5 is intentionally not bought out, this board is purely to test a custom build. Strangely on my KiCAD it doesn't show a disconnect on the GND plane at that point.
Hello,
I posted about a year ago about an issue with my mice being stuck at 500 Hz using USBHost_t36. Back then I though it could be a hardware problem.
I unfortunatly reproduce the same issue on a teensy 4.0.
I...
Hi,
this question is about the achievable delay of a Teensy device.
From my measurements it seems that the minimum lag I can achieve is 1-2x the polling interval.
I am trying to reduce this to about 0-1x polling...
I modified an example of code to determine the approximate speed of Teensy 4's analogRead() at 600Mhz; then, I tested different clock speeds ranging from from 24Mhz to 816Mhz to see if changing frequency led to slower...
Hi
Due to my little knowledge about electronics I would really appreciate some guidance on how to connect the screen in the below link to my Teensy 3.6.
...
Theremin GUI on previous (abandoned project) version of teensy theremin - on Teensy 3.6
Teensy 3.6 performance is too low. E.g. 60MHz F_BUS gives too low precision for reference frequency.
Phase shift was...
It is not recomendet to use the internal diodes because the current in this diodes will disturbe the multiplexer so that OTHER INPUTS will produse false results! We use 6002 opamp with 3v3 supply.
Hi,
I've been working on an Ethernet transport layer for the Audio library which is now ready for beta testing.
https://github.com/palmerr23/EtherAudio - this repo only contains the added/changed files, not a full...
Yeah, the sample data is stored at the end of the file which takes bulk of the file, so you just cut some of that data out but memory past your buffer is still referred from the sample metadata. Lucky for you Teensy...
Yeah I was afraid of this.
I am actually loading a big music data file in 512k buffer now, plays beautiful if the file is not too large for the destination array buffer.
Funny part is it will play even if buffer is...
You could load the music data from SD card and store it in flash, but it must exists in the memory all at once. Unlike mp3 which can be streamed, the PMF data is randomly accessed based on the played music data. For...
One more noob question: are you loading the music data from the SD card?
The reason I'm asking is because I'm not sure if I can split the song data file and play it from let's say 126kb array buffer. :confused:
Well...
The format is actually documented in doc/file_format_pmf.xlsx file. The signature is "pmfx" .. don't remember why I added "x" there but the signature must be 4 bytes to make the rest of the file data properly aligned,...