MC PWM (for motor control – control both H/L H-bridge).But for bi-directional control it is better to use MC series. May be next time.Įven with GP series you can control DC motor’s without a problem in one direction. Wish I could have picked a MC series for Motor Control. It is a General Purpose (GP) controller and does not have any special PWM ability. Select your part based on your application. In order to know what timer can be used for PWM please refer the data sheet of the part you are using. One where we set the value and another is a read only register that takes the copy of the value in the input register and update it in a glitch free manner. The timer is used to set the frequency of the PWM and OC register for setting the duty cycle. One input is from a timer and another from OC register where we set the value. Pulse Width Modulation (PWM) in dsPIC/PIC24 works from output compare section (OC).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |