electronicsman
Full Member level 5
I am very new to motors and motor controls. I have being studying several documents and threads here but failing to understand the basic concepts. I need to implement one as soon as possible as i have already exceeded the time. So, finally selected one document from microchip which looked easy but got struck up. I have attached the document. First question is sine look up table can you please guide so that i can create one. Does it contain pure sine values or pwm values? i am confused i have seen on line several sine look up tables but each are different. Second question is there are two kinds of interrupts one is timer2 to PR2 match interrupt or pwm interrupt and timer 0 interrupt. I know in timer0 interrupt duty cycles are updated what is the use of pwm interrupt? Please help.