SC18IS606 SPICLK is discontinuous

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

SC18IS606 SPICLK is discontinuous

1,260件の閲覧回数
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,258件の閲覧回数
bob_zhang
Contributor I
 
0 件の賞賛

1,220件の閲覧回数
guoweisun
NXP TechSupport
NXP TechSupport

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

guoweisun_0-1712545588207.png

 

タグ(1)

1,203件の閲覧回数
jun007
Contributor II
32bit 发送是怎样配置的?现在输入数据是I2C。I2C发送的数据是29x4=116字节。
0 件の賞賛

1,194件の閲覧回数
guoweisun
NXP TechSupport
NXP TechSupport

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

0 件の賞賛

1,191件の閲覧回数
jun007
Contributor II
 

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

jun007_1-1712561196668.png

 

0 件の賞賛

1,188件の閲覧回数
guoweisun
NXP TechSupport
NXP TechSupport

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

0 件の賞賛

1,186件の閲覧回数
jun007
Contributor II
写数据:i2ctransfer -f -y 5 w4@0x2c 0x01 0xd1 0x1b 0x67
0 件の賞賛

1,182件の閲覧回数
guoweisun
NXP TechSupport
NXP TechSupport

你说的是哪颗料我看看

0 件の賞賛

1,176件の閲覧回数
jun007
Contributor II

jun007_0-1712563285325.png

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

Slave设备接收的波形如下:

jun007_1-1712563368134.png

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

 

 

0 件の賞賛

1,179件の閲覧回数
jun007
Contributor II
用的是SC18IS606
0 件の賞賛

1,177件の閲覧回数
guoweisun
NXP TechSupport
NXP TechSupport

SPI slave的料不是bridge

0 件の賞賛

1,098件の閲覧回数
jun007
Contributor II
你好,问一下有方式修改成32Bit的时钟吗?
0 件の賞賛

1,175件の閲覧回数
jun007
Contributor II
SLAVE不是bridge,是CTRX8181.
0 件の賞賛

1,174件の閲覧回数
jun007
Contributor II
CTRX8181是雷达模块,时序上要求是连续的CLK。
0 件の賞賛

1,032件の閲覧回数
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,009件の閲覧回数
jun007
Contributor II
这个发出去的波形也是和上图一样 8bit的。也是说没有办法产生32bit 的SPI SCL?
0 件の賞賛

960件の閲覧回数
guoweisun
NXP TechSupport
NXP TechSupport

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

0 件の賞賛