Hello @kellykan,
Could you please take a look at LPC546xx User manual (UM10912). Chapter 5: LPC546xx ISP and IAP. Section 5.6. In-Application Programming and Chapter 7: LPC546xx System configuration. Section 7.5. Register description?
In Section 7.5. Register description it mentions a DEVICE_ID0 (Part ID) and in Section 5.6. In-Application Programming, it is mentioned the IAP Commands to Read part ID and unique ID number.
Best regards, Raul.