SC18IS606 SPICLK is discontinuous

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

SC18IS606 SPICLK is discontinuous

1,211 Views
bob_zhang
Contributor I

SC18IS606 SPICLK is discontinuous. There is an pause between two bytes. The slave IC need a 32bit communication. What can I do?

0 Kudos
17 Replies

1,209 Views
bob_zhang
Contributor I
 
0 Kudos

1,171 Views
guoweisun
NXP TechSupport
NXP TechSupport

我觉得你可以尝试32bit发送下试试,具体的SPI timing 按照下面:

guoweisun_0-1712545588207.png

 

Tags (1)

1,154 Views
jun007
Contributor II
32bit 发送是怎样配置的?现在输入数据是I2C。I2C发送的数据是29x4=116字节。
0 Kudos

1,145 Views
guoweisun
NXP TechSupport
NXP TechSupport

这个SPI slave的读跟写的格式跟时许有吗我看看?

0 Kudos

1,142 Views
jun007
Contributor II
 

Slave时序如下.(可以用i2ctransfer的命令举例,可以快速测试)

jun007_1-1712561196668.png

 

0 Kudos

1,139 Views
guoweisun
NXP TechSupport
NXP TechSupport

这个我知道,你有没有读写的例子,一般都会有

0 Kudos

1,137 Views
jun007
Contributor II
写数据:i2ctransfer -f -y 5 w4@0x2c 0x01 0xd1 0x1b 0x67
0 Kudos

1,133 Views
guoweisun
NXP TechSupport
NXP TechSupport

你说的是哪颗料我看看

0 Kudos

1,127 Views
jun007
Contributor II

jun007_0-1712563285325.png

用的SC18IS606,测的波形如上图。

Slave设备接收的波形如下:

jun007_1-1712563368134.png

问题是:怎样把SC18IS606 SPICLK发出连续的波形?

 

 

0 Kudos

1,130 Views
jun007
Contributor II
用的是SC18IS606
0 Kudos

1,128 Views
guoweisun
NXP TechSupport
NXP TechSupport

SPI slave的料不是bridge

0 Kudos

1,049 Views
jun007
Contributor II
你好,问一下有方式修改成32Bit的时钟吗?
0 Kudos

1,126 Views
jun007
Contributor II
SLAVE不是bridge,是CTRX8181.
0 Kudos

1,125 Views
jun007
Contributor II
CTRX8181是雷达模块,时序上要求是连续的CLK。
0 Kudos

983 Views
guoweisun
NXP TechSupport
NXP TechSupport

比方说尝试下面的例子,如果这个命令发过去到SPI, slave那里看到的clock是什么样子基本是不能改变的:

Write the 8 data bytes. The first byte (Function ID) tells SC18IS606 which Slave
Select output to use. This example uses SS2 (shown as 04h). The first byte sent
to the EEPROM is normally 02h for the EEPROM write command. The next one
or two bytes represent the subaddress in the EEPROM. In this example, a two￾byte subaddress is used. Bytes 00 and 30 would cause the EEPROM to write to
subaddress 0030h. The next eight bytes are the eight data bytes that will be written to
subaddresses 0030h through 0037h.
ST,50,04,02,00,30,01,02,03,04,05,06,07,08,SP Write 8 bytes
using SS2

0 Kudos

960 Views
jun007
Contributor II
这个发出去的波形也是和上图一样 8bit的。也是说没有办法产生32bit 的SPI SCL?
0 Kudos

911 Views
guoweisun
NXP TechSupport
NXP TechSupport

那个间隔是无法调的应该。

0 Kudos