How to control BT_EN pin in I.MX8MP EVK

cancel
Showing results for 
Search instead for 
Did you mean: 

How to control BT_EN pin in I.MX8MP EVK

181 Views
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 Kudos
1 Reply

134 Views
Dhruvit
NXP Employee
NXP Employee

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 Kudos