GPIO3_B0 to GPIO3_C3 always reads 0 on Luckfox Pico Pro/Max (even as input)

  • Hello, it is recommended to first use the command "iomux 3 8 0 (GPIO=3 B0=8*1+0 GPIO_MODE=0)" to configure the CSI pin as GPIO mode, and then conduct the GPIO input test.
  • Hello @Crocodile,

    Thank you for the suggestion. I already tried configuring the CSI pin as GPIO using the iomux command:

    root@rv1106:~# echo 115 > /sys/class/gpio/unexport
    root@rv1106:~# ./iomux 3 19
    mux get (GPIO3-19) = 0
    root@rv1106:~# ./iomux 3 19 0
    root@rv1106:~# ./iomux 3 19
    mux get (GPIO3-19) = 0
    root@rv1106:~# echo 115 > /sys/class/gpio/export
    root@rv1106:~# cat /sys/class/gpio/gpio115/value
    0
    root@rv1106:~# cat /sys/class/gpio/gpio115/value
    0
    root@rv1106:~# cat /sys/class/gpio/gpio115/value
    0
    root@rv1106:~# cat /sys/class/gpio/gpio115/value
    0
    root@rv1106:~# cat /sys/class/gpio/gpio115/value
    0

    I verified multiple times, but the value is always 0. The pin is floating at around 0.8 V, and when I drive it to 1.8 V externally, the voltage is correct, but the GPIO still reads 0.

    I also have a doubt regarding GPIO numbering: does GPIO115 actually correspond to GPIO3_C3_D (pin number 128)? Could there be a mismatch in the mapping that causes this behavior?

    Could you please clarify whether this pin can actually be used as a GPIO input, or if there is some limitation that prevents it?

    Thanks for your guidance.
    Last edited by Soheil_Jbbr on 2025-12-31 8:09, edited 1 time in total.
  • GPIO3_C3_D corresponds to GPIO115 (32*3 + 16 + 3).
    We have previously tested that by outputting a high level from the 1.8V voltage domain pin to the GPI pin, the high level can be correctly recognized. It is recommended to confirm whether the externally connected 1.8V pull-up resistor and the Luckfox Pico Pro are grounded together.