Hi Jeroen van Vilet,
Yes, the LPC1788 and LPC1768 have the difference, you need to refer to the LPC1788 cmsis code, in the old days, the LPC1788 CMSIS driver can be download from the lpcware, but now, that link is invalid, so I attach that code for your reference, please check the attachment.
Wish it helps you!
Have a great day,
Kerry
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------