Hello Richard,
I just review the example of periph_iap provided in the LPCOpen, and the main system clock is set to 72MHz since the beginning and the example works fine. I recommend you to use this as a guide for your project to see which configurations you are missing.
Hope it helps!
Have a great day,
Victor.
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------