thannara123
Advanced Member level 5
I am learning the sinewave generation a great member Thahamid posted a blog in edabord as follwos
tahmidmc.blogspot.com
i didnt understand the working of following code anybody help me ?
TBL_POINTER_SHIFT = TBL_POINTER_NEW >> 11;
DUTY_CYCLE = TBL_POINTER_SHIFT;
what are the values of TBL_POINTER_SHIFT variable
it gets 1 when the TBL_POINTER_SHIFT become 2048 ,with lower the value it will be zero
am curiuos how the technique behind it ?
![tahmidmc.blogspot.com](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiRCEpiNug9zfyxSWzxjDg34SoqdvQT5vCdj79b9WZe-xcR0vO2vjrUAa7Q1Xm33WF9kXGvUaQurPojvR_ccsrREyUMPL2Qu0MFyfJffDYnrAVAgBHZZOQP_p80G853dlUH-9kQnnwq4eka/w1200-h630-p-k-no-nu/schematic.png)
Demystifying The Use of Table Pointer in SPWM - Application in Sine Wave Inverter
I have previously written quite a few articles on sinusoidal pulse width modulation (SPWM). I've discussed about how to generate the sine t...
i didnt understand the working of following code anybody help me ?
TBL_POINTER_SHIFT = TBL_POINTER_NEW >> 11;
DUTY_CYCLE = TBL_POINTER_SHIFT;
what are the values of TBL_POINTER_SHIFT variable
it gets 1 when the TBL_POINTER_SHIFT become 2048 ,with lower the value it will be zero
am curiuos how the technique behind it ?