BGW200EG_1 © NXP B.V. 2007. All rights reserved.
Product data sheet Rev. 01 — 18 July 2007 25 of 76
NXP Semiconductors
BGW200EG
IEEE 802.11b System-in-Package
10.13 Master/slave serial peripheral interface
The master/slave SPI interface (SPI1) has the following features:
Master or slave mode operation
SPI mode 0 and mode 3 supported in both master and slave modes
Programmable clock frequency up to 8.25 MHz
Automatic error checking: write collision, read overrun, mode fault and slave abort
The SPI1 interface block can be configured to work with most SPI master or slave devices.
Clock frequency, polarity (bit CPOL) and phase (bit CPHA) are configurable by firmware,
as is the data bit order (LSB first or MSB first).
The primary use of the interface is as an SPI master connected to a serial EEPROM or
flash memory. In this case, one of the GPIO pins (see Section 10.16) must be controlled
by firmware to generate the EEPROM slave select signal. When used in master mode pin
SPI_SS_N must be held HIGH to prevent a mode fault occurring.
The SPI clock is oversampled by a factor of 8. The maximum SPI1 clock frequency is
therefore limited to 1/8 of the bus clock.
The I/O pins for this interface are multiplexed with the I/O pins for the SPI2 block; see
Section 10.14.
Fig 16. Block diagram of the master/slave SPI interface (SPI1)
VPB
001aad201
SPI_SCK
SPI_SS_N
INTERRUPT
CONTROL
SPI_MOSI
SPI_MISO
SPI STATE
CONTROL
SPI CLOCK
GENERATOR/
DETECTOR
SHIFT REGISTER
SPI1 interrupt
BGW200EG_1 © NXP B.V. 2007. All rights reserved.
Product data sheet Rev. 01 — 18 July 2007 26 of 76
NXP Semiconductors
BGW200EG
IEEE 802.11b System-in-Package
10.14 High-speed slave serial peripheral interface
The high-speed SPI slave interface (SPI2) has the following features:
SPI mode 3 slave interface
Up to 66 Mbit/s data transfer rate (when SPI_MOSI is clocked from the positive edge
of SPI_SCK)
8-bit minimum packet length
Half-duplex operation
DMA controller
8 mailboxes (4 local and 4 host)
8 scratch registers (4 local and 4 host)
Low-overhead link protocol
External signal for interrupting SPI master
SPI host can reset the SA2443A
The SPI2 interface of the SA2443A is a high-speed SPI slave interface intended for
high-throughput host communication.
The I/O pins for this interface are multiplexed with the I/O pins for the SPI1 block; see
Section 10.13.
Fig 17. Block diagram of the high-speed SPI slave interface (SPI2)
SPI_EXT_INT
SPI_SCK
SPI_SS_N
SPI_MOSI
SPI_MISO
VPB
AHB
001aad202
HOST MAILBOX 0-3
LOCAL MAILBOX 0-3
SPI STATUS REGISTERS
DMA CONTROLLER
SPI INTERRUPT
CONTROL
SPI
INTERFACE
SPI CLOCK
BUS CLOCK
HOST
SCRATCH REGISTER 0-3
LOCAL
SCRATCH REGISTER 0-3
SPI2 SW interrupt
SPI2 DMA interrupt
SPI2 reset
BGW200EG_1 © NXP B.V. 2007. All rights reserved.
Product data sheet Rev. 01 — 18 July 2007 27 of 76
NXP Semiconductors
BGW200EG
IEEE 802.11b System-in-Package
10.14.1 SPI interface
The SPI interface operates entirely in the SPI clock domain. This enables the use of a
higher SPI clock frequency than would be allowed with the usual oversampling scheme.
SPI2 clock frequencies of up to 66 MHz are allowed.
The SPI_SCK for SPI2 only needs to run when a data transfer is in progress. No
additional clock pulses are needed.
When the SA2443A is the only slave on the SPI bus the SPI_SS_N signal can be tied
permanently LOW, without any impact on power consumption.
The SPI interface supports mode 3 slave operation. The relationship between SPI_SCK,
SPI_MOSI and SPI_MISO is illustrated in Figure 18. Data on SPI_MOSI is sampled on
the rising edge of SPI_SCK. The SA2443A can be programmed (by firmware running on
the SA2443A microcontroller) to transition SPI_MISO on either the falling edge or rising
edge of SPI_SCK.
Care should be taken that none of the SPI interface signals are driven HIGH when V
DDA
is
lower than the minimum recommended operating voltage; see Table 66.
The write register command and all initialization packets are always sent MSB first. The bit
order of the read register data, DMA size and DMA data packets can be programmed (by
firmware running on the SA2443A microcontroller) to allow either the LSB or the MSB in a
packet to be transferred first.
10.14.2 Mailboxes and scratch registers
The SPI2 interface contains 8 mailboxes: 4 local mailboxes (SPI2_LOC_MB0 to
SPI2_LOC_MB3; see Table 20) and 4 host mailboxes (SPI2_HST_MB0 to
SPI2_HST_MB3; see Table 22).
The local mailboxes are written to by the host and read from by the SA2443A
microcontroller. A local SPI2 interrupt is generated when the host writes to one of the local
mailboxes. The enabling of generation of the interrupt is programmable.
Fig 18. SPI2 timing diagram
001aad203
SPI_SCK
SPI_SS_N
SPI_MOSI
(input)
SPI_MISO
(output)

BGW200EG/01,518

Mfr. #:
Manufacturer:
NXP Semiconductors
Description:
IC RF TXRX+MCU WIFI 68LFLGA
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union

Products related to this Datasheet