Peripherals compatible between NxP Cortex families?

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by RA1981 on Wed Jul 13 13:38:29 MST 2011

I wonder if the peripherals (UART, I2C, etc.) are compatible between the NxP Cortex families?
That means, if I write a driver for the UART of a LPC11xx (M0), will this driver be usable for the LPC12xx (also M0) and LPC13xx(M3) and LPC17xx(M3)?
Of course, for example a LPC17xx contains four UARTs, but one of them is compatible to the UART of the LPC11xx (except for DMA).

Same for I2C driver, can the same driver code be used? I'm already in comparing the user manuals about register compatibility etc. but maybe a comparison table of the peripherals exists...