HC05EVS Configuration and Operation
MC68HC(8)05P18 Emulation
M68EM05P18UM/D
38
HC05EVS Configuration and Operation
MOTOROLA
MC68HC(8)05P18 Emulation
NOTE:
Be aware that if the computer operating properly (COP) mask
option has been selected as enabled, your code must clear
the COP watchdog timer counter to avoid a COP reset. The
counter is cleared by writing a logical 0 to bit 0 at location
$3FF0. This should be the first check when code is not
operating as expected.
The MC68HC(8)05P18 MCU is emulated on the M68EM05P18
emulation module. The resident MCU (socket XU5) should be an
EEPROM device (an MC68HC805P18).
The following paragraphs detail known differences between the
performance of an MC68HC805P18 MCU run in single-chip operation
versus the way certain features will perform during emulation.
Port A Pullups/
Interrupts
In single-chip mode operation:
The simple port A I/O feature and the associated interrupt/pullup
options are implemented through the port A pins of the
MC68HC(8)05P18 MCU. With this implementation, an interrupt
service routine could poll the external IRQ pin using BIL and BIH
statements and determine if the source of an interrupt was the
external IRQ pin or one of the enabled port A interrupts.
In emulation:
The port A I/O function is rebuilt off-chip and the enabled
interrupt/pullup options will generate interrupts through the external
IRQ pin. An interrupt service routine using BIL and BIH instructions
could not determine if an interrupt was generated via an external IRQ
pin or one of the enabled port A interrupts. The proper way to
differentiate between a port interrupt and an external interrupt is to
have the interrupt service routine poll possible port A interrupts. If
none are low, then the interrupt was driven by an external IRQ.
Summary of Contents for M68EM05P18
Page 1: ...M68EM05P18UM D M68EM05P18 EMULATION MODULE USER S MANUAL ...
Page 2: ......
Page 6: ...Revision History M68EM05P18UM D 6 MOTOROLA ...
Page 44: ...Schematics M68EM05P18 Schematics M68EM05P18UM D 44 Schematics MOTOROLA ...
Page 46: ...Schematics M68EM05P18 Schematics M68EM05P18UM D 46 Schematics MOTOROLA ...
Page 48: ...Schematics M68EM05P18 Schematics M68EM05P18UM D 48 Schematics MOTOROLA ...
Page 50: ...Schematics M68EM05P18 Schematics M68EM05P18UM D 50 Schematics MOTOROLA ...
Page 52: ...Schematics M68EM05P18 Schematics M68EM05P18UM D 52 Schematics MOTOROLA ...
Page 53: ...M68EM05P18UM D MOTOROLA Schematics 53 Note Page ...
Page 54: ...M68EM05P18UM D 54 Schematics MOTOROLA Note Page ...
Page 55: ......