Hi,
I was configuring some of the I2C pins(Sound and camera) in the header as GPIO (GPIO1_IO30 and GPIO1_IO31), i.e: GPIO30 and GPIO31 in console. So I disabled sound and camera, reconfigured pins as GPIO.
MX6UL_PAD_UART5_RX_DATA__GPIO1_IO31 0x000010B0
MX6UL_PAD_UART5_TX_DATA__GPIO1_IO30 0x000010B0
But the value doesn't get changed. What's the error in it? Or these pins have any other control other than device tree.
Solved! Go to Solution.
you can add the 0x40000000 to set the SION to try.
MX6UL_PAD_UART5_RX_DATA__GPIO1_IO31 0x400010B0
MX6UL_PAD_UART5_TX_DATA__GPIO1_IO30 0x400010B0
you can add the 0x40000000 to set the SION to try.
MX6UL_PAD_UART5_RX_DATA__GPIO1_IO31 0x400010B0
MX6UL_PAD_UART5_TX_DATA__GPIO1_IO30 0x400010B0
Hi Mathew,
Once pins are configured as GPIO, you could also use them with /sys/class/gpio/
You could take a look at the following document:
https://community.nxp.com/docs/DOC-329735
Hope this will be useful for you.
Best regards!
/Carlos
-----------------------------------------------------------------------------------------------------------------------
Note: If a post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
If you read the reference manual carefully, you should know about SION bit.
Please set it and check again.
please refer to the following link and search SION.
Simple GPIO Example - quandry
https://community.nxp.com/message/598834#598834