Hi Muhammad,
There is an application note for migrating from LPC2xxx to a LPC17xx devices. You could refer to AN10878 at the following link:
https://www.nxp.com/docs/en/application-note/AN10878.pdf
However, the direct pin-to-pin replacements are for LPC2300/2400. In case of the LPC2132/36, which has up to 512KB Flash and up to 32KB RAM; an option could be considering the LPC5410x MCUs, based on Cortex M4 core at 100MHz (with optional secondary Cortex M0+ core), many peripherals, up to 512KB Flash and up to 104KB RAM, available on LQFP64 package:
LPC541XX|NXP
Hope this will be useful for you.
Best regards!
/Carlos
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------