Re: Suggestion for 40 PIN MCU
PIC18F1938 ? Do such a device really exist?
There is PIC16F1938 in 28 pin package, and PIC16F1939 in 40 and 44 pin packages.
These are devices with LCD display controller peripheral. Do you actually use the LCD controller?
With 14 bit instruction word size and 16 k instruction word memory, there is 28 kByte program memory.
There are not many PIC16 devices with more memory than that.
You may see PIC16F19197 which have 32 k instruction words = 56 kByte program memory, but is a device in 64 pin package.
If you do not actually use the LCD, there are many PIC devices with the same general purpose peripherals.
Use the product selector pages in the Microchip website to get yourself an overwiew.