Have you refer the methods in ftm example of MCUXpresso SDK_2.5.0_MK27FN2M0Axxx15?

Try to find examples that are similar to what you need then test.

For more detail, please read the "44.5.11.4 MOD register synchronization".


Best Regards,
Robin
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
----------------------------------------------------------------------------------------------------------------------