imx6qdl - can a pair of GPIOs be implemented as a relay liked activity with Lollipop 5.0?

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

imx6qdl - can a pair of GPIOs be implemented as a relay liked activity with Lollipop 5.0?

289 Views
damienhuang
Contributor IV

Hi

I would like to use two GPIO pins on the imx6qdl-sabrelite board to implement some relay liked activity.

That is one pin as an input, the other pin as output. Once the input pin becomes active, I would like to invert it and output to the output pin.

Can this be implemented with the existing device tree without needing a new driver on the kernel?

Cheers,

Damien

Labels (4)
0 Kudos
1 Reply

260 Views
igorpadykov
NXP Employee
NXP Employee

Hi Damien

I am afraid this is not possible, so software code should be added

for such purpose.

Best regards

igor

-----------------------------------------------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct Answer button. Thank you!

-----------------------------------------------------------------------------------------------------------------------

0 Kudos