News for hackers. Stuff that matters.
Re:The 100 MHz 6502 by mlyle on Wednesday October 13, 2021 @02:40PM (#28855757)
It's getting harder and harder to find places where this is true.

ARM Cortex M0/M0+ blows AVR out of the water, and is usually cheaper except for the very lowest end AVR parts. Generally will use less power, too. And that's assuming your unit counts are so high that firmware developer time is free.

Of course, it's getting impossible to find 5V VCC ARM parts, so that's something that would steer you towards AVR if your system is really a bunch simpler by having a 5V micro.

Re:The 100 MHz 6502 by milesvp on Wednesday October 13, 2021 @03:59PM (#28856892)
This is not strictly true. Many AVR chips can handle more computation than their clockspeed would suggest due to some really nice assembly codes that allow for common DSP calculations.

I ported an AVR code base to a cortex M4 last year, and some of the inlined asm didn’t translate. I ended up having to use inlined C instead. So, my 120Mhz M4 chip struggled to do what a 90Mhz AVR did no problem.

Re:The 100 MHz 6502 by mlyle on Wednesday October 13, 2021 @04:26PM (#28857253)
Note that it seems you're talking about AVR32, then, and not an 8-bit AVR like we were talking about.

AVR32 was neat, but has lost all commercial relevance.

Re:The 100 MHz 6502 by milesvp on Wednesday October 13, 2021 @04:46PM (#28857498)
Oh, yeah, good call. I guess I would be surprised to see significant DSP related asm in any 8 bit processor.
Re:The 100 MHz 6502 by puzzlingcaptcha on Sunday October 17, 2021 @06:05AM (#28895280)
You can get Attiny to sleep at 6uA with a watchdog, and ~120nA with an external interrupt. Can M0 match that? Genuinely curious, I don't have much experience with ARM.