Search

Technical Discussion Group Forum

This forum is provided for user discussion. While Beacon EmbeddedWorks support staff and engineers participate, Beacon EmbeddedWorks does not guarantee the accuracy of all information within in the Technical Discussion Group (TDG).

The "Articles" forums provide brief Articles written by Beacon EmbeddedWorks engineers that address the most frequently asked technical questions.

To receive email notifications when updates are posted for a Beacon EmbeddedWorks product download, please subscribe to the TDG Forum of interest.

TDG Forum

PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 02 Apr 2012 02:15 PM by  glennj@logicpd.com
Article: DM3730 --How to Read and Change CPU Clock Frequency
 0 Replies
Sort:
You are not authorized to post a reply.
Author Messages
glennj@logicpd.com
New Member
New Member
Posts:


--
02 Apr 2012 02:15 PM
    Q: How do I read and change the Clock Speed on the DM3730, AM3703 Development Kit?

    A:
    In LogicLoader (LoLo):

    In the Logicloader Command Description manual, (ver2.5 – 1020108A)
    To change the cpu-freq command has three settings
    losh> cpu-freq [high|nominal|low]
    To read the cpu-freq:
    losh> cpu-freq

    For Linux and Android:

    (Reference: WP491—DM3730-AM3703_Torpedo_SOM_Thermal_Management; 1021014A)
    Section 4.1.2:

    4.1.2 Linux and Android
    Linux provides several tools to change the DM3730/AM3703 OPPs. Changing the frequency with these tools also sets the correct core voltages. The /sys/devices/system/cpu/cpu0/cpufreq directory has several parameters for setting up frequency scaling.
    To read back the current frequency, use one of the two commands below.

    host$ cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_cur_freq

    host$ cpufreq-info -f -m
    To read back available options for setting the CPU frequency, use the command below.

    host$ cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_frequencies

    To manually set the CPU frequency, use the command below, where X is the frequency in kHz. Options are given by the previous command listed.

    host$ cpufreq-set -f X

    The example below uses this command to set the frequency to 1 GHz.

    host$ cpufreq-set -f 1000000

    ********************************************************************
    Note: Several of the value entries above are in KHz. The processor hardware is degraded if running at high speed >800MHz for an extended period of time. The software does not
    have frequency limitations.

    Sidenote:
    **********
    To include cpufrequtils in a build, the DM37x Linux BSP UG (1020203A) Section 2.2.1.2 has the following command:
    bash$ sudo apt-get install libtool

    PRODUCTS Included:
    DM3730, AM3703, DM3730 Torpedo, DM3730 Torpedo + Wireless
    You are not authorized to post a reply.