mc9s08jm60 Freescale Semiconductor, Inc, mc9s08jm60 Datasheet - Page 253

no-image

mc9s08jm60

Manufacturer Part Number
mc9s08jm60
Description
Hcs08 Microcontrollers
Manufacturer
Freescale Semiconductor, Inc
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
mc9s08jm60CGT
Manufacturer:
FREESCALE
Quantity:
5 200
Part Number:
mc9s08jm60CGT
Manufacturer:
FREESCALE
Quantity:
5 200
Part Number:
mc9s08jm60CLD
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
Part Number:
mc9s08jm60CLDR
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
Part Number:
mc9s08jm60CLH
Manufacturer:
FREESCALE
Quantity:
2 500
Part Number:
mc9s08jm60CLH
Manufacturer:
FREESCALE
Quantity:
20 000
Part Number:
mc9s08jm60CLHE
Manufacturer:
AZBIL
Quantity:
1 000
When the SPI is configured as a master, data queued in the transmit data buffer is transmitted immediately
after the previous transmission has completed.
The SPI transmit buffer empty flag (SPTEF) in the SPIxS register indicates when the transmit data buffer
is ready to accept new data. SPIxS must be read when SPTEF is set before writing to the SPI data registers,
or the write will be ignored.
Data may be read from SPIxDH:SPIxDL any time after SPRF is set and before another transfer is finished.
Failure to read the data out of the receive data buffer before a new transfer ends causes a receive overrun
condition and the data from the new transfer is lost.
In 8-bit mode, only SPIxDL is available. Reads of SPIxDH will return all 0s. Writes to SPIxDH will be
ignored.
In 16-bit mode, reading either byte (SPIxDH or SPIxDL) latches the contents of both bytes into a buffer
where they remain latched until the other byte is read. Writing to either byte (SPIxDH or SPIxDL) latches
the value into a buffer. When both bytes have been written, they are transferred as a coherent 16-bit value
into the transmit data buffer.
15.3.6
These read/write registers contain the hardware compare value, which sets the SPI match flag (SPMF)
when the value received in the SPI receive data buffer equals the value in the SPIxMH:SPIxML registers.
In 8-bit mode, only SPIxML is available. Reads of SPIxMH will return all 0s. Writes to SPIxMH will be
ignored.
In 16-bit mode, reading either byte (SPIxMH or SPIxML) latches the contents of both bytes into a buffer
where they remain latched until the other byte is read. Writing to either byte (SPIxMH or SPIxML) latches
the value into a buffer. When both bytes have been written, they are transferred as a coherent value into
the SPI match registers.
Freescale Semiconductor
Reset
Reset
W
W
R
R
Bit 15
SPI Match Registers (SPIxMH:SPIxML)
Bit 7
0
0
7
7
14
0
6
0
6
6
Figure 15-11. SPI Match Register High (SPIxMH)
Figure 15-12. SPI Match Register Low (SPIxML)
MC9S08JM60 Series Data Sheet, Rev. 2
13
0
5
0
5
5
12
0
4
0
4
4
11
3
0
3
3
0
Serial Peripheral Interface (S08SPI16V1)
10
0
2
0
2
2
9
0
1
0
1
1
Bit 8
Bit 0
0
0
0
0
253

Related parts for mc9s08jm60