CS pin status in spi-imx.c

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

CS pin status in spi-imx.c

672 次查看
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)

标签 (1)
0 项奖励
1 回复

606 次查看
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 项奖励