Use intervalTimer
Type: Posts; User: xxxajk
Use intervalTimer
My IP implementation
https://github.com/xxxajk/ajkstack
has a web server. HTH :-)
Cut the trace, insert a diode.
Use another diode on the other side.
The source with the most current wins.
As an additional bonus, if you lose power on either side, the Teensy will remain powered.
FWIW, is heap arena safe? If not, feel free to refer to and/or improve upon and/or include a solution I have.
https://github.com/felis/UHS30/tree/master/libraries/ISR_safe_memory
This should...
Congrats on the release Paul.
This MCU is stupid fast, and I'm still thinking of some interesting data acquisition uses, and it *might* be even quick enough to do OpenCV. I'm still having to look...
Ok, that' a good thing.
UHS3 copies to/from where ever the data comes from. If they are static buffers, this shouldn't be an issue.
Yeah, I'll be looking at it sometime today, and see what...
That's why I'm asking.... basically I'd like to know if that line for SDcard (not USB adapter) is connected.
If the 4.0 is EHCI, then UHS3 port should be very easy, since Paul helped in porting that...
@Defragster I've not had a ton of time here, got some now, though, but is the SDcard present line connected? Reason is that if it is, it can work on UHS30 which recently had SDcard added to it,...
DSB is the best way to do this because the other hardware blocks do not have access to CPU cache.
Hopefully this doesn't double post, because I submitted earlier and it appeared to not post.
Instead of tossing them, if they are compatible with the final version of the board, why not do a contest or some other random promotion with them?
Got mine today! 3 days earlier than expected (USPS notifies me even when the label was printed). I'll be doing some testing tonight!
@PaulStoffregen I'll take one!
Going to be able to have a bit more time to play, been working on LPC voice synth and my own "dev board" (different ARM chip).
Email robin again?
Aware of them. I plan on making this one cooperate with the audio library, as an audio source. That way additional filters may be used, along with mixing, etc.
Excellent! Good to know it will work across the entire ARM based toys. :-)
It actually harks back to the 1980's type speech synth. Does fairly well with direct text, but can be also programmed...
@PaulStoffregen Since I only have the original beta boards, I have a quick question... is changing the PWM frequency going to still be available? I'm pretty close to releasing a library that covers...
@PaulStoffregen Will there be debug pads/pins available on the T4?
On another note, I still need to make my Teensy3 JTAG programmer do SWD. :-)
I plan on releasing it on GitHub at some point,...
I program mine using a Teensy 3.x via CAN. it's FAST!!!
memmov() is safer for ram <-> ram if you know that it is possible for overlap. Should be investigated on timing too.
Don't forget that it could have been hit by static electricity. Did you store it in the anti-static bag?
It is worth noting that C++ templates are actually considered a separate language. I try to avoid them when possible.
Sometimes they make sense, though, and in some instances I have found that...
Best to use a rework station, if you *must* do it manually. Otherwise use the reflow oven.
Note that there is a registration hole on these connectors sometimes.
For a small additional cost, the...
One thing that I find helps a whole lot when dealing with test pads, is to have a via in the center that can accept the pogo pin tip. I try to avoid test points though, and just use full thruholes...
Dumb idea? How about an analogReadFast() like we have for digitalReadFast() that bypasses checks for the finicky who want to save every single cycle but not use DMA?
Did UHS3 work too?
Cool, thanks Paul!
I have a relay jig that I use for this exact problem.
I'll get a chance to look at mine this weekend, and see if I can manage to alter the board to do the same.
Examples are indeed within the libraries, depending on what you want to do and depending on what hardware.
For serial devices, you will find the examples under UHS-HOST -> CDC-ACM. You will want the...
Try UHS3 it will work.
As a bonus, all UHS3 UART interface drivers will appear as CDC-ACM (common API) but also do provide access to extra features on chip-specific serial bridges.
...
That will be coming soon once Kris is done with holiday, supposedly.
Of course pull requests are always welcome, and porting is quite easy to do.
Technically you don't even need a library to...
UHS30 works out-of-the-box. UHS2 is going to be obsolete soon due to quirks and various politics going on.
UHS3 will also be moving to my own account soon as well.
Pushed some fixes, enhancements. Let me know if Novation Launchpad works now, or not.
The Audio Control subclass isn't supported, needs an interface driver for that.
Novation Launchpad... any chance you can give me a
lsusb -vdVID:PID on Linux for that? I should be able to make it work.
T3.2 testing midi... Well, I don't "care" in the fact that I've never...
The actual core of UHS3 is quite fast. I'd have to say if it acts that way across everything, then it is UHS3, else it is the t3.2 code.
Novation Launchpad isn't a regular midi device.
Seems to require special protocol from the quick look at various open source attempts to get it to operate on Linux.
Basically, if you can place...
@uleria It might not be reporting as standard midi, or isn't a standard midi device.
If it just doesn't report as midi, but actually is midi, then the vid and pid can be used to select the device....
Have you tried the following to reduce temp and power consumption instead?
while(1) __asm__ volatile ("wfi");
That will put the cpu core to sleep, but allow it to do anything important, which...
Works!
Amazingly this is the first MCU able to keep up with the Arturia Minilab!
Should work without any issues. Will try here on the 2 midi keyboards I have here.
Have to do a few more changes, so, not ready yet :-)
Done, pushed two examples.
examples -> UHS_host -> UHS_MIDI -> UHS_KINETIS_EHCI ...
I totally can poop one out in like 5 minutes or less.
:-)
FWIW and for the rest of us, that 10 degrees Frankenstein == 5.58C drop
I'll have to try this with UHS3 which already contains a midi driver.
Should! Glad you found my intentional compiler error to give you a hint.
I'll go through and should be able to clean up the remaining items later tonight.
Thank you very much for taking some time...
@KurtE
@PaulStoffregen
Don't forget my PR https://github.com/PaulStoffregen/SPI/pull/39
At a minimum cherry pick the IRQ stuff. It is tested and working with UHS3.
NOTE! The added macros are...
On the semi-related note, library.properties might make things a bit more difficult, because it is a collection of libraries... unless it can support dependencies, of course...
I'll look into it.
Pushed.
pep->bmNeedPing can be used. It defaults to 0 (no)
Got an idea... shrink nak by 1 bit, give you a flag. MAX NAK getting hit usually indicates some other issue anyway.
That way, you can check the flag, ping proto (perhaps use nak max as wait) and...
Can we just issue a ping packet if NYET is set?
Wouldn't that fulfill the requirement? Or could it cause a stall?
I'll see if there is a compact way to implement some state data in the epInfo...
Fixed. This was a holdover from UHS2.
NYET as a NAK is OK. This is how you would provide a timeout.
After NAK counts (NYET in this case) you bail out with NAK error status, and the drivers...