Disabling SPI on USB interface

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

Disabling SPI on USB interface

1,212 次查看
mathew_k_t
Contributor II

Hi,

I'm using iMX6ULL EVK, I have enabled mass storage detection on USB OTG. I would like to diable ECSPI communication when USB is connected. How to do that?

Is that possible to disable a node while interfacing USB device?

Regards

标签 (3)
0 项奖励
回复
2 回复数

1,085 次查看
weidong_sun
NXP TechSupport
NXP TechSupport

Hello  mathew,

     ECSPIx_CONREG register bit "EN" is used to enable or disable eCSPI.

see page 809 of reference manual.

pastedImage_1.png

Have a nice day!

TIC weidong sun

0 项奖励
回复

1,085 次查看
mathew_k_t
Contributor II

Hi Wigros,

Thank you for your response.

Similarly, is that possible to disable GPIOs while USB is connected.

Regards

0 项奖励
回复