Part Number: TMDSSOLARPEXPKIT
Good morning,
I want to adapt TMDSSOLARPEXPKIT to load around 1k Ohm. I switched frequency to 40kHz from 20kHz, also adapt new SPLL v1.2 instead of 1.0. I had trouble with the current measure in inverter leg but I found out, that it a lot better if I switch bit shifting in code:
inv_meas_cur_diff_inst = (inv_meas_cur_lleg1_inst - inv_meas_cur_lleg2_inst)<<1;
from right 1 bit shift to even left shifting for 4 bits. Does bitshifting change the q-value in that way, that for example if I switch from <<1 to >>1 it means I switched from q21 to q19?
After i made that change I had really nice output sinusoid, but the phase is shifted, so I had trouble with PLL. Any suggestion of how to improve PLL?