It makes sense on any teensy, hardware support isn't a necessity for a PTP implementation. Hardware support only changes the layer at which the NIC packet timestamping occurs, and hence the quality...
Type: Posts; User: macaba
It makes sense on any teensy, hardware support isn't a necessity for a PTP implementation. Hardware support only changes the layer at which the NIC packet timestamping occurs, and hence the quality...
Looking great, I didn't see any reference to ethernet MAC pins but I assume they're accounted for. Hopefully also the ability to access 1 or more 1588 related timers? (If this SKU has a hardware...
The minimum - a 1k resistor in series (therefore limiting the current through the internal clamping diodes).
Downside:
Less S&H charge current for the ADC so might increase the variance in...
Logical; for sure. Good behavior; certainly not.
Once 0 has been set once, it seems any positive integers after this point don't work. This would be ok if documented but it's not in the GitHub...
Figured it out - passing a frequency of 0 creates some kind of unrecoverable fault. Coercing to 1 or higher fixes it.
Code running on Teensy 3.6:
https://gist.github.com/macaba/33813b083b226fead09bfc127f83d7a2
It's so simple, I'm sure I'm missing something obvious...
The sketch as-is won't output any tone...
This was interesting reading:
https://www.degruyter.com/downloadpdf/j/ipc.2014.19.issue-2-3/ipc-2015-0006/ipc-2015-0006.pdf
It would seem to suggest (for the DLP2000) that each data line of the...
Hello!
Interesting timing for your post - I'm looking to control a DMD (DLP2000) for some optoelectronics research.
What I've determined so far:
The DLP2000 is driven from the TI ASIC with a...
Thank you giabinh, I've got a project that this is perfect for. I like the clean API.
11470
A friend and I built his 747 cockpit from real parts. I've built about 12 Teensy boards so far to interface various panels and motors to the simulation software (Aerowinx PSX). In a nutshell...
I recently had a similar issue on a PCB that contained plenty of parts designed to reduce noise (linear regulators with good rejection in the expected power supply noise region feeding my analog...
This is really great stuff, I've subscribed to this thread.
FYI for anyone who comes across this thread - I wanted to use USB during development for debug output, so I used this macro to eliminate the interrupt jitter:
NVIC_SET_PRIORITY(IRQ_USBOTG, 200);
I think this makes sense given the noise problem & the target market, and would say that alongside the release of a Cortex M7 it would make sense for the community (or Paul, time permitting) to...
As practical confirmation of the theory - when looking on the oscilloscope with infinite persistence turned on (150kHz PDB rate), the difference between 'USB Type: Serial' and 'USB Type: No USB' on...
A small update:
I've been testing the top end speed using the non-DMA sketch above. I can get upto 266kHz over 4 channels which is brilliant.
Things to be wary of during testing - sometimes you...
Thank you! Kudos from me.
I'll give this a go, your explanation is fantastic.
I've got a low impedance driving my ADC inputs so I should be able to set averaging to 1 to give me much more timing...
Hi all,
I've got my Teensy 3.6 acquiring from 2 channels, using the 2 ADCs, continuously using Pedvide's ADC library. (with the practical settings I've picked, I get adc0 interrupts at a...
I don't think it's too bad - take Paul's barebones code, add UDP and PTP support and you've got the bare essentials for messaging and synchronization.
(In the typical application for PTP - I don't...
A cursory glance at the AES67 specification indicates the requirement for a PTP stack - so the Teensy 3.6 with native ethernet would be recommended instead of wiz850io.
(Teensy 3.6 has hardware...
Perfect, I'll keep releasing real-time oriented objects. When I've used them a lot and they're confirmed to be bug free, I'll look at doing pull requests.
I've seen there is a F32 fork of the...
Add this as a private variable to your class:
audio_block_t *inputQueueArray_i16[2];
Edit: Looking at the float fork of AudioConnection, I'm not sure if my suggestion is helpful. It would be...
I think there is a case of confused terminology here - A Noise Gate isn't a modular synthesis thing, it's an industry standard live audio processing thing.
Example device:...
It's not a direct comparison as Envelope generator is externally triggered (using noteOn()) whereas a Gate is signal triggered (using threshold(n) to set trigger level).
Envelope = for synthesis,...
It's common in live performance to use gates on things like drum kits to clean up the sound from the mic on each drum.
(https://en.wikipedia.org/wiki/Noise_gate)
From an audio waveform...
I've got this new object:
10491
Which replaces all this spaghetti (not all wires shown - it got difficult to see where I had wired to):
10492
The CPU load scales with inputs, so if only...
And the removal of 140 audio connections & the lower complexity of the diagram leading to less bugs. Would you write messy C code?
Paul; please don't disincentivise wanting to make a contribution,...
Thank you Paul, I got it working and added it to the Audio System Design Tool too (on my fork).
Brief testing shows it works, I'll be able to do further testing once I've got a TDM board.
It...
Is there any audio library developer documentation out there?
I'm making a 'AudioMixerCrosspoint16' object that will mix 16 input signals to 16 output buses. I've used AudioMixer4 as my template...
Of course.
This now seems entirely obvious. Consider me ashamed!
Interesting, I'll have to read the documentation on that out of curiosity.
I'm just designing my signal chain in the...
Hi Paul,
This is fantastic work.
I'd like to design an application-specific audio mixer (for use in flight simulators, using an ethernet port for control), this looks to be exactly what I need....
Typical solution for this is to maintain a short buffer on the receiver, and then slowly servo the consumption from the buffer (either reusing a sample, or dropping a sample) to keep the buffer half...
Frank - this looks like it could be an interesting option for T3.6 - http://www.ebay.co.uk/itm/142158928979
Strooom - Do you have a pin list of required pins?
e.g. Dir/step pins on specific timer pins, etc, if applicable.
Obviously most other pins can just be remapped.
I would say that if we're both going to make the effort to learn something new, I'd say KiCad is the right option despite my struggle with it. (Just needs a new way of thinking)
This is almost...
Honestly I don't think I'm going to give a satisfactory answer here - as I am a user of proprietary (i.e. not open source) software (Proteus PCB Design). I've tried using KiCad 3 times in the last...
I'm happy to report that I've got this all to work!
Thank you, this'll provide many hours of fun.
Note: Changing I2S object to dacs object (for Teensy 3.6 DACs) works nicely.
Superb work! I look forwards to giving it a go.
I was particularly amused at the youtube automatic transcribed subtitles during the LFO modulated sound demo at the beginning 'oh no oh no oh no oh...
I'm sorry to say that protocol analyzer costs too much for me to add it to my tool collection (who doesn't love more tools?!) so can't really help there.
For that dataset I used a Dell SK-8115...
I've also seen the 01 01 01 01 01 01 pattern, so I've created a dataset:
Keys: 1
KB Data: 00 00 1E 00 00 00 00 00
Pass with order '1'
Keys: 12
KB Data: 00 00 1F 1E 00 00 00 00
Pass with...
I don't know if it'll be of any use to you, but you might find this interesting:
https://github.com/macaba/Teensy-3.2-USB
Really great work so far Paul, I'm enjoying watching your GitHub progress.
Obviously extremely early days yet so this feedback has little value aside from encouragement - I'm happy to report your...
In my mind, to establish a well-regarded Teensy based motion controller project, it's important to determine if a significant improvement can be made over existing platforms, so my opinion says...
Have you tried running this before Ethernet.begin()
It's entirely possible that the current code (from the PJRC website) you've got runs too fast as it has no delays until after all the pins...
Thank you for letting us know! I've opened a GitHub issue:
https://github.com/PaulStoffregen/Ethernet/issues/9
Paul is super busy though so we'll all have to continue adding in the reset pulse...
I've created an issue for this.
https://github.com/PaulStoffregen/Ethernet/issues/9
KurtE - thanks for posting the link.
Tim - you've got exactly the same issue I had. See the link that KurtE posted for the resolution.
Edit: I've created a GitHub issue for this:...
That's good to hear - you will probably find that 1000ms delay is far more than needed, a very small delay should work.
Paul - I've got some older adapter boards that don't have the reset IC (as...
Hi Dan,
I had a very similar problem to you - powering up for the first time; everything ok. Power cycle (or in my case, downloading a new firmware) = problems.
Just as a quick check, try...
MTA - a quick check... try running this before Ethernet.begin(...)