Hi! I want to know the exact capabilities of the VIM3L GPIO via the 40 pin header. Because the docs are only available for VIM3 and there are only 2 GPIO pins! For my project I need at the very least 4, and ideally 10. So, what are the VIM3L capabilities via the 40pin header? Also, the interrupt characteristics available. Thanks!
Hi quatro:
Actually, the SoC of VIM3L is full Pin to Pin with A311D which is used on VIM3, so the GPIO is same between VIM3 and VIM3L.
You can check VIM3 schematic and the datasheets for further details:
Good day!
thank you… but I find the docs in https://docs.khadas.com/vim3/GPIOPinout.html, confusing compared to VIM3_V12_Sch.pdf
is there only 2 GPIO available for reading/writing digital values?
Nope, actually, most of the IO pins are multiplexing and with multi functionaries, for example:
PIN 21: I2C_M3_SCL
Can be defined as GPIOA_15 or IR_REMOTE_IN:
Have fun!
Oh Great example!
So can I define pins 37 to 25 as GPIO (except GND of course)?
Is the reference voltage of ADC 1.8 or 3v3?
This is what I’m trying to achieve…
GPIO: FS0, FS1, FS2, FS3, T0, T1, S0, S1, S2, S3
UART: MO, MI
ADC: EXP0, EXP1
Yes, but be note that:
- PIN36: RTC_CLK is not the IO of A311D or S905D3 SoC and cannot define as GPIO
- PIN38: is GPIO of MCU
Have fun!
So this would be MY pinout, from the docs for the VIM3L:
1 5V
2 5V3 USB_DM
4 USB_DP5 GND
6 MCU_3V3
7 MCU_NRST
8 MCU_SWIM9 GND
10 ADC_CH0
11 VDDIO_AO18
12 ADC_CH3
13 GPIOAO_1014 GND
15 GPIOH_6
16 GPIOH_717 GND
18 Linux_RX
19 Linux_TX20 3V3
21 GND
22 TP SCL
23 TP SDA24 GND
25 GPIOAO_2
26 GPIOAO_327 3V3
28 GND29 GPIOA_1
30 GPIOA_0
31 GPIOA_3
32 GPIOA_2
33 GPIOA_434 GND
35 GPIOX_7
36 RTC_CLK
37 GPIOH_4
38 MCU_PA1
39 GPIOZ_1540 GND
can you confirm me whether this is correct?
can any of these GPIO* pins be used as Digital Input Output? for buttons for example?
Yes, mostly can, but ADC cannot.
Yes
Isnt the touch panel of the LCD screen connected to pins 22 and 23?
If I try to gain GPIO access to GPIOA_15 and GPIOA_14… will the TS050 touch panel continue working?
Thank you Gouwa!
Can pin 36 which is rtc clock on vim3 be used as GPIO ?