Slcout command, Fcs serial peripheral interface module – Freescale Semiconductor Microcontrollers User Manual

Page 300

Advertising
background image

HC08 Full Chip Simulation

Configuration Procedure

300

Microcontrollers Debugger Manual

SLCOUT Command

The SLCOUT command displays the output buffer from the SLIC. A window is opened
that shows all the data that the SLIC has shifted out, in either Byte Transfer or SLIC
Mode. An arrow is used to point to the last output packet transmitted. The maximum
number of output packets that the buffer holds is 256 bytes.

Syntax

>SLCOUT

Example

>SLCOUT

View packets from the output buffer for SLIC simulation.

FCS Serial Peripheral Interface Module

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

• Flag polling

• Interrupt enabled mode

• Master and slave modes

• Slave input clock

• Transmission and reception of external data

FCS mode uses the buffered input/output structure to simulate SPI inputs. The user can
queue up to 256 data values into the input buffer. The output buffer of the SPI module can
also hold 256 output values. To queue the SPI Input Data, use the SPDI <n> command at
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. You can enter input values while the window is open. An
arrow points to the next input value to the SPI. The data from the SPI input buffer is
written to the SPI data register once the SPI 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 SPI IN Buffer.

Advertising