DF6808

8-bit Fast COMPANY OVERVIEW CPU FEATURES FAST architecture – 3.2 times faster than the original DCD-SEMI is a leading IP Core provider and a System-on-Chip implementation design house. The company was founded in 1999 and since Software compatible with 68HC08 industry standard the very beginning has been focused on IP Core architecture Configurable Harvard or Von Neumann architectures improvements. Our innovative, silicon proven solutions have 11 times faster multiplication been employed by over 300 customers and with more than 64 bytes of System Function Registers space (SFRs) 500 hundred licenses sold to companies like Intel, Siemens, Up to 64K bytes of Data Memory Philips, General Electric, Sony and Toyota. Based on more Up to 64K bytes of Code Memory than 70 different architectures, starting from serial interfaces De-multiplexed Address/Data Bus to allow easy memory to advanced and SoCs, we are designing connection solutions tailored to your needs. Two power saving modes: STOP, WAIT Ready pin allows Core to operate with slow program and IP CORE OVERVIEW data memories. Fully synthesizable The DF6808 is an advanced, 8-bit, MCU IP Core with highly Static synchronous design sophisticated, on-chip peripheral capabilities. The DF6808 soft No internal reset generator or gated clock core is binary-compatible with the industry standard Positive edge clocking and no internal tri-states 68HC08 8-bit microcontroller. It can achieve a Scan test ready performance of 45 – 100 million instructions per second. The 800 MHz of virtual clock frequency compared to original implementation DF6808 has a FAST architecture that is3.2 times USB, Ethernet, I2C, SPI, UART, CAN, LIN, HDLC, Smart Card faster comparing to the original implementation. In the interfaces available standard configuration the core has major peripheral functions integrated on-chip. The DF6808 Microcontroller Core contains a full-duplex UART – Asynchronous Serial PERIPHERALS Communication Interface (SCI) and Synchronous Serial Peripheral Interface (SPI). The main 16-bit, free-running timer The peripherals listed below are implemented in the standard system has two input capture lines and two output-compare configuration of D68HC11. lines. Self-monitoring circuitry is included on-chip, to protect against system errors. The Computer Operating Properly DoCD™ On-Chip Debugger Processor execution control (COP) watchdog system protects against software failures. An Read, write all processor contents illegal opcode detection circuit provides a non-maskable Hardware execution breakpoints interrupt if illegal opcode is detected. Two software- Three wire communication interface controlled power-saving modes – WAIT and STOP are Four 8-bit I/O Ports available to preserve additional power. These modes make Interrupt Controller the DF6808 IP Core especially attractive for automotive and 7 interrupt sources battery-driven applications. The DF6808 is fully 7 priority levels customizable – it is delivered in the exact configuration to Dedicated Interrupt vector for each interrupt source meet your requirements. There is no need to pay extra for Main16-bit timer/counter system unused features and wasted silicon. It includes fully 16 bit free running counter automated test bench with complete set of tests, Timer clocked by internal source allowing easy package validation, at each stage of SoC design 16-bit Compare/Capture Unit flow. Each DCD’s DF68XX Core has a built-in support for a Two independent input-capture functions proprietary Hardware Debug System calledDoCD™ . It’s Two output-compare channels a real-time hardware debugger which provides debugging Events capturing capability of a whole System-on-Chip (SoC). Unlike the other Pulses generation on-chip debuggers theDoCD™ enables non-intrusive Digital signals generation debugging of a running application. It can halt, run, step into Gated timers or skip an instruction, read/write any contents of Sophisticated comparator microcontroller, including all registers, SFRs, including user Pulse width modulation defined peripherals, data and program memories. Pulse width measuring SPI – Master&Slave Serial Peripheral Interface DESIGN FEATURES Supports speeds up ¼ of system clock Software selectable polarity and phase of serial clock One global system clock SCK Synchronous reset System errors detection All asynchronous input signals are synchronized before Allows operation from a wide range of system clock internal use frequencies (build-in 5-bit timer)

