BGW200EG_1 © NXP B.V. 2007. All rights reserved.
Product data sheet Rev. 01 — 18 July 2007 28 of 76
NXP Semiconductors
BGW200EG
IEEE 802.11b System-in-Package
The host mailboxes are written to by the SA2443A microcontroller and read from by the
host. A host interrupt is signaled on the SPI_EXT_INT pin when the microcontroller writes
to one of the host mailboxes.
Eight scratch registers are provided: 4 local registers (SPI2_LOC_SR0 to
SPI2_LOC_SR3; see Table 21) and 4 host registers (SPI2_HST_SR0 to SPI2_HST_SR3;
see Table 23). The scratch registers are accessed in the same way as the mailbox
registers, the only difference being that no interrupts are generated when the scratch
registers are written.
10.14.3 DMA controller
The DMA controller provides efficient transfer of data between the host and SA2443A
internal memory. The host initiates all DMA transfers.
The DMA controller supports data transfers from 0 bytes to 65535 bytes.
10.14.4 Host SPI operations
The host can read or write registers in the SPI2 interface and initiate DMA transfers.
10.14.4.1 Write register command
The write register command is used by the host to write data into SPI interface registers.
It consists of one 16-bit packet. The command format is shown in Table 7.
10.14.4.2 Read register command
The read register command sequence is used by the host to read data from SPI interface
registers and consists of two packets:
• Read register initialization packet (16-bit, host-to-slave). The format of this packet is
shown in Table 8.
• Read data package (16-bit, slave-to-host). The format of this packet is shown in
Table 9.
Table 7. Write register command packet
Bit Symbol Value Description
15 COMMAND_TYPE 1h indicates a host-to-slave transfer
14 to 10 REG_ADDR[4:0] 00h to 1Ah see
Table 16 for valid register addresses
9 and 8 - - reserved
7 to 0 REG_DATA[7:0] 00h to FFh register data
Table 8. Read register command initialization packet
Bit Symbol Value Description
15 COMMAND_TYPE 0h indicates a slave-to-host transfer
14 to 10 REG_ADDR[4:0] 00h to 1Ah see
Table 16 for valid register addresses
9 to 0 - - reserved
Table 9. Read register command data packet
Bit Symbol Value Description
15 to 8 - - reserved
7 to 0 REG_DATA[7:0] 00h to FFh register data