These posts are probably the best rendition of the XBAR architecture I have seen. It belongs on a link accessible from here. I could find nothing like this online. I solved my particular problem for the encoder module, but this shows the whole...
...and here is the actual code for the crossbar and AOI portion of my "exercise" ...
//*************************************** 2nd part: crossbar *******************************
// Now to route TIMERs 1 and 2 through xbar2 -> AOI1 -> xbar1 ->...
Ok - I finally worked through this. Here are some notes I think some other newbie like myself might find useful. Same content also attached as .PDF...
Notes to Orient Uninitiated Users of the XBAR Module:
I find it helps to have a good...
I'd start by asking Paul Stoffregen. There are quite a number of regular contributors to the Arduino codebase and heaps of links to GitHub for similar additions along these lines in C++ and such. I'd start with Paul.
Ah yes, you're right - I forgot about the real device name. (getting old) Actually, I tried it on 3.3v and couldn't get the same bit rates as 5V, but they did work. And you're right too, about the shift register version (eccchh!!). Jaycar was...
Thanks to all for the insightful answers. I will dig deeper into all the information you have provided me. Might do a followup on the results in a few days.
Hehe yep. Guilty as charged; I am a Jaycar shopper and an AliExpress shopper, and a reformed eBay shopper and a PJRC shopper, before it went to SparkFun. :) My desire in this piece was to work out the end-to-end details and discover the...
I see you're a Jaycar shopper. There's actually a couple of libraries in Teensyduino that can interface with the MAX7219 to do the same job (it runs fine on 3.3V logic).
For any IO, you really want to keep the CPU out of the loop as much as possible so it can do other stuff (regardless of the 600Mhz clock speed). If your project is simple enough, go ahead and use bit-banging, but it still wastes CPU time. From...