Copyright © 1999 - 2021 DCD - DCD-SEMI. All Rights Reserved. All trademarks mentioned in this document are the property of their respective owners. Interrupt generation the global interrupt mask bit (I) in the CCR is cleared. Full-duplex UART – SCI Maskable interrupts are prioritized, according to default Standard non-return-to-zero format (NRZ) arrangement established during reset. When interrupt 8 or 9 bit data transfer condition occurs, an interrupt status flag is set, to indicate the Integrated baud rate generator condition. Noise, Overrun and Framing error detection I/O Ports – All ports are 8-bit general-purpose bi-directional IDLE and BREAK characters generation I/O system. The PORTA, PORTB, PORTC, PORTD data registers Wake-up block to recognize UART wake-up from IDLE have their corresponding data direction registers DDRA, condition DDRB, DDRC, DDRD, to control ports data flow. It assures that Three SCI related interrupts all DF6808’s ports have full I/O selectable registers. Writes to any ports pins cause data to be stored in the data registers. OPTIONAL PERIPHERALS If any port pins are configured as output, then data registers are driven out of those pins. Reads from port pins configured Optional peripherals (not included in the presented DF6808 as input, causes that input pin is read. If port pins Core) are also available. The optional peripherals can be is configured as output, during read data register is read. implemented upon customer’s request. Writes to any ports pins, not configured as outputs, do not cause data to be driven out of those pins, but the data is I2C bus controller – Master stored in the output registers. Thus, if the pins later become 7-bit and 10-bit addressing modes outputs, the last data written to port will be driven out NORMAL, FAST, HIGH speeds the port pins. Multi-master systems supported Timer & Compare – The programmable timer is based on Clock arbitration and synchronization free-running 16-bit counter, with a fixed divide by four User defined timings on I2C lines prescaler, plus input capture/output compare circuitry. The Wide range of system clock frequencies timer can be used for many purposes, including measuring Interrupt generation pulse length of two input signals and generating two output I2C bus controller – Slave signals. The timer has 16-bit architecture hence each specific NORMAL speed 100 kbs functional segment is represented by two 8-bit registers. FAST speed 400 kbs These registers contain the high and low byte of that HIGH speed 3400 kbs functional block. Accessing the low byte of a specific timer Wide range of system clock frequencies function, allows full control of that function, however, an User defined data setup time on I2C lines access of the high byte inhibits that specific timer function, Interrupt generation until the byte is also accessed. Each of the input-capture PWM – Pulse Width Modulation Timer channel has its own 16-bit time capture latch (input-capture Fixed-Point arithmetic register) and each of the output-compare channel, has its own Floating-Point arithmetic coprocessor IEEE-754 16-bit compare register. Additional control bits permit standard single precision software to control the edge(s), that trigger each input- capture function and the automatic actions that result from UNITS SUMMARY output-compare functions. Although hardwired logic is included to automate many timer activities, this timer Control Unit – Performs the core synchronization and data architecture is mainly a software-oriented system. This flow control. This module manages execution ofstructure all is easily adaptable to a very wide range of instructions. The Control Unit also manages execution of STOP applications, although for some specific timing applications, it instruction and wakes the processor up from the STOP mode. is not as efficient, as a dedicated hardware. 13 Opcode Decoder – Performs an instruction opcode decoding Watchdog Timer – Consist of a free running Timer CLK/2 and the control functions for all other blocks. and control logic. It can be enabled by software, by writing ‘1’ ALU – Arithmetic Logic Unit performs the arithmetic and logic to the WDOG bit in MISC register ($000C). Once enabled, the operations, during execution of an instruction. It contains WDT Timer cannot be disabled by software. In addition, accumulator (A), Condition Code Register (CCREG), Index the WDOG bit acts as a reset mechanism for the WDT Timer. registers (X) and related logic like arithmetic unit, logic unit Writing logic one ‘1’ to the WDOG bit, clears Watchdog and multiplier. counter and inhibits Watchdog timeout. Bus Controller – Program Memory, Data Memory & SFR’s SCI – A full-duplex UART type, asynchronous system, using (Special Function Register) interface – controls access into the standard non return to zero (NRZ) format: 1 start bit, 8 or 9 program and data memories and special registers. It contains data bits and a 1 stop bit. The DF6805 resynchronizes the (PC), Stack Pointer (SP) register and related receiver bit clock on all one to zero transitions in the bit logic. stream. Therefore, differences in baud rate, between Interrupt Controller – DF6808 extended IC has the sending device and the SCI, are not as likely to cause implemented 7-level interrupt priority control. The interrupt reception errors. Three logic samples are taken near requests may come from external pin (IRQ), as well as from the middle of data bit time and majority logic decides the particular peripherals. The DF6805 peripheral systems sense for the bit. For the start and stop bits, seven logic generate maskable interrupts, which are recognized only if samples are taken. Even if noise causes one of these samples

