Invert 2 SPI pins

Hello,
We would like to know if there is a way to invert pin MOSI and MISO for SPI on jetson orin. Currently with pinmux we can select pin 93 for SPI1_DIN (MISO) and pin 89 for SPI1_DOUT (MOSI) is there a way to have 93 for SPI1_DOUT and 89 for SPI1_DIN ?

Thank you.

Hi romain.julian,

Are you using the devkit or custom board for Orin NX?
What’s the Jetpack version in use?

May I know what’s the use case to switch the usage for MISO and MOSI pin?
Are you trying to configure Orin NX as a SPI slave device?

Hi, we are using custom board and Jetpack 6.2.
We’ve done a mistake on our board and the miso line of Jetson is connected to mosi line of the tpm we want to connect in spi ( and mosi line of Jetson is connected to miso line of tpm)
We will correct it in future versions of the board however we already have some board with this mistake and I would like to know if there is a software way to solve this.

They are determined from hardware so that it can’t be achieved through SW method.

Have you tried to short MISO/MOSI to use 3-wires SPI as temporary WA?

Thank you for your time and your response, yes we will try that as temporary WA.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.