Quick update if someone is interested.
I ended up going on a different route, was not sure I was up for the challenge of routing that board.
Decided building it on top of the MicroMod module, could not keep the same footprint, but got close...
If you're interested in trying my new register library, I have all the XBAR stuff defined. I generally don't use imxrt.h anymore.
https://github.com/ssilverman/imxrt1060-regs
About the AOI modules:
There's 2 of them (AOI1 and AOI2) which map to the XBARB modules (XBAR2 and XBAR3). Each AOI module has 4 outputs, each output has 4 inputs so 16 inputs total. These come from the corresponding XBAR modules, explaining why...
Ok, the last update to QNEthernet Fixed "SNTPClinet.ino" hang problem. It no longer needs the delay :D
"BroadcastChat.ino" never failed before and works without issue now.
I have no idea what "OSCPrinter.ino" is...
@wwatson @defragster For our next experiment, could you try these three things, and report results for each:
1. Update to latest QNEthernet library code (I just updated the UDP-based examples, SNTPClient, BroadcastChat, and OSCPrinter —...
@wwatson thanks for trying that out. Can you describe more fully what you mean by "the sketch still hangs". Does it actually freeze and then you see a crash? Or does it just appear to hang with no further output? Where exactly does it appear to hang?
@wwatson noticed some difficulties getting a DHCP address with the latest QNEthernet from GitHub. Could a few other people get that version, try out the SNTPClient example, and see if you see the same DHCP problem?
Minimal example program to reproduce the problem is the best way to get to the bottom of this problem.
To quickly answer, this is the first I've heard of UDP breaking with 1.62. At least as far as I know, not a "known" problem.
1.56 was so...
I should also mention, on every software release I manually run Ethernet (W5500) example WebClient, NativeEtheret example WebClient, and for newer releases QNEthernet example SimpleHTTPClient. On all 3, I just watch the serial monitor for a...
Here is our overview and "quick-start" video using a Teensy 4.1 (the ADC DMA library used is Pedvide's, of course). As a side note, the on-board Teensy 4.1 ADC's - based on careful testing - are not good above 800kSPS. Apparently...
Great news, the prototypes are working!
Apologies for my long delay, I've been out sick for over a week. Finally back in the office and working on this again.
Long story short, the chip was populated backwards!
After reworking one board, the...
Note that I still plan to:
1. Improve the API so multiple channels can be used
2. Add a way to use interrupts for notifications
3. Implement a non-blocking API
Gemini is saying that the default ChromeOS Linux Environment (which appears to be a Crostini virtual container) does not have hidraw installed and does not allow hidraw due to "security concerns": "Google intentionally leaves CONFIG_HIDRAW turned...
Here is kernel log info from my Linux desktop after pressing the button on Teensy 4.1:
[19823.699932] usb 3-1.3: new high-speed USB device number 4 using xhci_hcd
[19823.775223] usb 3-1.3: New USB device found, idVendor=16c0, idProduct=0478...
Acknowledgements
I want to extend my sincere gratitude to @PaulStoffregen, creator of the Teensy platform, for his guidance and valuable support throughout the development and testing of this project. His expertise and contributions to the...
Note that __brkval/_sbrk() isn't an accurate indicator of "free" memory - it's an indicator of the minimum unallocated memory, there may be more that is not currently in use but the allocator hasn't returned it to sbrk.
@joepasquariello I just pushed GPT, so all the timers should be there (TMR, PIT, GPT).
@h4yn0nnym0u5e Here's how to implement that function using this API:
bool initSAI(I2S_Layout* mySAI, SAImode_t mode) // mode is I2S, TDM, S/PDIF etc.
{...
I'll just add a clarification: I'm designing it so that the user of the library doesn't need to use templates. More info about your SAI use case on the way...
Everything is passed as a template parameter and also inlined, that's why it compiles down to something equivalent to using masks and shifts directly.
I believe my approach does allows different peripheral parts to have different bits. I'll...
I’m definitely keeping it in mind as a useful resource.
The thing is that most of my register-bashing use is modifying existing libraries, where adding another dependency is unlikely to be especially helpful. It’s hard enough as it is to get a...
@h4yn0nnym0u5e do you feel like trying to use the library with any projects you have that use direct register access? It would be lovely for others to use it and give feedback.
Also, which registers are still missing that you'd like to see...
Here's what I use for total free RAM. Maybe that can get you started.
extern "C" void* _sbrk(int incr);
// Returns the amount of free RAM.
// See: https://forum.pjrc.com/threads/57269-I-can-t-seem-to-use-all-of-the-Teensy-4-0-s-memory
// See...
I think I cracked the problem of what to do with array elements and sub-structures and arrays of sub-structures. I also figured out how to automatically detect and set mixed w1c and non-w1c fields properly.
The compiler can now also catch:
1...
Quick follow-on. Here are slew-rate measurements with no load other than 10 Mohm scope probes(as for the above sinewave synthesis tests). Please note that as for most electronic circuit, rising and falling slew rates are different (usualy due to...
I don't think you need to worry about "not Teensy enough" because everything you've posted is applicable, or at least related. :)
This forum is very friendly, so ignore any naysayers that think you must mention "Teensy" in every post.
Folks,
At risk of seeming "not Teensy enough," I want to share that I've posted complete lecture materials to the main Stanford classes I taught in electronics, and my textbook. Freely available. I'm posting this here because a lot of the issues...
I have been working for some time on a low-cost, hobbyist-friendly substitute for the Teensy 3.6's beloved 12-bit DACS. Seeing that the MK66FX1M0VMD18 chip is available from NXP, Digikey or Mouser now, but not seeing anyone wanting to revive the...
If @wwatson had one that might be the fastest way to know.
@Dogbone built his minimal boards and other than possible sanity hardware checks AFAIK they shipped for forum testing.
Software is known ready for chip change and @wwatson seems to have...