© Koninklijke Philips Electronics N.V. 2005. All rights reserved.
User manual
Rev. 01 — 15 August 2005
179
Philips Semiconductors
UM10139
Volume 1
Chapter 12: SPI
12.5 Architecture
The block diagram of the SPI solution implemented in SPI0 interface is shown in the
.
Table 160: SPI Interrupt register (S0SPINT - address 0xE002 001C) bit description
Bit
Symbol
Description
Reset value
0
SPI Interrupt
Flag
SPI interrupt flag. Set by the SPI interface to generate an interrupt. Cleared
by writing a 1 to this bit.
Note: this bit will be set once when SPIE = 1 and at least one of SPIF and
WCOL bits is 1. However, only when the SPI Interrupt bit is set and SPI0
Interrupt is enabled in the VIC, SPI based interrupt can be processed by
interrupt handling software.
0
7:1
-
Reserved, user software should not write ones to reserved bits. The value
read from a reserved bit is not defined.
NA
Fig 41. SPI block diagram
MOSI_IN
MOSI_OUT
MISO_IN
MISO_OUT
OUTPUT
ENABLE
LOGIC
SPI REGISTER
INTERFACE
SPI Interrupt
VPB Bus
SPI SHIFT REGISTER
SCK_OUT_EN
MOSI_OUT_EN
MISO_OUT_EN
SCK_IN
SCK_OUT
SS_IN
SPI STATE CONTROL
SPI CLOCK
GENERATOR &
DETECTOR