MIOS14 PWM Pins on MPC565
"spw_lotus" <[email protected]>
| Newsgroups | gmane.comp.hardware.motorola.microcontrollers |
|---|---|
| Message-ID | <[email protected]> |
Hi All
I am currently programming the PWM channels of the MIOS14. I have 8
of the channels working correctly but channels 4,5,20 & 21 do not
work. These happen the be the pins that are also used for MPIO32B
5,6,11 & 12. Surely this can't be a coincidence??
However I cannot see where my software is going wrong. Can anyone
help me. I note in the manual the following
17.3.1 MIOS14 Signals
The MIOS14 requires 37 signals: 3 RTC signals, 10 MDASM signals, 8
dedicated MPWMSM signals, 12
dedicated MPIOSM signals and 4 signals are shared between the MPWMSM
and MPIOSM. The required signal function on shared signals is chosen
using the PDMCR2 register in the USIU. The usage of all MIOS14
signals is shown in the block diagram of Figure 17-1 and in the
configuration description of Table 17-1.
However the register PDMCR2 only has one bit that is not reserved!
Is this possibly a problem, should I be writing to PDMCR2 to
configure these pins as PWM pins?
Any advice appreciated
Many thanks
Steve Wiggins
------------------------ Yahoo! Groups Sponsor --------------------~-->
Get fast access to your favorite Yahoo! Groups. Make Yahoo! your home page
http://us.click.yahoo.com/dpRU5A/wUILAA/yQLSAA/dN_tlB/TM
--------------------------------------------------------------------~->
-----------------------------------------------------------
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/