Hello
As described in the manual (TMS570LC43x, spnu563a.pdf) one should read the initial trim values from flash (address 0xF008_01B4, Bits 31:16 (HFLPO_TRIM and LFLPO_TRIM)) and write them to the LPO/Clock Monitor Control Register (LPOMONCTL), Bits 15:0 in order to initialise the trim for both HF LPO and LF LPO.
My understanding so far is that HFLPO_TRIM and LFLPO_TRIM from the flash could have a value range from 0x00 to 0xFF each. But the fields HFTRIM (Bits 12:8) and LFTRIM (Bits 4:0) only have a value range from 0x00 to 0x1F each, Bits 15:13 and Bits 7:5 of LPOMONCTL are "Reserved", where writes have no effect. So there would be a mismatch in the range.
Is my understanding of the ranges of HFLPO_TRIM and LFLPO_TRIM not correct? What would be the ranges? Or how should the values of HFLPO_TRIM and LFLPO_TRIM be handled to fit to the ranges of HFTRIM and LFTRIM?
Is 0xFF for HFLPO_TRIM and for LFLPO_TRIM handled as an error code?
Thanks in advance for some support!