imx6ull ecspi CS would not drop at constant pattern. sometimes one byte.sometimes one burst.

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

imx6ull ecspi CS would not drop at constant pattern. sometimes one byte.sometimes one burst.

293件の閲覧回数
bighero77
Contributor III

my board is imx6ull.   linux is linux4.1.15.

about one month ago.  the waveform of CS is like this:
drop to low level during the whole burst (spi.message.length = 240).  only 240byte data is transfered, the cs rise.

but, after one month. the module driver  is not changed. 
I find the cs would not transfer one burst (just one byte) and then it rise to high level.

cs.png

both waveform are captured by spi.message.length = 240. every test, I would transfer 240 byte as one burst. 

I really donnot know what register parameters would cause this difference.

would you please tell me what would control the cs drop pattern?

thanks a lot.

0 件の賞賛
返信
3 返答(返信)

221件の閲覧回数
pengyong_zhang
NXP Employee
NXP Employee

Hi @bighero77 

Actually, when you use the SPI native PIN for CS signal line will like below picture:

pengyong_zhang_0-1750315317282.png

When you use the GPIO for SPI cs pin, The cs pin signal line like this picture:

pengyong_zhang_1-1750315376921.png

But it very strange you did nothing change, just one month later. Please double check if anyone change your dts file. Also please share me your dts file.

B.R

0 件の賞賛
返信

254件の閲覧回数
pengyong_zhang
NXP Employee
NXP Employee

Hi @bighero77 

Did you change the SPI CS PIN at this two different Scenario?

B.R

0 件の賞賛
返信

233件の閲覧回数
bighero77
Contributor III

absolutely , I did not change anything.
would you please give one standard setting?
both in dts and module driver code?

thanks. 

0 件の賞賛
返信