This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

SAM7S.s file, PMC_MUL & PMC_DIV equates...

In my project's SAM7S.s file, if I use the uVision IDE editor's Configuration Wizard to set the values for the PLL's MUL & DIV parameters, I get the results I expected. The value I get for MCK using these settings allows me to set timers correctly, baud rate generators correctly, etc., and the generated value for the PMC_PLLR_Val equate appears to be correct for the values set via the Configuration Wizard.

There are also equates for PMC_DIV and PMC_MUL in the SAM7S.s file. I expected to see these values change as I edited the MUL & DIV settings via the Configuration Wizard, but they don't appear to. Similarly, I thought that if I edited these values via the text editor, I would see those changes when I viewed them using the Configuration Wizard, but there doesn't seem to be any relationship between these values in the text editor and the Configuration Wizard.

Can anyone tell me what the equates for PMC_MUL and PMC_DIV are for in the SAM7S.s file, and what the relationship is between them in the text file and the Configuration Wizard? As best as I can tell, the PMC_MUL and PMC_DIV equates in the SAM7S.s file serve no real or useful purpose.

Thanks!

0