nibzy26
December 14, 2022, 1:48pm
1
Which Khadas SBC do you use?
VIM3
Which system do you use? Android, Ubuntu, OOWOW or others?
Ubuntu 20.04
Which version of system do you use? Khadas official images, self built images, or others?
khadas sd card image v 4.9
Please describe your issue below:
can we use rtc pin on vim3 as GPIO ? if yes then how to change device tree if it is even possible?
Post a console log of your issue below:
Thanks
nibzy26
December 14, 2022, 4:55pm
2
I am using wiringpi library to control gpios and gpio read all just shows pin36 name as RTC and no other info
am I missing something?
Balaji
December 14, 2022, 9:59pm
3
Hi @numbqq ,
Can you please clarify on how to remap PIN 36 on the VIM 3 as a GPIO.
I was provided the following table from sales a while ago as to what pins on the VIM3 can be remapped as GPIO pins:
Can you please let me know how the highlighted PINs (except PIN 10 and 12- ADC) can be remapped as GPIO.
Thank you
numbqq
December 15, 2022, 12:55am
4
You can’t use PIN36 as a normal GPIO.
Just remove the overlays in /boot/env.txt
.
Balaji
December 15, 2022, 1:35am
5
Hi,
Thank you for your response. May I also please know if PIN 38 of VIM3 can be remapped to GPIO?
I was provided the table above from Khadas, I guess there was some mistake. Can you please let me know if there are any other pins on the table that are highlighted which can not be remapped to GPIO as I would need to update our design as soon as possible.
Balaji
December 15, 2022, 1:38am
6
Hi @numbqq ,
Can PIN 13 of VIM3 used as a normal GPIO
ivan.li
December 15, 2022, 2:27am
7
Hi @Balaji
It can be used as a normal GPIO