CS pin status in spi-imx.c

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

CS pin status in spi-imx.c

651 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

585 Views
igorpadykov
NXP Employee
NXP Employee

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