Note also when porting code from a D to an XD that AN2615 doesn't mention the following changes in register locations:
ATD registers:
HCS12: ATD0 = 0x80; ATD1 = 0x120
HCS12X: ATD0 = 0x2C0; ATD1 = 0x80
PWM registers:
HCS12: 0x00A0
HCS12X: 0x0300
This is obviously important if you plan on using the orignal DP headers, which may be the simplest option, as the XD uses a single header file with a different register naming convention.
hello friends...
i am very new to mc9sdp512..
my problem is that , i attached a dc motor directally to port B
+ve wire on PORTB_PB0
-ve wire on ground ...............
in the program i have set the PORTB_PB0=1;
and debug it in TBDML mode
and i got output on PORTB_PB0=4.49 volts..i have checked it with multimeter...!!
but my motor is not moving.....!! even i hv tested my motor on 3 volts battery then it is running........................
any suggestion please..........!!
Please do not cross-post (post the same question) across different forums.
---Tom
Steve M.