Repurpose SPI on J10 for SLPI use
-
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. -
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.Hi @AndriiHlyvko
This is not possible.
J10 is hardware set for APPs proc QUP, not SLPI.

Thanks!
-
Hi @AndriiHlyvko
This is not possible.
J10 is hardware set for APPs proc QUP, not SLPI.

Thanks!
@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?
-
@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?
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.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login