3 ms·
Most embedded chips have much less RAM in the M0+ space; they tend to have more Flash. The interesting choices for the 2040 are: 1. More RAM than usual, using
by GeorgeTirebiter 4y ago
Most embedded chips have much less RAM in the M0+ space; they tend to have more Flash. The interesting choices for the 2040 are:
1. More RAM than usual, using ext SPI Flash to load RAM
2. Fancy programmable peripherals
3. TWO cores
4. Very flexible IO mapping. Others do IO mapping, but it's really nice on 2040
5. "Pretty fast" at 133 MHz
and the Total Win (for me)
6. Integrated into Arduino IDE
As for Floating Point, there are some great packages out there that are optimized for Cortex-M https://www.quinapalus.com/qfplib-m0-tiny.html https://www.quinapalus.com/qfplib-m0-tiny.html
There also Q-notation, which uses integer HW to do a sort-of fixed-point 'float'. We used this extensively in the 2016 Model X body controls, because the falcon wing door was totally controlled without a floating point processor! That was hard to do... https://en.wikipedia.org/wiki/Q_(number_format) https://en.wikipedia.org/wiki/Q_(number_format) Motorola, err, I mean, Freescale provided an excellent library for their automotive-qual PowerPC MPUs.