Hi steve
>I have tried to search in spi-imx.c file but i could not get high/low status(value) of CS pin.
I am afraid there are no such codes in driver.
One can try to reconfigure it as gpio and read its value, example how access to register
can be found in memtool memtool.c\memtool\test - imx-test - i.MX Driver Test Application Software
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------