Dear, I think you should buy Microchip dev tools regarding this projects. or see some of them which topology they use. start with AN967
Noted, I will look into more app notes on the subject.
Take a look at table # 6 on the Microchip's AN. It seems they coded the complete AC cycle for each phase, in the pwm table, with 1/2 cycle positive offset already on it, so max pwm value is positive half peak and zero pwm is negative peak, so there is no need to add any additional state commutation logic in the power stage.
That is a wonderful insight. Highly appreciated.I will examine closely as you have interpreted.