vuhungkt18
(Nguyen Vu Hung)
January 2, 2020, 8:15am
1
If you use mPCIE interface 4G module to connect R2 by 14 pin header,use these cmds to enable 4G module,after you did these steps,USB0 port will be disable
Do you have anyone explain some number mentioned below as why base is 232 and why GPIO is 34
cd /sys/class/gpio/
echo 266 > export 【# 266(gpio_offset) = 232(base) + 34(GPIO_34)】
cd gpio266/
echo out > direction
echo 1 > value
frank-w
(Frank W.)
January 2, 2020, 8:28am
2
For the base:
root@bpi-r2# cat /sys/kernel/debug/pinctrl/1000b000.pinctrl/gpio-ranges
GPIO ranges handled:
0: 1000b000.pinctrl GPIOS [232 - 511] PINS [0 - 279] #base=232, first value of GPIOS
root@bpi-r2#
Do not know why gpio 34 is used for it…maybe you find something in shematics
1 Like
vuhungkt18
(Nguyen Vu Hung)
January 2, 2020, 8:53am
3
Your information is very useful for me
Thank you so much
vuhungkt18
(Nguyen Vu Hung)
January 2, 2020, 9:26am
4
And do you know why we set highlevel for GPIO_34 ?
frank-w
(Frank W.)
January 2, 2020, 11:45am
5
No,don’t have it found on quick look in shematics
1 Like
frank-w
(Frank W.)
January 10, 2020, 6:13am
7
This is r64,do we need additional extension card on r64 to get 4g module working?