Hello,
I assume that you are still using the 'LC60 device. The REFS control bit is important when using an external reference, to determine whether a crystal or an oscillator is in use. For FEI mode, using the internal reference, this bit may be either state (don't care).
When the ICG trim value is determined during programming, the value to generate an internal reference frequency of 243kHz +/-0.5% will be programmed into flash address 0xFFBE (NVICGTRM). Within the initialisation code, this value must then be transferred to the ICGTRM control register.
With a MDF setting for multiplication factor 10, and RFD setting for division by 2, the nominal bus frequency would be 5.554 MHz. To reduce the bus frequency to 5.4 MHz, the period of the internal reference would need to increase by 2.85 percent, requiring an increase of the value written to ICGTRM.
Depending on the bus frequency accuracy that you require, it may suffice to add a constant amount to the NVICGTRM value, before writing the ICGTRM register, based on the nominal trim step size parameter.
However, to achieve better accuracy, you would need to provide your own calibration procedure using an external timing reference (such as AC mains frequency or SCI received baud rate). But this adds considerable complication.
Regards,
Mac