ADUC847BCP8-5 AD [Analog Devices], ADUC847BCP8-5 Datasheet - Page 65

no-image

ADUC847BCP8-5

Manufacturer Part Number
ADUC847BCP8-5
Description
MicroConverter Multichannel 24-/16-Bit ADCs with Embedded 62 kB Flash and Single-Cycle MCU
Manufacturer
AD [Analog Devices]
Datasheet
SPICON—SPI Control Register
SFR Address:
Power-On Default:
Bit Addressable:
Table 41. SPICON SFR Bit Designations
Bit No.
7
6
5
4
3
2
1, 0
1
Note that both SPI and I
check the interfaces following an interrupt to determine which one caused the interrupt.
SPIDAT: SPI Data Register
SFR Address:
Power-On Default:
Bit Addressable:
The CPOL and CPHA bits should both contain the same values for master and slave devices.
Name
ISPI
WCOL
SPE
SPIM
CPOL
CPHA
SPR1, SPR0
1
1
F8H
05H
Yes
7FH
00H
No
2
C use the same ISR (Vector Address 3BH); therefore, when using SPI and I
SPI Interrupt Bit.
SPI Master/Slave Mode Select Bit.
Description
Set by the MicroConverter at the end of each SPI transfer.
Cleared directly by user code or indirectly by reading the SPIDAT SFR.
Write Collision Error Bit.
Set by the MicroConverter if SPIDAT is written to while an SPI transfer is in progress.
Cleared by user code.
SPI Interface Enable Bit.
Set by user code to enable SPI functionality.
Cleared by user code to enable standard Port 2 functionality.
Set by user code to enable master mode operation (SCLOCK is an output).
Cleared by user code to enable slave mode operation (SCLOCK is an input).
Clock Polarity Bit.
Set by user code to enable SCLOCK idle high.
Cleared by user code to enable SCLOCK idle low.
Clock Phase Select Bit.
Set by user code if the leading SCLOCK edge is to transmit data.
Cleared by user code if the trailing SCLOCK edge is to transmit data.
SPI Bit-Rate Bits.
SPR1
0
0
1
1
SPR0
0
1
0
1
Selected Bit Rate
f
f
f
f
core
core
core
core
/2
/4
/8
/16
Rev. A | Page 65 of 108
ADuC845/ADuC847/ADuC848
2
C simultaneously, it is necessary to

Related parts for ADUC847BCP8-5