HC08 Full Chip Simulation
Configuration Procedure
262
Microcontrollers Debugger Manual
Certain peripherals that run directly from the XTAL run at different speeds than those that
run from the bus clock.
Syntax
>XTAL <n>
Where:
n, by default, is a hexadecimal number, representing the simulated frequency of an
external oscillator. Adding the suffix “t” to the n parameter forces the input value
to be interpreted as base 10.
Example
>XTAL
Brings up an input window. The default base for this input value is 10. However,
this value can be forced to a hexadecimal format by adding the suffix “h”.
High-Resolution PWM Module
In Full Chip Simulation Mode, this option lets you simulate all functionality of the High
Resolution PWM (HRP) module, including:
• pulse width modulation
• flag polling
• interrupt enabled mode of operation
• variable period and dead time insertion
• shutdown input for fast disabling of outputs
To ensure that the HRP firmware is functioning as expected, the user can observe the
toggling of I/O pins that are multiplexed with the HRP module. To do that, the HRP
module has to be configured for the desired period with the enabled output on
corresponding TOP and BOT pins. The Memory Window displays the address of the
register corresponding to the appropriate I/O port.