How to control BT_EN pin in I.MX8MP EVK

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

How to control BT_EN pin in I.MX8MP EVK

568件の閲覧回数
benne
Contributor I

Hi 

We want to pull high or low the BT_EN pin, but the BT_EN pin connect to an IO Expansion of PCA6416 in I.IMX8MP . So we don't know how to visit the BT_EN and pull high or low

The PCA6416 is controlled by I2C ,and I think may be there are some i2c device match to PCA6415 and can visit . But I can't find how to controlled the BT_EN still now.

We can see  a matched I2C device as blow:

evk_8mp:/sys/bus/i2c/devices/2-0020 # lsimage.png
modalias name of_node power subsystem uevent waiting_for_supplier
evk_8mp:/sys/bus/i2c/devices/2-0020 # cat name
tca6416

0 件の賞賛
1 返信

521件の閲覧回数
Dhruvit
NXP TechSupport
NXP TechSupport

Hi @benne,

 

Please refer to this link.

And please try with the following commands to access the GPIO.

# echo 505 > /sys/class/gpio/export

// To configure GPIO as input
# echo in > /sys/class/gpio/gpio505/direction

// To configure GPIO as output
# echo out > /sys/class/gpio/gpio505/direction

 

 

Thank you.

Best Regards,
Dhruvit.

0 件の賞賛