Documentation
 Datasheet 
 Presentation 
Application Notes D68HCXX development boards Development Tools Products Summary
D68HC05

8-bit Microcontroller


The D68HC05 is a advanced 8-bit MCU IP Core with highly sophisticated, on chip peripheral capabilities. The D68HC05 soft core is binary and cycle - compatible with the industry standard Motorola 68HC05 8-bit microcontroller. The Core in standard configuration has integrated on chip major peripheral functions. The D68HC05 Microcontroller Core contains full-duplex UART- Asynchronous Serial Communication Interface (SCI), and can also be equipped with the Synchronous Serial Peripheral Interface (SPI). The main 16-bit, free-running timer system has two input capture lines, and two output-compare lines. Self-monitoring circuitry is included on-chip to protect against system errors. A computer operating properly (COP) watchdog system protects against software failures. An illegal opcode detection circuit provides a non-maskable interrupt if illegal opcode is detected. Two software-controlled power-saving modes, WAIT and STOP, are available to conserve additional power. These modes make the D68HC05 IP Core especially attractive for automotive and battery-driven applications.
D68HC05 is fully customizable, which means it is delivered in the exact configuration to meet users’ requirements. It includes fully automated testbench with complete set of tests allowing easy package validation at each stage of SoC design flow.


Each DCD's D68XX Core has built in support for DCD Hardware Debug System called DoCDTM. It's a real-time hardware debugger provides debugging capability of a whole System on Chip (SoC).
In contrast to other on-chip debuggers DoCDTM provides non-intrusive debugging of running application. It can halt, run, step into or skip an instruction, read/write any contents of microcontroller including all registers, SFRs including user defined peripherals, data and program memories. More details about DCD on Chip Debugger...



CPU Features

Peripherals

  • Standard architecture, cycle compatible with original implementation
  • Software compatible with industry standard 68HC05
  • Up to 64K bytes of Data Memory
  • Up to 64K bytes of Code Memory
  • Pin to pin compatibility with 68HC05 devices
  • Two power saving modes: STOP, WAI
  • Ready pin allows Core to operate with slow program and data memories.
  • Fully synthesizable
  • Static synchronous design
  • No internal reset generator or gated clock
  • Positive edge clocking and no internal tri-states
  • Scan test ready

Design Features

  • One global system clock
  • Synchronous reset
  • All asynchronous input signals are synchronized before internal use
  • Synchronous logic without microcode

Configuration

The D68HC05 Microcontroller Core has built in hardware on chip debugger DoCDTM which can be easily switched on/of by changing single parameter in the core package. This configurability allows user to have the DoCDTM "on board" at the prototyping level, and then switch it off in mass production. This feature allows to save space in silicon in production items.


DoCDTM debug unit
  • used
  • unused

Also peripheral components are configurable the same way as DoCDTM.
Besides mentioned above parameter all available peripherals can be excluded from the core by changing appropriate constants in package file.
  • DoCDTM debug unit
    • Processor execution control
    • Read-write all processor contents
    • Hardware execution breakpoints
    • Three wire communication interface
  • I/O Ports
  • Extended Interrupt Controller
    • 7 interrupt sources
    • 7 priority levels
  • Main16-bit timer/counter system
    • 16 bit free running counter
    • Timer clocked by internal source
  • 16-bit Compare/Capture Unit
    • Two independent input-capture functions
    • Two output-compare channels
    • Events capturing
    • Pulses generation
    • Digital signals generation
    • Gated timers
    • Sophisticated comparator
    • Pulse width modulation
    • Pulse width measuring
  • Full-duplex UART - SCI
    • Standard Non-return to Zero format (NRZ)
    • 8 or 9 bit data transfer
    • Integrated BAUD Rate generator
    • Enhanced receiver data sampling technique
    • Noise, Overrun and Framing errors detection
    • IDLE and BREAK characters generation
    • Wake-up block to recognize UART wake-up from IDLE
    • Three SCI Related interrupts


Symbol

 clk
 rst
halt 
 irq
 tcap
tcmp 
 docddatai
 clkdocd
docddatao 
docdclk 
port A (7:0) 
port B (7:0) 
port C (7:0) 
port D (7:0) 

Pins description

PinTypeDescription
clkinputGlobal clock
rstinputGlobal reset
irqinputExternal interrupt request input
tcapinputTimer Capture channel input
docddataiinputDoCDTM serial data input
clkdocdinputClock signal to DoCDTM On chip Debugger module. This separate clock line allow DoCDTM to operate during the SLEEP mode (major clock CLK is stopped).
haltoutputHalt clock system during STOP Instruction
tcmpoutputTimer compare channel output
docddataooutputDoCDTM serial data output
docdclkoutputDoCDTM serial data clock line
port A (7:0)outputBidirectional general purpose I/O port
port B (7:0)outputGeneral Purpose I/O Port
port C (7:0)outputGeneral purpose I/O Port
port D (7:0)output8-bit port shared with SPI and SCI interfaces

