msp430 - How to measure clock frequency of C430F5137 using programming -
i using cc430f5137 system on chip.from data sheet got know uses 26mhz clock radio. verify that,how measure radio clock frequency using msp430 programming?
any suggestions please....
is there timer/counter connected radio clock?
thanks.
to measure rf clock (26 mhz) oscilloscope, need to:
1 - output clock radio module core, e.g. through signal gdo1 (internal signal between rf soc , core). that, adjust corresponding value in rf config table, see 25.3.5 of cc430 family user guide. use gdo1, put 0x30 (rfclk/1) in iocfg1. see table 25-21 if need other dividers 1 (depending on limitations of measuring equipment).
2 - map radio module's signal gdo1 free io pin.
pmapkeyid = pmapkey; // write-access port mapping regs p2map6 = pm_rfgdo1; // map radio gdo1 output pin 2.6. pmapctl |= pmaprecfg; // allow future port map configurations. pmappwd = 0x00; // lock port mapping
set sel , dir bits io pin using.
3 - oscilloscope (or frequency counter) can measure 26 mhz accurately enough needs.
note: measuring mclk might not accurate enough, generation going through other disturbing stuff such fll...
Comments
Post a Comment