How can I control the spi clk

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

How can I control the spi clk

695件の閲覧回数
joseargao
Contributor I

We are using a custom imx6dl board which I am attempting to use for communications with a BLE module. This module requires that two clk cycles be detected before and after each SPI transaction, like so:

Screen Shot 2018-07-09 at 12.19.56.png

I would like to modify the spi-imx driver to support this behavior, but it is not clear to me how the clock is controlled. Enabling or disabling the clock does not seem to trigger the cycles. I would like some guidance on how I can proceed from here.

ラベル(1)
0 件の賞賛
返信
1 返信

578件の閲覧回数
jimmychan
NXP TechSupport
NXP TechSupport

There is no setting for inserting extra cycles before or after the spi transaction. I think you may try to use gpio-spi.

0 件の賞賛
返信