Message Edited by Alban on 2006-08-03 10:39 AM
Here's my version of the PLL calculator. Just input the desired bus and oscillator frequency and you'll be given the values for SYNR, REFDV and POSTDIV.
Is it better than S12XE IPLL Calculator Software (from S12XE page, Software & Tools tab)? :
http://cache.freescale.com/files/microcontrollers/software/device_drivers/S12XESW.zip
not even close... try osc: 16mhz and bus: 50mhz... that gave me synr: 0xf1, refdv: 0x0f and postdiv: 0x0... mine had 0xd8, 0x07 and 0 ... respectively... remember to use the lowest synr possible value.
It turns that I used calculator v1.03, which gives synr and refdv like your calculator. And when I looked for Freescale PLL calculator to post url here, I found the link to older v1.02, which gives F1 for synr and f for refdv.
v1.03 is available on S12XE documentation tab (not software and tools):
S12XEIPLLCUGSW -- Software
http://cache.freescale.com/files/microcontrollers/doc/user_guide/S12XEIPLLCUGSW.zip
that is good