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

    Repurpose SPI on J10 for SLPI use

    VOXL 2
    2
    4
    305
    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.
    • A
      AndriiHlyvko
      last edited by

      Hi, I would like to recompile the kernel so that the px4 on SLPI can use the SPI bus that's on J10. I looked at the kernel files and I think I understand how each Serial Engine is loaded up with a protocol that it uses. What I dont understand yet is what defines how each processor is able to access that QUP. Can someone help me with this? Maybe point me to some qualcomm documentation? I saw @modaltb configured a lot of the kernel files. Would you be willing to help with this?

      Thanks.
      Best, Andrii Hlyvko.

      VinnyV 1 Reply Last reply Reply Quote 0
      • VinnyV
        Vinny ModalAI Team @AndriiHlyvko
        last edited by

        Hi @AndriiHlyvko
        This is not possible.
        J10 is hardware set for APPs proc QUP, not SLPI.
        f2288c5d-9139-4b73-801d-476e81d80029-image.png

        Thanks!

        A 1 Reply Last reply Reply Quote 0
        • A
          AndriiHlyvko @Vinny
          last edited by

          @Vinny what exactly do you mean by "hardware set"? In the docs it says that 20 QUPs are configured for app processor and 8 for DSP. Cant I reconfigure which QUPs go to which pins in the kernel tree?

          VinnyV 1 Reply Last reply Reply Quote 0
          • VinnyV
            Vinny ModalAI Team @AndriiHlyvko
            last edited by

            Hi @AndriiHlyvko
            The chip is not infinity flexible. Many things are fixed/set in hardware meaning either the silicon device or the PCB. There is no internal cross-bar in the QRB5165 that allows for 100% remapping like on FPGAs.

            Please see these pages:
            https://docs.modalai.com/expansion-design-guide/#qups-the-key-io-groups-for-expansion
            https://docs.modalai.com/voxl2-qups/

            Hope that helps explain things a little.

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