|
|
|
CPU
MC68HC908SR12_42
Freescale HC08 family : MC68HC908SR12 in 42 pin package
Device Initialization
(Description of the CPU component parameters.)
-
Clock settings - MCU Clock settings
-
Source CPU clock - The clock source for the internal bus clock. If the Internal and the External clock sources are enabled one of these clock sources can be specified for all speed modes.
-
Internal Clock - Internal clock for the MCU timing (for information only).
The following items are available only if the group is enabled (the value is "Enabled"):
-
External Clock - If this property is enabled, an external clock is allowed for MCU timing.
The following items are available only if the group is enabled (the value is "Enabled"):
-
Oscillator frequency [MHz] - Frequency of the crystal or the external clock. The crystal should be in the range of 32.768kHz-4.9152MHz and the external clock should be in the range of 0.0001-20MHz for 5-V control. The crystal should be in the range of 32.768kHz-4.9152MHz and external clock should be in the range of 0.0001-16MHz for 3-V control.
-
External Clock Source - Possible external clock sources.
-
Internal bus clock - The internal bus clock [MHz]. Maximum bus frequency is 8.0MHz for 5-V control and 4.0MHz for 3-V control. The bus clock can be specified only if the PLL is enabled and the CPU Monitor mode is not selected.
-
PLL clock - PLL clock (Enabled/Disabled)
The following items are available only if the group is enabled (the value is "Enabled"):
-
PREdivider - Part of the PLL multiplier that defines clock for the PWM module (setting of this multiplier affects PLL settings).
-
PLL clock frequency - PLL clock frequency [MHz]. The value of PLL clock frequency depends on the bus clock frequency (for information only).
-
PLL bandwidth control - Selects automatic or manual bandwidth control.
-
PLL mode - Selects acquisition or tracking mode.
-
Low-power modes settings - Low-power modes settings.
-
STOP instruction enabled - This property enables the STOP instruction.
The following items are available only if the group is enabled (the value is "yes"):
-
Internal oscillator in stop mode - This property disables/enables the internal oscillator during stop mode.
-
Ext. RC oscillator in stop mode - This property enables/disables the external RC oscillator during stop mode. This is useful for driving the real time clock module that allows to generate periodic wake-up in the stop mode. If this property is disabled the external XTAL oscillator will be disabled during stop mode.
-
Ext. crystal oscillator in stop mode - This property enables/disables the external crystal (XTAL) oscillator during stop mode. This is useful for driving the real time clock module that allows to generate periodic wake-up in the stop mode. If this property is disabled the external XTAL oscillator will be disabled during stop mode.
-
Recovery from Stop Mode after - This property enables the CPU to exit the stop mode with a delay of 32 ICLK cycles instead of a 4096 ICLK cycle delay.
-
CPU mode selection - CPU mode. This property is necessary for the correct CPU's internal timing.
There are 2 modes:
- Monitor mode - The following items are displayed in this mode:
-
PTC1 pin level - Logical value of PTC1 pin. The value on this pin is used by the processor when entering Monitor mode. For details see the datasheet of a particular device.
- User mode - There are no items in this mode.
-
Maskable CPU interrupts - Enable/disable CPU maskable interrupts. This item modifies Interrupt Mask Bit I in Condition Code CPU register CCR.
-
Internal peripherals - Internal peripherals settings.
-
I/O module - I/O ports' settings
-
PORT A - LED drive settings for all pins of PORT A.
-
PORT C - LED drive settings for all pins of PORT C.
-
LVI module - This property enables/disables low voltage monitoring on the Vdd pin.
The following items are available only if the group is enabled (the value is "Enabled"):
-
TBM module - TBM settings
-
TBM clock source - This property selects which oscillator output to be driven out as OSCCLK to the timebase module (TBM).
This property modifies the OSCCLK1and OSCCLK0 bits in the CONFIG2 register.
-
CPU interrupts - Interrupts allocated by CPU bean
-
Reset vector - Reset vector settings.
-
Interrupt - Interrupt associated with the reset vector (for information only)
-
ISR name - Name of the reset vector - routine, that initializes CPU after reset.
-
PLL lock status changed - This property enables/disables generation of PLL interrupt and its' interrupt service routine (PLL must be turn on to enable PLL interrupt).
The following items are available only if the group is enabled (the value is "Enabled"):
-
Interrupt - Clock monitor interrupt. (for information only)
-
ISR name - Name of the interrupt service routine (ISR) invoked by this interrupt vector.
The user code of the routine should handle all respective interrupt flags correctly.
-
SWI - This property enables/disables generation of SWI interrupt service routine.
The following items are available only if the group is enabled (the value is "Enabled"):
-
Interrupt - Software Interrupt (for information only)
-
ISR name - Name of the interrupt service routine (ISR) invoked by this interrupt vector.
The user code of the routine should handle all respective interrupt flags correctly.
|