Fcs serial communications interface module – Freescale Semiconductor Microcontrollers User Manual

Page 292

Advertising
background image

HC08 Full Chip Simulation

Configuration Procedure

292

Microcontrollers Debugger Manual

Figure 11.34 Memory Component Window

If the PIT interrupt is enabled, the FCS jumps to an appropriate subroutine as long as the
PIT interrupt vector is properly defined.

FCS Serial Communications Interface
Module

In FCS Mode, this module simulates all functionality of the Serial Peripheral Interface
(SPI) module including:

• flag polling

• interrupt enabled mode

• 8- or 9-bit length data codes

• odd and even parity modes

• transmission and reception of external data

FCS mode uses the buffered input/output structure to simulate SCI inputs. The user can
queue up to 256 data values into the input buffer. The output buffer of the SCI module can
also hold 256 output values. To queue the SCI Input Data, use the SCDI <n> command
in the command prompt. If <n> (the data parameter) is given, the value is placed into the
next slot in the input buffer. Otherwise, if no parameter is provided, a window is displayed
with the input buffer values. Input values can be entered while the window is open. An
arrow points to the next value to be used as input to the SCI. The data from the SCI input
buffer is written to the SCI data register once the SCI module has been turned on and is
properly configured for receiving data from an external serial device. Once the simulation
of the data transmission is over, the arrow moves to the next value in the SCI IN Buffer.

Advertising