Main Content

CPU Clock Frequency (MHz)

Frequency of the primary CPU core clock

Model Configuration Pane: Hardware Implementation / Simulink or Embedded Coder Hardware Support Package / Hardware board settings / Target hardware resources / Clocking

Description

The CPU Clock (MHz) parameter selects the frequency of the primary CPU core clock (GCLK1).

The frequency of the secondary CPU core clock (GCLK2) is equal to the primary. All other clocks on the hardware board derive their frequency as a fraction of the primary CPU core clock frequency.

Dependencies

None

Settings

300 (default) | 330

The frequency of the primary CPU core clock (GCLK1) in MHz.

Examples

expand all

  1. In the Simulink® Editor, select Simulation > Model Configuration Parameters.

  2. In the Configuration Parameters dialog box, click Hardware Implementation.

  3. Set the Hardware board parameter to TI Hercules RM57Lx Launchpad and click Apply.

    The parameter values under Hardware board settings are automatically populated to their default values.

  4. From the Clocking group, select a CPU Clock Frequency (MHz) frequency and click Apply.

  5. Click OK to close the dialog box.

Recommended Settings

No recommendation.

Programmatic Use

No programmatic use is available.

Version History

Introduced in R2014b