CS pin status in spi-imx.c

cancel
Showing results for 
Search instead for 
Did you mean: 

CS pin status in spi-imx.c

181 Views
stevegabriel123
Contributor I

I am using i.MX 6 processor.  Where can i read ecspi4 SS0  pin status in SPI-imx.c file.(value read)

Labels (1)
0 Kudos
1 Reply

115 Views
igorpadykov
NXP TechSupport
NXP TechSupport

Hi steve

I am afraid driver does not have such functionality, in general one can try to

use register GPIOx_PSR associated with that pad and sion bit described in

sect.36.3.2 SW Loopback through SION bit 

i.MX 6Dual/6Quad Applications Processor Reference Manual

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos