Jump to content
43oh

MSP432P401R: changing the base frequency of the cpu


Recommended Posts

From the datasheet:

"fMCLK Frequency of the CPU and AHB clock in the system(5) 0 - 48 MHz"

Overclocking may be possible, read up on how to configure the clock section to find out - but I guess it is not advisable to do so. Depending on your application you may be able to use LPM - current consumption down to 25nA possible per the datasheet. In active mode: 80 μA/MHz.

Link to post
Share on other sites

You have  a wide variety of clock options from 48MHz down to about 10KHz, on board,  the ability to use external clocks (crystals or other sources), and direct support for 32768Hz crystals (and others). You can't reliably go beyond 48MHz, but the internal clock generator will give a fairly smooth range down to the low end (I don't recall the bottom end of the DCO, but the LFO-- ultra low power, low frequency onboard unit- is below 10KHz)

 

Most libraries and language families will provide a way to select which clock and set the rate for the DCO or other source. See http://www.ti.com/lit/ds/symlink/msp432p401r.pdf page 123 for summary.

Link to post
Share on other sites
  • 2 weeks later...

thanks! that's exactly what i was looking for!

one more question regarding this, is there a way that i can change the frequency without recompile the project? (for example, if the device reached X temperature, then run with 1.5mhz, if the device reached Y temperature, then run 3mhz and etc)

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...