So PMM/PMA use that "Channel-15" area regardless?
"Paul Helmuth" <[email protected]>
| Newsgroups | gmane.comp.hardware.motorola.microcontrollers |
|---|---|
| Message-ID | <[email protected]> |
Wow, I never thought of that. PMM/PMA use the parameter area designated for channel 15 regardless of which channel they are running on? I think that would have taken me a long time to figure out. It would be nice if the documentation was a bit more clear on this point. I suspected a typo was more likely than a function that used parameter RAM that was designated for another channel. Thanks again, especially for the prompt post. -Paul --- In [email protected], Eric McRae <eric@e...> wrote: > According to the microcode, ERROR|TCR2_VALUE is indeed placed in > register 6 on channel 15 so the $YFFFFC is correct. > > Paul Helmuth wrote: > > > All, > > > > I am trying to work with the PMM/PMA function(s) and have a simple > > question regarding the location of the ERROR/TCR2_VALUE parameter word. > > > > Referencing the Programming Note (TPUPN15B/D - for PMM), figure 3 (on > > page 5) shows some space between the PERIOD_LOW_WORD and the next > > parameter word (ERROR/TRC2_VALUE). In the left margin there is also > > some "strangeness" with the symbolic addresses. > > > > The first group of parameters are shown to be at a "sequential" (and > > apparently contiguious) series of symbolic addresses. As follows... > > > > $YFFFW0 REF_TIME | CHANNEL_CONTROL > > $YFFFW2 MAX_MISSING | NUM_OF_TEETH > > $YFFFW4 BANK_SIGNAL | ROLLOVER_COUNT > > $YFFFW6 RATIO | TCR2_MAX_VALUE > > $YFFFW8 PERIOD_HIGH_WORD > > $YFFFWA PERIOD_LOW_WORD > > > > $YFFFFC ERROR | TCR2_VALUE > > > > Note the switch from $YFFFWx to $YFFFFC. > > > > Is this a typo? Should that address for ERROR/TCR2_VALUE read $YFFFWC > > (this is where I would expect it to be)? > > > > The reason that I ask, is that I am running the function and don't see > > TCR2_VALUE changing (or ERROR for that matter). > > > > Sorry for the lengthy explanation, but I wanted to be clear about the > > point of confusion. > > > > Thanks very kindly in advance to anyone that can confirm the location > > of ERROR/TCR2_VALUE. > > > > -Paul > > > -- > Eric McRae, Electro-Logic Machines, Inc. > 511 Root St., Port Townsend WA, 98368 > Phone/Fax: 360.379.0969, http://www.elmi.com ----------------------------------------------------------- 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/