![](http://datasheet.mmic.net.cn/170000/S1M8657X01-E0T0_datasheet_9722650/S1M8657X01-E0T0_15.png)
TX IF/BBA WITH AGC
S1M8657
15
Serial Port Interface Operation
The modem , the master, controls slaves such as S1M8657 using the SPI bus.
The STB falling edge indicates the start of the serial I/F data transmission.
The STB becomes high to mark the end of the data transmission. (Data sent after the STB turns high are not
valid.)
Serial line data is captured and stored as soon as the BBA or the MODEM places the clock on the falling edge.
The SPI 3-line must remain high for at least 1-clock cycle in order to sent new data.
The MSB always outputs the data line data.
After 9-clocks, which is required to send data, the data line driver opens the data line, at which time the data line
becomes high because of the external pull-up resistance.
Serial Data Transfer Format
S1M8656A and S1M8657 are all slave devices with the SPI bus. What differentiate them from one another is
their different device IDs. Each company has its own characteristic SPI bus configuration , but normally the 3-line
bus is most often used and sometimes the 2-line bus such as the IIC bus.
Figure 6. shows the serial data transfer format.
mode=01
Dummy
1= Master read
Master drive
Slave Address
Dummy
Master drive
Register Address
Slave Drive
Data
Dummy
0 = Master write
Master drive
Register Address
Master Drive
Data
Dummy
End bit
Start bit
STB
CLK
DATA
D5
0 1
D4 D3 D2 D1 D0
D6 D5 D4 D3 D2 D1 D0
D7 D6 D5 D4 D3 D2 D1 D0
D6 D5 D4 D3 D2 D1 D0
D7 D6 D5 D4 D3 D2 D1 D0
Figure 6. Serial Data Transfer Format
(1) The first 2-BITs are for transmission only and this product must send '01'.(Others are not permitted.)
(2) The following 6-bit data specifies the slave device, which is connected to the SPI bus and has its own ID.
(3) The following 1-bit is a dummy bit, which marks the end of the 8-bit data transmission and the beginning of
the next data to be sent.
(4) The following 1-bit decides on whether the master will drive the data line or the slave will. If this bit is '1', the
master will drive , but if '0' the slave will drive the data line.
(5) The following 7-bit data is the register address of the specified slave device; the 7-bits for an address allows
128 register addresses for slaves.
(6) The following high 1-BIT data is a dummy data.
(7) The following 8-BIT data is the data in the device to be driven.
(8) The following 1-BIT data is a dummy data, which marks the end of the 8-bit data transmission and beginning
of the next data to be sent.
(9) The following 1-bit decides on whether the master will drive the data line or the slave will. If this bit is '1', the
master will drive , but if '0' the slave will drive the data line.