Never know if it might be useful with Maslow, but the new Teensy 4.0 is released. 600 MHz Cortex-M7 processor on it.
600MHz processor, and it executes double, double functions like log(), sin(), cos() with FPU hardware. It sounds very interesting. Thanks for the alert.
Iāve been able to compile the v1.27 firmware for Teensy4.0 (3.5, 3.6) by updating the Encoder and TimerOne libraries. Hereās the branch. It compiles, but doesnāt have pin assignments that would allow connecting to one of the PowerControl boards, yet. For now, Iāll be out by the mailbox waiting for a deliveryā¦
The speed of it compared to a mega is extreme, but I wonder how that could be used to improve the machine. Could reducing the loopinterval be of any benefit?
I have a Teensy 4 on the way as well. Are the updates just to get it to compile in āUNO compatability modeā or does it actually use Teensy native peripherals or DMA?
It compiles in full-on Teensy mode. The changes were minimal, Paul Stoffregen wrote those libraries as well as creating the Teensy seriesā¦
In the code I see switching interrupts on and off completely. That shouldnāt be necessary on any of the ARM processors with nested interrupt right? Teensy, ESP32, DUEā¦ Encoder has priority over PWM which has priority over Coms. That could improve accuracy if we have been missing any pulses while interrupts were off.
does it have eeprom? or does that still require an additional chip?
David Lang
The Teensy core has been re-written to present part of its internal store as EEPROM and to use the stock EEPROM library calls. Not sure, but I think it uses 2K for that.
Edit - Teensy3.5 shows 4K. The Teensy4.0 sheet says ā64K reserved for recovery & EEPROM emulationā, the recovery is āBlinkā and that compiles to a bit less than 4K, so thereās probably a fair wad available for storage.
Teensy 4 ordered!
Just like a box of cereal: āImage enlarged to show texture.ā
Reminds me of the Adafruit trinket.
Itās based on the Teensy 3 / LC foot print.
Thank you
It also has four hardware 32-bit quadrature encoder interfaces built inā¦ unfortunately, thereās not a recent grbl port for it.