DEMO9S08JM16 Freescale Semiconductor, DEMO9S08JM16 Datasheet - Page 259

BOARD DEMO FOR JM16 FAMI

DEMO9S08JM16

Manufacturer Part Number
DEMO9S08JM16
Description
BOARD DEMO FOR JM16 FAMI
Manufacturer
Freescale Semiconductor
Type
MCUr

Specifications of DEMO9S08JM16

Contents
Board with Daughter card, Cable, Documentation, Mini-AB USB Kit
Processor To Be Evaluated
MC9S08JM16
Data Bus Width
8 bit
Interface Type
USB
Silicon Manufacturer
Freescale
Core Architecture
HCS08
Core Sub-architecture
HCS08
Silicon Core Number
MC9S08
Silicon Family Name
Flexis - S08JM
Rohs Compliant
Yes
For Use With/related Products
MC9S08JM16
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
The direction of each serial I/O pin depends on the BIDIROE bit. If the pin is configured as an output,
serial data from the shift register is driven out on the pin. The same pin is also the serial input to the shift
register.
The SPSCK is output for the master mode and input for the slave mode.
The SS is the input or output for the master mode, and it is always the input for the slave mode.
The bidirectional mode does not affect SPSCK and SS functions.
15.4.8
The SPI has one error condition:
15.4.8.1
If the SS input becomes low while the SPI is configured as a master, it indicates a system error where more
than one master may be trying to drive the MOSI and SPSCK lines simultaneously. This condition is not
permitted in normal operation, and the MODF bit in the SPI status register is set automatically provided
the MODFEN bit is set.
Freescale Semiconductor
Bidirectional Mode
When SPE = 1
Normal Mode
Mode fault error
SPC0 = 0
SPC0 = 1
Error Conditions
Mode Fault Error
In bidirectional master mode, with mode fault enabled, both data pins MISO
and MOSI can be occupied by the SPI, though MOSI is normally used for
transmissions in bidirectional mode and MISO is not used by the SPI. If a
mode fault occurs, the SPI is automatically switched to slave mode, in this
case MISO becomes occupied by the SPI and MOSI is not used. This has to
be considered, if the MISO pin is used for another purpose.
Serial Out
Serial In
Serial Out
SPI
Table 15-9. Normal Mode and Bidirectional Mode
Serial In
SPI
Master Mode MSTR = 1
MC9S08JM16 Series Data Sheet, Rev. 2
BIDIROE
NOTE
MOMI
MOSI
MISO
.
Serial Out
Serial In
Serial Out
SPI
Serial In
SPI
Slave Mode MSTR = 0
Serial Peripheral Interface (S08SPI16V1)
BIDIROE
SISO
MOSI
MISO
259

Related parts for DEMO9S08JM16