RE: tpu initialization...

"Higgins, Ronnie" <[email protected]>
Newsgroups gmane.comp.hardware.motorola.microcontrollers
Message-ID <BAAF1FBAC19D1448B098B89079DCF9F20E4CD230@oltex640.gaa.aro.allied.com>
If this is a dumb question I apologize.  Has tpua been assign to the base
address of the TPU?

Ronnie Higgins
[email protected]
Ph. 913-712-2559
Fax. 913-712-2559 
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of
csuozzo
Sent: Friday, April 29, 2005 3:42 PM
To: [email protected]
Subject: [MPC500] tpu initialization...

I'm having a little problem getting the TPU up and running using the 
data structures defined in mpc555.h.  I'm currently using a Phytec dev 
board w/ mpc555 and Codewarrior IDE.  As I run my program in debug mode 
(step by step), I notice that none of the lines of code that assign 
values to the tpu registers actually change those values (starting at 
0x30400 for tpua).  They all retain their original value of 0xFFFF.  
Ex.
	tpua->TPUMCR.R = 0x6020;
doesn't do anything; the value in this register following execution of 
this line of code is still 0xFFFF.

My program is pretty simple, just programming one of the TPU channels 
for PWM and initializing. Does anyone know why this might be happening?

Thanks,

Chris





-----------------------------------------------------------
To learn more about Freescale Microcontrollers, please visit
http://www.freescale.com/mcu


 
Yahoo! Groups Links



 




-----------------------------------------------------------
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/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.