Take the 2-minute tour ×
Raspberry Pi Stack Exchange is a question and answer site for users and developers of hardware and software for Raspberry Pi. It's 100% free, no registration required.

I would like to change the frequency of the RPI, how can I do that, I'm using low level programming. Also how can I get the used memory and free memory?

share|improve this question
    
You mentioned you are using low level programming. What is it? Do you want to dynamically change the clock with your software? Or you just want to change it once and for all? –  Morgan Courbet Dec 5 '12 at 14:37
    
I just one to change once, on the startup –  run Dec 5 '12 at 14:43
    
What frequency? –  ppumkin Dec 7 '12 at 9:37
add comment

2 Answers

up vote 2 down vote accepted

If you are using a raspbian based distribution you can use "raspi-config" to change the memory-split, overclock your raspi and many more.

share|improve this answer
add comment

To get the memory usage, try the following command, this will give you usage in MB.

free -m

Are you referring to the SOC frequency? It currently cannot be set dynamically (while the RPi is on). But there should be a firmware update sometime soon, that enables this. Keep an eye out for it. If your speaking not dynamically, then the overclock values can be changed in the /boot/config.txt file. Refer to this link

share|improve this answer
    
I'm using low level programming not Linux distro –  run Dec 5 '12 at 14:43
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.