ModalAI Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login
    1. Home
    2. Amir Avni
    3. Topics
    • Profile
    • Following 0
    • Followers 0
    • Topics 2
    • Posts 2
    • Best 0
    • Controversial 0
    • Groups 0

    Topics created by Amir Avni

    • Amir AvniA

      Issue Reading GPIO 1146 (Pin 6 on J10) on VOXL2

      VOXL 2 IO
      • • • Amir Avni
      2
      0
      Votes
      2
      Posts
      76
      Views

      modaltbM

      Hi @Amir-Avni,

      Does your silkscreen on VOXL2 show M0154 or M0054?

      If M0054, it's 'hard coded' as an output only... behind a uni-directional level shifter.....

      If it's M0154, there's a directional level shifter in front of that GPIO that allows us to (with a kernel tweak) switch between UART and SPI.

      By default we are configured for UART use case, and the level shifter is set to allow an INPUT, by setting GPIO 67 low (as default), which is setup in device tree here, see "67" in modalai,gpio-init-output-low
      https://gitlab.com/voxl-public/system-image-build/meta-voxl2-bsp/-/blob/v1.8.02/recipes-kernel/linux-msm/files/dts/common/m0xxx-modalai-gpio.dtsi?ref_type=tags#L12

      To enable VOXL2 J10 pin6 (gpio46) as an input, make sure gpio67 is set to low

    • Amir AvniA

      Voxl-mapper realtime cpu usage

      Mapping and Planning
      • • • Amir Avni
      2
      0
      Votes
      2
      Posts
      271
      Views

      ModeratorM

      @Amir-Avni On VOXL 2, voxl-mapper runs < 10% of CPU in typical configurations, on VOXL 1 < 30% of CPU