Copyright © 1999 - 2021 DCD - DCD-SEMI. All Rights Reserved. All trademarks mentioned in this document are the property of their respective owners. to be incorrect, the bit will still be received correctly. The DELIVEVERABLES receiver also has the ability, to enter a temporary standby mode (called receiver wakeup), to ignore messages intended Source code: for a different receiver. Logic automatically wakes the VERILOG or VHDL Source Code receiver up, in time to see the first character of the next VERILOG or VHDL test bench environment message. This wakeup feature greatly reduces CPU overhead Active-HDL automatic simulation macros in multi-drop SCI networks. The SCI transmitter can produce ModelSim automatic simulation macros queued characters of idle (whole characters of all logic 1) and Tests with reference responses break (whole characters of all logic 0). In addition to the usual Technical documentation transmit data register empty (TDRE) status flag, this SCI also Installation notes provides transmit complete (TC) indication that can be used in HDL core specification applications with a modem. Datasheet SPI Unit – Fully configurable master/slave Serial Peripheral Synthesis scripts Interface, which allows user to configure polarity and phase of Example application serial clock signal SCK. It allows the microcontroller, to Netlist communicate with serial peripheral devices. It is also capable Netlist for selected FPGA family of interprocessor communications, in a multi-master system. Sample FPGA project A serial clock line (SCK) synchronizes shifting and sampling of Technical documentation HDL core specification the information, on the two independent serial data lines. SPI Datasheet data are simultaneously transmitted and received. SPI system Technical support is flexible enough, to interface directly with numerous IP Core implementation standard product peripherals, from several manufacturers. 3 months maintenance Data rates are as high as CLK/4. Clock control logic allows a Delivery of the IP Core and documentation updates selection of clock polarity and a choice of two fundamentally Phone & email support different clocking protocols, to accommodate most available Design consulting synchronous serial peripheral devices. When the SPI is configured as a master, software selects one of four different bit rates for the serial clock. SPI automatically drives slave LICENSING select outputs SSO[7:0] and address SPI slave device, to exchange serially shifted data. Error-detection logic is Comprehensible and clearly defined licensing methods included, to support interprocessor communications. A write- without royalty-per-chip fees make use of our IP Cores easy collision detector indicates, when an attempt is made to write and simple. data to the serial shift register, while a transfer is in progress. – Single-Site license option – dedicated to small and A multiple-master mode-fault detector automatically disables middle sized companies which run their business at one place. SPI output drivers, if more than one SPI devices, – Multi-Site license option– dedicated to corporate simultaneously attempt to become a bus master. customers which operate at several locations. The licensed DoCD™ Debug Unit – A real-time hardware debugger, which product can be used at selected company branches. provides debugging capability of a whole SoC system. Unlike In all cases the number of IP Core instantiations within a other on-chip debuggers,DoCD™ provides non-intrusive project and the number of manufactured chips are unlimited. debugging of running application. It can halt, run, step into There are no restrictions regarding the time of use. or skip an instruction, read/write any contents of microcontroller, including all registers, internal, external, There are two formats of the delivered IP Core that you can program memories, all SFRs, including user definedchoose from: peripherals. Hardware breakpoints can be set and controlled – VHDL or Verilog RTL synthesizable source code (called HDL on program memory, internal and external data memories, as Source code) well as on SFRs. Hardware breakpoint is executed, if any – FPGA EDIF/NGO/NGD/QXP/VQM (called Netlist) write/read occurs at particular address, with certain data pattern or without pattern. TheDoCD™ system includes HDL Source code is suitable for ASIC and FPGA projects. The three-wire interface and complete set of tools, to Netlist license is intended for FPGA projects only. communicate and work with core in real time debugging. It is built as scalable unit and some features can be turned off by CONTACT the user, to save silicon and reduce power consumption. When debugger is not used, it is automatically switched to DCD-SEMI Headquarters: power save mode. Finally, when debug option is no longer Wroclawska 94, 41-902 Bytom, POLAND used, the whole debugger is turned off. E-mail: [email protected] tel.: 0048 32 282 82 66 fax: 0048 32 282 74 37 Distributors: Please check: dcd-semi.com/contact-us/

Copyright © 1999 - 2021 DCD - DCD-SEMI. All Rights Reserved. All trademarks mentioned in this document are the property of their respective owners.