CYW4343X
4.4.1 Boot-Up Sequence
After power-up, the gSPI host needs to wait 50 ms for the device to be out of reset. For this, the host needs to poll with a read com-
mand to F0 address 0x14. Address 0x14 contains a predefined bit pattern. As soon as the host gets a response back with the correct
register content, it implies that the device has powered up and is out of reset. After that, the host needs to set the wake-up WLAN bit
(F0 reg 0x00 bit 7). Wake-up WLAN turns the PLL on; however, the PLL doesn't lock until the host programs the PLL registers to set
the crystal frequency.
For the first time after power-up, the host needs to wait for the availability of the low-power clock inside the device. Once it is avail-
able, the host needs to write to a PMU register to set the crystal frequency. This will turn on the PLL. After the PLL is locked, the chi-
pActive interrupt is issued to the host. This indicates device awake/ready status. See Table 7 for information on gSPI registers.
In Table 7, the following notation is used for register access:
■
■
■
R: Readable from host and CPU
W: Writable from host
U: Writable from CPU
Table 7. gSPI Registers
Access Default
Address
Register
Word length
Bit
Description
x0000
0
1
4
R/W/U
R/W/U
R/W/U
0
0
1
0: 16-bit word length
1: 32-bit word length
Endianess
0: Little endian
1: Big endian
High-speed mode
0: Normal mode. Sample on SPICLK rising edge, output on
falling edge.
1: High-speed mode. Sample and output on rising edge of
SPICLK (default).
Interrupt polarity
Wake-up
5
7
R/W/U
R/W
1
0
0: Interrupt active polarity is low.
1: Interrupt active polarity is high (default).
A write of 1 denotes a wake-up command from host to device.
This will be followed by an F2 interrupt from the gSPI device
to host, indicating device awake status.
x0002
Status enable
0
1
R/W
R/W
1
0
0: No status sent to host after a read/write.
1: Status sent to host after a read/write.
Interrupt with status
0: Do not interrupt if status is sent.
1: Interrupt host even if status is sent.
x0003
x0004
Reserved
–
0
–
–
0
–
Interrupt register
R/W
Requested data not available. Cleared by writing a 1 to this
location.
1
2
5
6
7
5
6
7
R
0
0
0
0
0
0
0
0
F2/F3 FIFO underflow from the last read.
F2/F3 FIFO overflow from the last write.
F2 packet available
R
R
R
F3 packet available
R
F1 overflow from the last write.
F1 Interrupt
x0005
Interrupt register
R
R
F2 Interrupt
R
F3 Interrupt
x0006,
x0007
Interrupt enable
register
15:0
R/W/U
16'hE0E7
Particular interrupt is enabled if a corresponding bit is set.
x0008 to
x000B
Status register
31:0
R
32'h0000
Same as status bit definitions
x000C,
x000D
F1 info. register
0
R
1
F1 enabled
1
R
0
F1 ready for data transfer
F1 maximum packet size
13:2
R/U
12'h40
Document No. 002-14797 Rev. *H
Page 31 of 128