![]() |
|||||||||||||||||||||||||||||||||||||||||||||||
|
DF 6808 (8-bit FAST Microcontrollers Family) IP Core General
Description:
UnitsControl UnitControl unit performs 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. Opcode DecoderIt performs an instruction opcode decoding and the control functions for all other blocks. ALUArithmetic Logic Unit performs the arithmetic and logic operations during execution of an instruction. It contains accumulator (A), Condition Code Register (CCREG), Index registers (H:X), and related logic such as arithmetic unit, logic unit, multiplier and divider. Bus ControllerProgram Memory, Data Memory & SFR's (Special Function Register) interface controls access into the program and data memories and special registers. It contains Program Counter (PC), Stack Pointer (SP) register, and related logic. Interrupt ControllerThe 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. Watchdog TimerThe Watchdog Timer consist of free running timer CLK/213, plus control logic. The Watchdog Timer can be enabled by software by writing '1' to the WDOG Bit in MISC ($0C) register. Once enabled the WDT timer cannot be disabled by software. In addition the WDOG bit acts as a reset mechanism for the WDT Timer. Writing '1' to the WDOG Bit clears WDT counter and inhibits Watchdog timeout. Timer with Compare CaptureThe programmable timer is based on free-running 16-bit counter, plus input capture/output compare circuitry. The timer can be used for many purposes including measuring pulse length of two input signals and generating two output signals. The timer has 16-bit architecture, hence each specific functional segment is represented by two 8-bit registers. These registers contains the high and low byte of that functional block. Accessing the low byte of a specific timer function allows full control of that function, however, an access of the high byte inhibits that specific timer function until the byte is also accessed. Each of the input-capture channel has its own 16-bit time capture latch (input-capture register) and each of the output-compare channel has its own 16-bit compare register. Additional control bits permit software to control the edge(s) that trigger each input-capture function and the automatic actions that result from output-compare functions. Although hardwired logic is included to automate many timer activities, this timer architecture is essentially a software-oriented system. This structure is easily adaptable to a very wide range of applications although it is not as efficient as dedicated hardware for some specific timing applications. I/O PortsAll ports are 8-bit general-purpose bi-directional I/O
system. The PORTA, PORTB, PORTC, PORTD data registers have their
corresponding data direction registers DDRA, DDRB, DDRC, DDRD to control
ports data flow. It assures that all ports have full I/O selectable
registers. Writes to any ports pins cause data to be stored in the data
registers. If any port pins are configured as output then data registers
are driven out of those pins. Reads from port pins configured as input
causes that input pin is read. If port pins is configured as output,
during read data register is read. SCIThe 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 multi drop 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.
|
|
||||||||||||||||||||||||||||||||||||||||||||||