Ah, you are correct.
I did a quick read of the datasheet for the Nano Every and saw mention of an ARM processor, but it is not what our code runs on.
Seemed weird that they could get the Nano module pin compliant with such a totally different processor.
Jerry, KE7ER
toggle quoted message
Show quoted text
On Sun, Jan 3, 2021 at 03:39 PM, Shirley Dulcey KE1L wrote:
TL:DR version: don't buy a Nano Every to use in your Raduino?right now unless?you are prepared to do some software development.
?
The ATMega 4809 is not an ARM processor. It's still an 8 bit AVR. It does have more RAM and flash memory than the ATMega328P does. The pinout of the 4809 is different from the 328P (it's not just a matter of having more pins), but the layout of the Nano Every board gets around that and puts the pins back where you expect them. Code changes may be needed; anything that uses libraries that come with the Arduino IDE is already covered, but the peripherals are different so any code that talks to ports directly or uses third party libraries is likely to need rewriting.
?
It's not quite a drop-in replacement, but adapting the Raduino?for the Nano Every should not be difficult in most applications. I don't know if anybody has done it yet for the?Raduino; until that happens, I don't recommend?that anybody make the switch unless they plan to do that work. The advantage would be the ability to use a larger sketch without the need to make the more extensive code changes needed to switch to another microcontroller such as the Teensy. There are two notable hardware differences that can affect compatibility?in some applications: PWM is not available on D11, and the USB serial interface is now completely separate from the serial interface on RX0 and TX1 so you can use both at the same time. (The USB to serial is Serial, the?other is Serial1.)
?
The Nano Every uses a different chip for USB to serial conversion: a pre-programmed?ATSAMD11D14A Cortex-M0 ARM processor. Ironically, that's more powerful in some ways than the board's primary CPU. The driver on Windows gets installed when you install the Arduino IDE; if you have an old version you may need to update it.
?
Here is a link to a blog post that talks about the hardware differences:?