How can I control the spi clk

Showing results for 
Search instead for 
Did you mean: 

How can I control the spi clk

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.

Labels (1)
0 Kudos
1 Reply

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 Kudos