Problem with TPU QOM function (urgent plz respond )
"Sasanka" <[email protected]>
| Newsgroups | gmane.comp.hardware.motorola.microcontrollers |
|---|---|
| Message-ID | <[email protected]> |
Hi,
I have been trying to generate a PWM waveform using TPU QOM
function my code is as follows
TPUMCR_A =0x60A0;
TICR_A =0x0700;
CIER_A =0x8000;
CFSR1_A =0x0000;
CFSR2_A =0x0000;
CFSR3_A =0x0000;
CPR1_A =0x0000;
CISR_A =0x0000;
TPUMCR2_A =0x0000;
TPUMCR3_A =0x0000;
CFSR0_A =0xE000;
CHANNEL15_0_A =0x00F7;
CHANNEL15_1_A =0x0000;
CHANNEL15_2_A =0x01D7;
CHANNEL15_3_A =0x01D6;
HSQR0_A =0x8000;
HSQR1_A =0x0000;
HSSR0_A =0x8000;
HSSR1_A =0x0000;
CPR0_A =0xC000;
Can anyone suggest me what went wrong in this i need this very
urgently,
regards,
Sasanka.G.V
-----------------------------------------------------------
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/