Disabling SPI on USB interface

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

Disabling SPI on USB interface

697 Views
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

Labels (3)
0 Kudos
2 Replies

570 Views
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 Kudos

570 Views
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 Kudos