Rtc on vim3 as gpio

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

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?

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

You can’t use PIN36 as a normal GPIO.

Just remove the overlays in /boot/env.txt.

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.

Hi @numbqq ,

Can PIN 13 of VIM3 used as a normal GPIO

Hi @Balaji

It can be used as a normal GPIO