Data sheet for UCC28051 gives equation 16 for selecting compensation components. Equation 16 doesn't seem to return usable values for CV2. For the equation I'm using the following values:
Vac(max) = 265, Fac = 60, gm = 100e-6, k1 = 0.65, Vout = 300, Rs1 = 0.34, Kcrm = 2, Cout 220e-6
Please let me know what I might be doing wrong.