• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Register
  • Login
ModalAI Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
    • Register
    • Login

    VOXL2 Mini UART/SPI Port

    Ask your questions right here!
    2
    4
    308
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • J
      Jack Bishop
      last edited by 16 May 2023, 10:06

      I see in the user manual the onboard J10 SPI port can be switched to be utilized as a UART port.
      The manual states NOTE: this requires a TrustZone devcfg and kernel update. Contact forum.modalai.com for inquiries.

      Are there any instuctions on how to switch over to UART mode that can be provided?
      Also once set up in UART mode my intention is to connect the system to an external flight controller.

      Many thanks!

      1 Reply Last reply Reply Quote 0
      • M
        modaltb ModalAI Team
        last edited by 18 May 2023, 17:58

        Hi @Jack-Bishop ,
        Not yet, my current plan is to build two versions of devcfg and kernel and provide both for a release as I haven't found a way to do this swap run time.... We need to rebuild the kernel with a tiny change, which I'm waiting for the dust to settle before doing but that seems to be soon here. Would you be up to test out some 'dev' builds?

        1 Reply Last reply Reply Quote 0
        • J
          Jack Bishop
          last edited by 19 May 2023, 08:16

          Hi @modaltb

          Thanks for your response - We would 100% be happy to test some dev builds if it provides the functionality we require!
          I'm a hardware guy myself, but let me know when the builds are ready and I can let our dev team take a look.

          1 Reply Last reply Reply Quote 0
          • M
            modaltb ModalAI Team
            last edited by 5 Jun 2023, 16:09

            Hi @Jack-Bishop ,

            We're working on something that allows you to access the UART that is mapped to the DSP from the applications processor through a 'bridge'.

            We are successfully using this for our ESC tools but it's not abstracted yet into a clean example so I'm waiting on that for further possible guidance here that's more 'mainline'.

            This is what I'm referencing for short term, e.g.

            https://gitlab.com/voxl-public/voxl-sdk/utilities/voxl-esc/-/blob/master/voxl-esc-tools/voxl_serial.py#L5

            1 Reply Last reply Reply Quote 0
            • First post
              Last post
            Powered by NodeBB | Contributors