PWM USING QOM function
"G.V.Sasanka" <[email protected]>
| Newsgroups | gmane.comp.hardware.motorola.microcontrollers |
|---|---|
| Message-ID | <[email protected]> |
Hi I am trying to attain PWM waveforem using QOM function ,the problem i face is that o/p remains at low continously...here is my code can someone plz help me out.I am using channel 0 and tcr1 as timebase
TPUMCR_A =0x6020;
TICR_A =0x0000;
CIER_A =0x0001;
CFSR0_A =0x0000;
CFSR1_A =0x0000;
CFSR2_A =0x0000;
CFSR3_A =0x000E;
CPRO_A =0x0000;
CPR1_A =0x0000;
CISR_A =0x0000;
TPUMCR2_A =0x0000;
TPUMCR3_A =0x0000;
CHANNEL0_0_A =0x00F7;
CHANNEL0_1_A =0x0000;
CHANNEL0_2_A =0x03AB;
CHANNEL0_3_A =0x1674;
HSQR0_A =0x0000;
HSQR1_A =0x0002;
HSSR0_A =0x0000;
HSSR1_A =0x0002;
CPR1_A =0x0003;
regards,
Sasanka.G.V
---------------------------------
Yahoo! Messenger - Communicate instantly..."Ping" your friends today! Download Messenger Now
[Non-text portions of this message have been removed]
-----------------------------------------------------------
To learn more about Freescale Microcontrollers, please visit
http://www.freescale.com/mcu
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/MPC500/
<*> To unsubscribe from this group, send an email to:
[email protected]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/