sx1441 Semtech Corporation, sx1441 Datasheet - Page 48

no-image

sx1441

Manufacturer Part Number
sx1441
Description
Bluetooth V1.2 Soc For Voice And Data Applications With Dsp Capabilities
Manufacturer
Semtech Corporation
Datasheet
Personal Area Network
3.11.4 Software Hints
3.11.4.1
Initialization
The SPI is configured in SPI master mode at reset. Clock phase, clock polarity, and baud rate can be changed by
writing RegSpiControl. SpiMaster and SpiEnable are set in RegSpiControl.
Byte transfer
De-assert NSS[0] pin by clearing NotSlaveSelect in RegSpiControl
Check that the transmit buffer is empty (SpiTxEmpty set in RegSpiStatus)
Fetch the SPI with the data to be transmitted. The data is written in RegSpiDataOut
Trigger transmission by writing any value in RegSpiStatus
Wait until the receive buffer is full (SpiRxFull set in RegSpiStatus)
The received data is read from RegSpiDataIn
Assert NSS[0] pin by setting NotSlaveSelect in RegSpiControl
3.11.4.2
Initialization
SpiEnable is set and SpiMaster is cleared in RegSpiControl. Clock phase, clock polarity, and baud rate can be
changed by writing RegSpiControl.
Byte transfer
Wait until the receive buffer is full (SpiRxFull set in RegSpiStatus)
Read the received data from RegSpiDataIn
Fetch the SPI with the data to be transmitted. The data is written in RegSpiDataOut
© Semtech 2006
Master Mode
Slave Mode
Figure 22 - SPI transmission format with a clock phase equal to 1
48
SX1441 – Bluetooth® 1.2 SoC
www.semtech.com
Data Sheet

Related parts for sx1441