GPIO 64 GPI_64_INT_N on J10 signal
-
Hello, I am trying to send a signal and catch it on GPIO 64 on J10, however I can't seem to access it like the other gpios and I don't see it documented anywhere on how its referenced. Any notes will be helpful, thanks.
https://docs.modalai.com/voxl2-mini-connectors/#j10---external-uart
voxl2-mini (M0104):~$ ls /sys/class/gpio/
export gpio1137 gpio1150 gpio1154 gpio1167 gpio1185 gpio1189 gpio1253 gpio1259 gpiochip1094
gpio1100 gpio1146 gpio1151 gpio1155 gpio1182 gpio1186 gpio1224 gpio1254 gpiochip1072 gpiochip1100
gpio1101 gpio1148 gpio1152 gpio1156 gpio1183 gpio1187 gpio1231 gpio1255 gpiochip1076 unexport
gpio1136 gpio1149 gpio1153 gpio1157 gpio1184 gpio1188 gpio1252 gpio1257 gpiochip1085 -
Hi,
I don't believe that on the voxl2-mini anything is using that gpio so it might be possible to export. Let me look into that and get back to you.
For context are you just trying to use it as a regular GPIO like you are describing?
Thanks,
-Luke -
@LukeNow Correct I am just using it as a normal GPIO watching for an input signal. I'm also running SDK 1.6.3 if that helps. Thanks
-
Hi @mkriesel, are you planning on using the UART functionality on the j10 connector?
-
@LukeNow Yes
-
@mkriesel Hello,
I have pushed some changes to enable gpio64 as an input on the meta-vox2l-bsp branch link
To do that please follow the build docs here to rebuild the kernel image and to push it onto your device here
In the build docs, after you build the docker image and run it, add following line to qrb5165-common.sh top level file in the build docker
CI_META_VOXL2_BSP_BRANCH="feature/voxl2-mini-gpio64-export"
Then run the rest of the steps, sync patch and build, as normal to build the image.
Please also check if you need to build the kernel image with the -v var02 flag following the guide here - https://docs.modalai.com/m0054-versions/#m0054-1-and-m0054-2 , with the variant type being the same for the voxl2-mini m0104
Let me know if that works for you!
Thanks,
-Luke