@defragster - yep it would make sense to add. I mainly put in the else stuff including the is Complete as a quick and dirty test to make sure my settings were not screwed up, such that the conversion/collection time...
Happy :) / Sad :( :: Glad I read the lines right - so small. If @Loglow can confirm and correct easily it seems all in that cable.
I started on the PCB and #36 does connect the two DAT pads and likewise the pin #37...
Definitely this, at least not help with code which has an incompatible open source license.
I do believe this is an interesting application. Right now there's no chance I'll work on a thing like this, since so much...
The Ethernet library does not use the special SPI CS feature. Any digital pin can be used for CS with Ethernet.
Long ago I did briefly attempt this with Ethernet, but it made almost no performance improvement. ...
I don't need a second port because I'm running everything through a computer with MIDI routing software. I'm using in and out through one USB cable. I've got that stuff covered.
I looked at the MIDI...
The good thing is you can use the same control change callback function between all the libraries so without even having all the hardware you aer able to test this while only being connected to a computer and use a...
That looks clean and easy.
Should the setup() of ///// ADC0 really look redundant with 4 commands issued twice to same object?
In the 'not complete' case would it make sense to flag 'no value read' and keep the...
If your MIDI controller is only USB midi you’ll be much better off using either a T3.6 or T4.0 which have a second USB port that can be used as a host for other USB devices like the one you linked. If you want it to...
Kits Look Awesome - Based on Derek's note looking before soldering ….
Using DVM to ring out the Flex Cable:: CLK comes out on CMD? - then staring at it ...
The PCB on connect end shows CLK between D+ and D- but...
Hi! Newbie coder, but pretty good with MIDI. I've written code that sends MIDI notes to my computer using sensors and it's working great. Now I need to do kind of the opposite and I'm at a loss. I need to send MIDI CC...
I have started playing with an IntervalTimer based sketch, that reads in 2 different analog pins for both ADCs. Currently I just stuff them into one array inside the interval timer interrupt handler... I deviated...
Latest update...
My first attempt at MicroDexed with T4 (using PT8211) worked great, except for occasional glitches in the audio, which I suspect were caused by my sloppy wiring between T4 and PT8211; there are...
Most PCB vendors that I've looked at prices for tend to include multiple boards in the price. OSHpark will show the number of boards if you click to order the board. If you live in the USA, if you order boards, they...
Great, glad it worked. :o
BTW, the part about favored pins is only for the drivers that try to get the most out the SPI performance, typically some of the display drivers and I think the ethernet driver. For the...
Is it possible to finish the tutorial with Teensy LC?
https://www.pjrc.com/teensy/tutorial.html
I need the Teensy LC for a keyboard project I plan to work on, hence why I want to try the tutorial with it.
Interesting, that detail isn’t on the OSH Park page for the item, and makes a big difference.
I've already built several of the 3.x PT8211 boards, I wish I'd left one unassembled. But that's OK, I need to order some...
@loglow -
Dan - I hope I'm wrong but I suspect there's a mismatch in the order of the traces on the flex-cable and the pcb trace to pin 36 at the flex cable socket :(
This morning I got the replacement T4...
The licensing concerns means that someone would need to do the port and maintain it in a separate codebase from the core Teensy / Arduino implementation, while respecting the original license. That's a lot of work for...
just got my kits as well. and I like what I'm seeing so far. very nicely done! maybe tomorrow I'll get time to work on one and get to testing.. I work a lot now. so not as much free time :)
for the documentation, this sentence let me think it : "The pin must be the actual alternate pin supported by the hardware, see the table above;" documentation http://www.pjrc.com/teensy/td_libs_SPI.html
English...
defragster- does that mean that porting libltc (which is licensed under GNU GPL) to teensy would not work?
Or that it will work, but can't be included in Teensy's codebase, and so we won't likely get much support or...
Evgeny: I'm also not a very experienced programmer, so I might not get much further than you did. However, I do feel like I've gotten some good support from the Teensy community in the past, and I'm sure others in the...
Hi tonton81,
thanks for your answer.
The car is 2017 with extended frames, but it's compatible with standard frames and requests, because
i have an Arduino Nano connected in SPI with a MCP2515/TJA1050 like this:
...
Could you be more specific about exactly which documentation?
MOSI0,MISO0,SCK0 (pins 11,12,13) are a separate and fully independent bus from MOSI1,MISO1,SCK1 (pins 0,1,32).
You didn't do anything wrong, perhaps your car is using extended frames and not standard, this can be normal. The OBD responses on 2006+ cars are mostly extended id responses.
If you are writing to that ID it may not...
Note, you do get 3 boards when you order from OSH park. But obviously you would need to order the additional pieces (3 capacitors, 3.5mm connector, resistor, PT8211).
Best to check the reference manual for these finer points of exactly how the hardware responds.
But to summarize quickly, yes, when the USB hardware hears an IN token from the USB host, will only transmit a packet...
No, I believe they are separate SPI buses. The main pins for 3.5/3.6 are:
Spi bus 0: MOSI0: 11 (alternate pins 7 or 28), MISO0: 12 (alternate pins 8 or 39), SCLK0: 13 (alternate pins 14 or 27), Favored CS pins: 9,...
Hi Brian, I recently learned a bit about different licenses: it seems (if I understood correctly) that GPLv3 (the license I use for all my code and which is also used by Warren Pratt for the wdsp lib) is incompatible...
Yes, it did already. Thank you. But maybe you can still clarify if these assumptions are correct.
1. The ISR is called when the USB HW is polled.
2. When being polled: I guess the the HW will not wait on the packet...
Hi guys,
I'm trying to make my teensy 4 works with SN65HVD230 CAN bus transceiver module with my car ODB2 port.
Wiring:
--------
Teensy---------SN65HVD230 module
3.3V------------3V3
GND------------GND
CRX1...
As far as the GPL issue as Paul noted - "GPLv3 which means none of it can be used directly in the MIT licensed Teensy Audio library"
That is just saying that unless an alternative licensed library set of code was...
joshnishikawa: It's been quite a while since I've looked at or used this code. I was going to use it for a project that got put on the back-burner.
A couple of points:
(1) Past lines 112-113 of said header file, I...
Thanks for your answer
Transactional configuration is what i'm using right now... seems the best way to manage this multiple SPI settings. The Teensy documentation has been really helpfull :) but nothing about...
I haven't tried it, but the PJRC documentation for SPI suggests using transactional configuration:
https://www.pjrc.com/teensy/td_libs_SPI.html
I'm sure it's also possible to use one SPI bus for each Mode, but...
The following is just my humble opinion if you wanted to pursue porting the code to any embedded platform, Teensy or otherwise.
There is some usage of calloc and free...
Received, much thanks.
Ordering extra T4 boards Friday. Will likely wait until detailed instructions are available so as to test those as well.
I do have a usb microscope.
It's better, but I'd adopt a general rule that you always put a via to ground as close as possible to every decoupling capacitor (see C9). And every separate Vdd pin has a nearby (as in trace distance) decoupling...
Hello,
First, i'm a beginner, so please keep that in mind.
i'm running a device that use 2 I2C sensors + 1 SPI sensor. This configuration runs flawless.
But the I2C devices can also be used in SPI (faster)...
You can do that, sure. If you look here near the top of the file: https://github.com/PaulStoffregen/Audio/blob/master/synth_waveform.h
The waveforms have been #define'd, that's how the compiler knows what number...
So you can call numbers instead of the full WAVEFORM_SINE? And the compiler knows when you map WAVEFORM_SINE to WAVEFORM_TRIANGLE you mean 0 through 3 as well? I wasn't aware of that.
@mjs513 will cleanup...
Also may try an intervalTimer example and see if it works.
Probably won’t be the same as the main ADC library one, but simpler...
Just off the top of the head think there were a few open PRs in the Core for T4: #385, 395 and 397.
For Wire: PR #18 still open
See you merged in the ST7735_t3 PR - Thank you :)
For SPI: PR #55 is still open....
Just downloaded and copied the changed files and gave the "simple.ino" keyboard sketch a try on my Windows10x64 desktop. Looks like the solved the issue with all "hell" breaks loose. Did confirm that it actually...
That's how it's setup to work now. Just uncomment the lines "Serial.printf("Knob 1: %d\n", wave1);" and "Serial.printf("Knob 2: %d\n", wave2);" You should see each changing between 0, 1, 2, and 3. 0 is sine, 1 is saw, 2...
Im Running OSX 10.14.5, And Kicad 5.1.4. Here are some updated files if anyone has a chance to glance over them for silly mistakes before I send to fab.
Changes Include:
Move traces under crystal Traces
Added...
Sorry not at my desk right now,
But as mentioned, there may be solutions, but other than @PaulStoffregen we are all just users like you.
There are many of us who like to help. Suggestion, you might show you have...
Thanks for putting the work in on this. I'm mainly interested in the calibration aspect. I run into a problem on my Teensy 3.6 that, as soon as I add an analogRead() to the loop, the quiescent reading of the touch input...
I committed a fix for this problem.
https://github.com/PaulStoffregen/cores/commit/9026659eaa8ad8df92134f93cb2b8a7af652cf49
Can't say I'm proud of having to add a 30 ns delay. I still don't understand *why* the...
Yeah, unfortunately it is far enough under the steel case wall that I can't get to it, and I have problems getting back up if I crawl under the desk. So I ordered a replacement. And they come in a pack of 15, but...
Hello AdmiralChurch, i am working on a project with a clockGenrator, it would be helpfull to see how yout working code looled like in the end. Could you please post it?
thank you!
ok. but how about after the assembly? i was thinking more along the lines of trying to verify if the assembly process introduced any shorts or other problems.
I thought that theoretically though that data rates on 1 channel one could do up to like 100k in read speed. It's just getting the buffer and the multiple channels..
I thought there might be readily available code...
Multi channel at high rates isn't something I recall as posted. It would take the person having done it or interested in working it out to login and see the post.
It would take some special effort if possible given...
For what it's worth, the PCBs do (supposedly) go through electrical testing via automated flying probe machines at the board house, in order to weed out any defective ones before they're shipped.
Oh, you're lucky. We had one RadioShack here in western MA for a while. Then it closed and re-opened as BRW Electronics (I think that's what it was called?) which was only open for a year or two before closing. I don't...
Thanks for the report, and I'm glad to hear that it mostly went well. I'm very curious to see photos of the socket issue, because I just assembled one with the socket kit and it went pretty smoothly. Now I'm going to go...
You're welcome!
They're in-progress. I'm experimenting with Dozuki's free offering (think iFixit) for step-by-step instructions with photos.
This happens to me all the time. And every time I think "I'll be...
is there someway to test the breakout with power before mating with the T4? seems that if the assumption is the power of the T4 is somehow inadequate then using a generic power supply to test the breakout for shorts...
Hi Tom, for a skilled programmer this would be an easy task, I am sure. I am total noob though and for me the learning curve was too high. Also I must admit I didn't find the teensy community neither helpful not...
Just FYI on a windows machine with python 3.6 I had to run ' python -m http.server 8000 ' on the AudioTool directory and then I had access to localhost:8000, the other command threw an error. I may be new to this but...
I was thinking 4 different waveforms, WAVEFORM_SINE, WAVEFORM_SQUARE, WAVEFORM_TRIANGLE, WAVEFORM_SAWTOOTH, I think they are the most
"musical of waveforms. Is that doable?
Just clone or download the Audio library, open a command prompt, change into the directory where you downloaded it, type "python -m SimpleHTTPServer" and then go to localhost:8000 in your browser, and boom, the GUI...