Hi Anwar,
The ACLK is a signal from internal RC oscillator.
The frequency of ACLK varying MCU to MCU. Therefore, every MCU should be trimmed for achieving the target +/-6% deviation from 20kHz (specified only for trimmed ACLK signal).
Since you modified CPMUACLKTR value and set the same value for all MCUs, you effectively disable factory trimming of ACLK signal and result API timeout will vary between boards per their ACLK signals.
I would like to recommend use factory trimming (do not modify CPMUACLKTR register value). The trimming value from the factory is automatically loaded from flash IFR field to CPMUACLKTR register during reset sequence. The exception may be only first engineering MCU samples which do not have full trimming yet.
If you are not satisfied with factory trimming (e.g. when you need 22kHz), you may do your own trimming and modify CPMUACLKTR register value after every reset. However, this trimming must be made at every single MCU separately.
I hope it helps you.
Have a great day,
Radek
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------