Skip to content

SPI on Xavier NX #1223

Answered by madisongh
oscarthorn asked this question in Q&A
Apr 7, 2023 · 2 comments · 4 replies
Discussion options

You must be logged in to vote

You can examine the pin assignments by looking at the files under /sys/kernel/debug/pinctrl. Specifically for these pins, you can do:

# grep 'spi1' /sys/kernel/debug/pinctrl/2430000.pinmux/pinmux-pins
pin 203 (SPI1_SCK_PZ3): 2430000.pinmux (GPIO UNCLAIMED) (HOG) function spi1 group spi1_sck_pz3
pin 204 (SPI1_MISO_PZ4): 2430000.pinmux (GPIO UNCLAIMED) (HOG) function spi1 group spi1_miso_pz4
pin 205 (SPI1_MOSI_PZ5): 2430000.pinmux (GPIO UNCLAIMED) (HOG) function spi1 group spi1_mosi_pz5
pin 206 (SPI1_CS0_PZ6): 2430000.pinmux (GPIO UNCLAIMED) (HOG) function spi1 group spi1_cs0_pz6
pin 207 (SPI1_CS1_PZ7): 2430000.pinmux (GPIO UNCLAIMED) (HOG) function spi1 group spi1_cs1_pz7

to verify that t…

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
3 replies
@oscarthorn
Comment options

@oscarthorn
Comment options

@oscarthorn
Comment options

Comment options

You must be logged in to vote
1 reply
@oscarthorn
Comment options

Answer selected by oscarthorn
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants