I'm falling apart and this post might be my last hope.. I can't find anyway to understand this
I'm trying to generate a sinewave for a 3-phase inverter and I'm not asking for a written code
using 18f4431 , i read the datasheet part of Power control pwm
I also read Bruce's example,yet I can't get what are PTPER,PTMR used for and how are they related to duty cycle ?
how pdc0l and pdc0h work ?
for example how can I use a lookup table of these entries "0, 25, 50, 74, 98, 120, 142, 162, 180, 197, 212, 225, 236, 244, 250, 254, 255, 254, 250, 244, 236, 225, 212, 197, 180, 162, 142, 120, 98, 74, 50, 25"
to generate half sine wave ?
I apologize for my bad English but I am desperate and need help .
thanks in advance