Block diagram

Opcode Decoder
Control Unit
halt
ALU
Interrupt Controller
irq
Timer
tcmp
tcap
SCI
DoCDTM
docddatai
docddatao
docdclk
clkdocd
I/O Ports
port A (7:0)
port B (7:0)
port C (7:0)
port D (7:0)
clk
rst

Units

Opcode Decoder

It performs an instruction opcode decoding and the control functions for all other blocks.

Control Unit

Control unit prforms the core synchronization and data flow control. This module manages execution of all instructions. The STOP instruction and wakes-up the processor from the STOP mode.

ALU

Arithmetic Logic Unit performs the arithmetic and logic operations during execution of an instruction. It contains accumulator (A), Condition Code Register (CCREG), Index register (X), and related logic such as arithmetic unit, logic unit, and multiplier.

Interrupt Controller

The extended Interrupt Controller has implemented 7-level interrupt priority control. The interrupt requests may come from external pin (IRQ) as well as from particular peripherals. The peripheral systems generate maskable interrupts, which are recognized only if the global interrupt mask bit (I) in the CCR is cleared. Maskable interrupts are prioritized according to default arrangement established during reset. When interrupt condition occurs, an interrupt status flag is set to indicate the condition.

Timer

16-bit capture/compare timer.

SCI

The SCI is a full-duplex UART type asynchronous system, using standard non return to zero (NRZ) format : 1 start bit, 8 or 9 data bits and a 1 stop bit. The Core resynchronizes the receiver bit clock on all one to zero transitions in the bit stream. Therefore differences in baud rate between the sending device and the SCI are not as likely to cause reception errors. Three logic samples are taken near the middle of data bit time, and majority logic decides the sense for the bit. For the start and stop bits seven logic samples are taken. Even if noise causes one of these samples to be incorrect, the bit will still be received correctly. The receiver also has the ability to enter a temporary standby mode (called receiver wakeup) to ignore messages intended for a different receiver. Logic automatically wakes up the receiver in time to see the first character of the next message. This wakeup feature greatly reduces CPU overhead in multidrop SCI networks. The SCI transmitter can produce queued characters of idle (whole characters of all logic 1) and break (whole characters of all logic 0). In addition to the usual transmit data register empty (TDRE) status flag, this SCI also provides a transmit complete (TC) indication that can be used in applications with a modem.

DoCDTM

DoCDTM Debug Unit – it’s a real-time hardware debugger provides debugging capability of a whole SoC system. In contrast to other on-chip debuggers DoCD™ provides non-intrusive debugging of running application. It can halt, run, step into or skip an instruction, read/write any contents of microcontroller including all registers, internal, external, program memories, all SFRs including user defined peripherals. Hardware breakpoints can be set and controlled on program memory, internal and external data memories, as well as on SFRs. Hardware breakpoint is executed if any write/read occurred at particular address with certain data pattern or without pattern. The DoCDTM system includes three-wire interface and complete set of tools to communicate and work with core in real time debugging. It is built as scalable unit and some features can be turned off to save silicon and reduce power consumption. A special care on power consumption has been taken, and when debugger is not used it is automatically switched in power save mode. Finally whole debugger is turned off when debug option is no longer used.
The separate DoCDTM clock line allow debugger to operate while the SLEEP mode (major clock line CLK is stopped).

I/O Ports

The I/O Ports of D68HC05, are bidirectional and share I/O functions with particular peripheral functions. All the ports can operate as general purpose inputs, outputs or as peripheral functions, according to selected mode of operation.

Family summary

FamilyIP CoreArchitecture
type
Memory
space
DoCDTMUART (SCI)SPI M/SIO PortsWatchdog
Timer
TimerCompare /
Capture
Pulse
accumulator
READY
pin
Chip
Selects
Gatecount
HC05, HC08DF6805fast64k++-4+12/2-+-7000
-DF6808fast64k++-4+12/2-+-8300
-D68HC05legacy64k+++4+11/1----
-D68HC08legacy64K+++4+12/1---10000
HC11DF6811Efast64k+++5+15/4++-12000
-DF6811Ffast64k+++7+15/4++-14000
-DF6811Kfast1M+++10+313/6++-21000
-D68HC11Elegacy64k+++5+15/4+--13000
-D68HC11Klegacy1M++110+313/6+-421000
-D68HC11Flegacy64k+++7+15/4--413500
6802, 6803DF6802fast64k+----------
-DF6803fast64k+++4-1+----
-D6802legacy64k+---------3600
-D6803legacy64k+++4-1+---6000


The main features of each D68XX and DF68XX family member have been summarized in table above. It gives a brief member characterization to help selection of the most suitable IP Core for application. User can specify its own peripheral set (including listed above and the others) and request the core modifications.