SC18IS606 SPICLK is discontinuous

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

SC18IS606 SPICLK is discontinuous

1,325 次查看
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 项奖励
17 回复数

1,323 次查看
bob_zhang
Contributor I
 
0 项奖励

1,285 次查看
guoweisun
NXP TechSupport
NXP TechSupport

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

guoweisun_0-1712545588207.png

 

标记 (1)

1,268 次查看
jun007
Contributor II
32bit 发送是怎样配置的?现在输入数据是I2C。I2C发送的数据是29x4=116字节。
0 项奖励

1,259 次查看
guoweisun
NXP TechSupport
NXP TechSupport

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

0 项奖励

1,256 次查看
jun007
Contributor II
 

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

jun007_1-1712561196668.png

 

0 项奖励

1,253 次查看
guoweisun
NXP TechSupport
NXP TechSupport

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

0 项奖励

1,251 次查看
jun007
Contributor II
写数据:i2ctransfer -f -y 5 w4@0x2c 0x01 0xd1 0x1b 0x67
0 项奖励

1,247 次查看
guoweisun
NXP TechSupport
NXP TechSupport

你说的是哪颗料我看看

0 项奖励

1,241 次查看
jun007
Contributor II

jun007_0-1712563285325.png

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

Slave设备接收的波形如下:

jun007_1-1712563368134.png

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

 

 

0 项奖励

1,244 次查看
jun007
Contributor II
用的是SC18IS606
0 项奖励

1,242 次查看
guoweisun
NXP TechSupport
NXP TechSupport

SPI slave的料不是bridge

0 项奖励

1,163 次查看
jun007
Contributor II
你好,问一下有方式修改成32Bit的时钟吗?
0 项奖励

1,240 次查看
jun007
Contributor II
SLAVE不是bridge,是CTRX8181.
0 项奖励

1,239 次查看
jun007
Contributor II
CTRX8181是雷达模块,时序上要求是连续的CLK。
0 项奖励

1,097 次查看
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 项奖励

1,074 次查看
jun007
Contributor II
这个发出去的波形也是和上图一样 8bit的。也是说没有办法产生32bit 的SPI SCL?
0 项奖励

1,025 次查看
guoweisun
NXP TechSupport
NXP TechSupport

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

0 项奖励