It appears as though the LPC55xx is easier to obtain than the LPC15xx. It also seems to be higher spec and cheaper. Would it be advisable to convert to the LPC55? Will the LPC15 eventually be phased out in favour of the LPC55? Or is there a better one to use?
A few queries in converting:
Does the LPC55 have a SWM peripheral?
The LPC55 has 1 of the SCT timers and several timers similar to those in the LPC11. Is that correct?
How do I convert the CAN software? I don't need CAN-FD. Is there an application note comparing the two different CAN peripherals.
What does the LPC55 need to get it started? On the LPC11/13/15 I have to enable the crystal oscillator and then change over when the oscillator has started. Is the LPC55 the same?
Hello
Hope you are well.
The LPC15 is part of the product longevity program and it will be part of it until Feb 2024 while the LPC55xx will be at that program until 2034/2035: https://www.nxp.com/products/product-information/product-longevity:PRDCT_LONGEVITY_HM
To verify if it is a good choice we need your application requirements.
The LPC55 does not have the SWM module.
The Timers can be similar, but the internal structure is different.
The CAN controller from the LPC15 and the LPC55 is different, I suggest you refer to this application note: https://www.nxp.com/docs/en/application-note/AN12728.pdf
The CAN-FD is an extension of the CAN protocol so you can use the module of the LPC55xx.
To get started I suggest you refer to the SDK examples: https://mcuxpresso.nxp.com/en/welcome
Let me know if this is helpful, if you have more questions do not hesitate to ask me.
Best regards,
Omar
Thank you for your help.
The facilities I use on the LPC15xx are A/D, comparator, timers, flash API, UART, CAN, I2C and SPI.
It is nice to have 16 bit A/Ds, but being restricted to just 7 inputs is a little disappointing. Some applications are going to need an external A/D, but a cheap 8-bit device will do.
I don't see another device in your portfolio as suitable, unless I choose one with over 100 pins, which I would like to avoid as I occasionally have to replace one by hand.
M-CAN is no more or no less arcane than C-CAN - just different!