I have a lot of C legacy code for the atmega 16. For a new design I'll need to recycle some of it into a smaller package.
Any suggestions for a chip with register compatibility and fewer pins? SMD preferred. Code space is not very relevant. I'll run it of 3.3V.
What I'll be using are UART, 2-wire, a timer and SPI. The timer code will be new.