Thelowcost,highperformancefeaturesofa

PIC16CXXXmicrocontrollermakeitasuitabledevice

forautomaticcontroltechnologyapplications.Some-

times,anadditionalPWMoutputisneeded.Forsome

devices,suchasthePIC16C71,theadditionofasoft-

warePWMaddsthemissingelement.Itispossibleto

useTimer0(whichalsoprovidesthesystemclock)and

itscorrespondinginterrupttogenerateaPWMoutput

withadutycyclethatcanvaryfromnearly10%to90%.

However,someapplicationsrequireagreaterduty

cyclerange.AN654PWM,aSoftwareSolutionforthePIC16CXXXMETHODSAuthor:OleRpckeConsultant,EuropeBeforethesolutionisrevealed,wemustrstexaminethevarioussoftwaremethodsusedtogeneratevari-ablelengthpulses.INTRODUCTIONInthefollowingexplanations,theunitoftimewillbetheThelowcost,highperformancefeaturesofalengthofanInstructionCycle(TCY).WewilluseTCYPIC16CXXXmicroco

PWM,PIC16CXXX软件的解决方案

PWM,PIC16CXXX软件的解决方案