mc68hc705p6a Freescale Semiconductor, Inc, mc68hc705p6a Datasheet - Page 43

no-image

mc68hc705p6a

Manufacturer Part Number
mc68hc705p6a
Description
M68hc05 Microcontrollers Microcontroller
Manufacturer
Freescale Semiconductor, Inc
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
mc68hc705p6aCDW
Manufacturer:
LT
Quantity:
1 200
Part Number:
mc68hc705p6aCDW
Manufacturer:
MOT
Quantity:
5 510
Part Number:
mc68hc705p6aCDW
Manufacturer:
FREESCALE(MOT)
Quantity:
12
Part Number:
mc68hc705p6aCDW
Manufacturer:
FREESCALE(MOT)
Quantity:
10 967
Part Number:
mc68hc705p6aCDW
Manufacturer:
MOTOROLA/摩托罗拉
Quantity:
20 000
Part Number:
mc68hc705p6aCDWE
Manufacturer:
FREESCALE
Quantity:
1 143
Part Number:
mc68hc705p6aCP
Manufacturer:
FREESCAL
Quantity:
26
Part Number:
mc68hc705p6aCPE
Manufacturer:
MOLEX
Quantity:
1 560
7.3 SIOP Registers
The SIOP is programmed and controlled by the SIOP control register (SCR) located at address $000A,
the SIOP status register (SSR) located at address $000B, and the SIOP data register (SDR) located at
address $000C.
7.3.1 SIOP Control Register (SCR)
This register is located at address $000A and contains two bits.
in the register and indicates the value of each bit after reset.
SPE — Serial Peripheral Enable
MSTR — Master Mode Select
Freescale Semiconductor
When set, the SPE bit enables the SIOP subsystem such that SDO/PB5 is the serial data output,
SDI/PB6 is the serial data input, and SCK/PB7 is a serial clock input in the slave mode or a serial clock
output in the master mode. Port B DDR and data registers can be manipulated as usual (except for
PB5); however, these actions could affect the transmitted or received data.
The SPE bit is readable at any time. However, writing to the SIOP control register while a transmission
is in progress will cause the SPIF and DCOL bits in the SIOP status register (see below) to operate
incorrectly. Therefore, the SIOP control register should be written once to enable the SIOP and then
not written to until the SIOP is to be disabled. Clearing the SPE bit while a transmission is in progress
will 1) abort the transmission, 2) reset the serial bit counter, and 3) convert the port B/SIOP port to a
general-purpose I/O port. Reset clears the SPE bit.
When set, the MSTR bit configures the serial I/O port for master mode. A transfer is initiated by writing
to the SDR. Also, the SCK pin becomes an output providing a synchronous data clock dependent upon
the oscillator frequency. When the device is in slave mode, the SDO and SDI pins do not change
function. These pins behave exactly the same in both the master and slave modes.
The MSTR bit is readable and writeable at any time regardless of the state of the SPE bit. Clearing the
MSTR bit will abort any transfers that may have been in progress. Reset clears the MSTR bit as well
as the SPE bit, disabling the SIOP subsystem.
Address:
Reset:
Read:
Write:
$000A
Bit 7
0
0
MC68HC705P6A Advance Information Data Sheet, Rev. 2.1
= Unimplemented
Figure 7-3. SIOP Control Register (SCR)
SPE
6
0
5
0
0
MSTR
4
0
3
0
0
Figure 7-3
2
0
0
shows the position of each bit
1
0
0
Bit 0
0
0
SIOP Registers
43

Related parts for mc68hc705p6a