i.MX8 SPI CS pin not working

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

i.MX8 SPI CS pin not working

459件の閲覧回数
LydiaJ
Contributor I

I am running Debian on a Variscite i.MX8 mini SoM. I have verified with a logic analyzer that all the SPI signals are working except CS. No matter what I do, CS is always low. I have tried writing to SPI via command line:

$echo "test" > /dev/spidev0.2

I have also tried writing to it in my code (C++) using ioctl(), but CS never changes state. I'm beginning to think I'm probing the wrong pin. Linux tells me the SPI device is spidev0.2, which is supposed to be bus zero CS 2. The schematics say CS is on pin ECSPI1_SS0/GPIO5_IO9. I'm not sure how to verify I have the correct CS pin.

Can someone tell me how to verify which pin I am using for SPI CS, or how to map the correct pin?

0 件の賞賛
返信
1 返信

439件の閲覧回数
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Not sure the design and dts of Variscite i.MX8 mini SoM, you can ask Variscite about this issue.

0 件の賞賛
返信