ModalAI Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login
    1. Home
    2. Haxerus
    H
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 4
    • Best 0
    • Controversial 0
    • Groups 0

    Haxerus

    @Haxerus

    Robotics Software Engineer

    0
    Reputation
    2
    Profile views
    4
    Posts
    0
    Followers
    0
    Following
    Joined Last Online
    Location Ottawa, ON

    Haxerus Unfollow Follow

    Latest posts made by Haxerus

    • RE: M0173 with 4 AR0144 Tracking cameras

      @Alex-Kushleyev Hi, I'm working with @cbay on this project and I just wanted to report that I was able to modify voxl-lepton-server with your suggestions and achieved dual lepton camera streaming into voxl-portal.

      75f7968e-6970-4064-b93b-5d890747da2c-image.png

      posted in Video and Image Sensors
      H
      Haxerus
    • RE: Rebuilding kernel for VOXL 2 Mini to swap J10 to SPI, M0188 2 Lepton configuration

      Ok, I was actually able to get J10 to work as an SPI port by following this thread. I was also able to get video feed from the lepton on slot #2 on the M0188 with this approach. I still don't know if using the devcfg.mbn file from SDK ver 1.0.0 is really the "proper" thing to do, it feels like it could lead to issues down the road. An official answer regarding J10 in SPI mode would be greatly appreciated.

      posted in Ask your questions right here!
      H
      Haxerus
    • RE: Rebuilding kernel for VOXL 2 Mini to swap J10 to SPI, M0188 2 Lepton configuration

      @Alex-Kushleyev @modaltb If you have any insights that would be appreciated. Thanks.

      posted in Ask your questions right here!
      H
      Haxerus
    • Rebuilding kernel for VOXL 2 Mini to swap J10 to SPI, M0188 2 Lepton configuration

      Hello,

      I am trying to get the M0188 board working with the VOXL 2 Mini to control 2 Leptons but I've hit a roadblock getting the J10 port to switch from UART to SPI. I've rebuilt the kernel with the following modifications to the DTS files on meta-voxl2-bsp.

      m0104-kona.dtsi:

      • added spi14 = &qupv3_se14_spi

      m0104-modalai-qupv3.dtsi:

      • changed status of &qupv3_se14_2uart to "disabled"
      • changed status of &qupv3_se14_spi to "ok"
      • added the following to &qupv3_se14_spi
      spidev@0 {
          compatible = "spidev";
          reg = <0>;
          spi-max-frequency = <50000000>;
      };
      

      I am not sure these are the only modifications required as I am not familiar with Linux kernel development, I just followed the documentation and commit history in meta-voxl2-bsp.

      After building and loading the kernel I run voxl-gpio -w 67 1 as mentioned here. When I run ls /dev/ I am able to see /dev/spidev14.0. I tried testing it with this tool and a loopback cable that connects MISO to MOSI but it just hangs. That tool works fine with spidev0.0.

      I modified voxl-lepton-server to use the 2nd I2C channel for Lepton #2. I then tried to change /etc/modalai/voxl-lepton-server.conf to use SPI bus id 14 but it caused voxl-lepton-server to hang, seemingly not getting any data from the SPI port.

      Any guidance on how to properly use J10 as an SPI port and how to get voxl-lepton-server to read from it would be greatly appreciated.

      posted in Ask your questions right here! voxl 2 mini kernel m0188 lepton camera
      H
      Haxerus