Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
You must use one precise clock source for the microcontroller like high frequency crystal or clock crystal (MSP uC have two options), then, You must set the peripherals clock source and use the ccr peripheral for generate the square wave at 110Hz. Other option it´s possible using the pwm...easy way!
as far as i got you wright, you simply need to setup a software timer based on for example the basic timer which runs with ACLK. just devide the 32kHz till you got your 110Hz. This will result in an error about 4°/oo. If you need a more precision you need an other cristall.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.