Hello, I was recently learning the UCD3138 full-bridge hard-switch firmware.
I encountered a problem in the main() function,
#if (UCD3138|UCD3138064)
MiscAnalogRegs.CLKTRIM.bit.HFO_LN_FILTER_EN = 0;
//High Frequency Oscillator Low Noise Filter. Register should be cleared by firmware
MiscAnalogRegs.CSTRIM.bit.RESISTOR_TRIM =23; //28
#endif
I did not find the definition of the CSTRIM register in the UCD3138 Digital Power Supply Controller Technical Reference Manual.
What is the meaning of MiscAnalogRegs.CSTRIM.bit.RESISTOR_TRIM =23?
Thank you