|
Dialog Box for Timing Settings The Timing dialog box provides a user-friendly interface for the settings of component timing features. When clicking on the
The settings are instantly validated according to the Processor Expert timing model. Timing Dialog Controls
Prescalers tableNote: This table is visible only in Advanced or Expert view mode and if it is possible to select a prescaler for the selected peripheral. This table occupies the topmost part of the window. It shows a clock source and prescaler(s) values related to the currently edited timing value (see the section Timing values table for details). A presence and number of rows in the table are optional and depend on the hardware structure and a type of the configured value. The table allows the user to configure his/her requirements on the prescalers. Autoselect means that the value is configured automatically by Processor Expert to achieve the requested timing. Otherwise, if there are some values set manually, only these values will be used and possible timing values are limited to the values that can be achieved with the manually set clock source and/or prescaler values. The table contains a row for each prescaler which is used by the device selected for the component. Each column contains a value corresponding to one speed mode except the last column which shows values of the prescalers that are really set. It's possible to adjust the values only in the columns of the speed modes that are enabled. The table can contain the following rows:
Runtime setting configurationNote: Runtime setting cannot be selected in the BASIC view mode. Runtime setting type selection determines how the timing setting can be modified at runtime. The following options are available:
Note: Some of the methods used for runtime setting of timing will be enabled only if the appropriate runtime setting type is selected. Timing values tableThis table allows to set or modify a requested value(s) for the configured timing. Each row represents one time value and the number of rows depends on the selected type of runtime setting.
Timing precision configurationIt is possible to specify desired precision of the timer settings by using one of the following settings (which one is used depends on the type of the timing) :
Minimal timer ticksNote: This item is available only for setting of period in components where it's meaningful (e.g. PWM, PPG). This item allows to set a minimal number of timer-ticks in period. It means that it will be possible to set a duty of the output signal to at least the specified number of distinct values for any period of the output signal at runtime. Value 0 means no requirements for the timer settings. Adjusted valuesThis table displays a real values for each speed mode the currently selected row in the Timing values table. These values are computed from the chosen on-chip peripheral settings, selected prescaler(s) value and the difference between a value selected by the user and the real value. Status boxThe status box displays a status of the timing setting(s). If the timing requirements are impossible to meet, a red error message is displayed, otherwise it's blank and gray. Possible settings tableThis table is displayed on the right part of the timing dialog if the the button Possible settings on the top is pressed. The table shows values supported by the target CPU for the selected peripheral. If there are only individual values available to set, the table contains a list of values - each row represents one value. If there are intervals with a constant step available, each row contains one of the intervals with three values: From, Till - minimum and maximum value, Step - a step between values within the interval. The way the values are displayed may be dependent on
By clicking on the table header, there is possible to order the rows by the selected column. By clicking the same column again, the user can switch between ascending or descending order. The values listed in the possible settings table depend on the following timing settings:
The table contains a speed mode tabs (speed modes and related settings are supported only in EXPERT view mode) that allow to filter the displayed intervals for a specific speed mode or show intersection of all. Please note that the intersection contains only a values that can be set in all speed modes with absolute precision (without any error), so some values that are still valid due to non-zero Error allowed value are not shown. Clock pathNote: This table is available in Advanced or Expert view modes only. This table is displayed on the right part of the timing dialog if the the button Clock path on the top is pressed. Each row of the table represents a device influencing a clock on the path from the clock source on the first row (e.g. the crystal, internal oscillator or PLL) to the peripheral or a part of it. The last row contains total divider (a total ratio between the source clock and the resulting peripheral clock) in the form of *{mult}/{div} where {mult} is multiplier and {div} is divider or /{div} if no multiplier is present. Please note that the clock path may not be displayed correctly in case that there is not possible to set the required timing (i.e. when error message is displayed). The table contains the following columns:
Note: Some devices shown in the clock path are not physically present on the CPU but are only a necessary part of a virtual model that allows to represent a real timing behavior. The prescaler values in rows may not match the values exactly written into the control registers (e.g. compare/reload) but they are clock divisor values used by the timing model. Also if the component uses virtual clock device as a clock source (RTIShared), there is a device named SW extension that represent a divisor provided by software counter. Copyright 2010 Freescale Semiconductor, Inc.
PROCESSOR EXPERT is trademark of Freescale Semiconductor, Inc. |