Enable more CS pins for SPI1

I see that using Jetson-IO configures the board to enable 2 CS pins by default. How can I enable more? My application requires 4 CS pins total. Would I need to manually specify pinmux config or just use any two GPIO pins? Any tips on how to do that are much appreciated

(I’m pretty new to working this closely with these boards)

You need to add the context that the pinmux modify by the jetson-io and add something like below to use GPIO as chip select.

cs-gpios = <&gpio TEGRA_GPIO(C, 3) GPIO_ACTIVE_LOW>, <&gpio TEGRA_GPIO(C, 4) GPIO_ACTIVE_LOW>;
1 Like

Makes sense, thank you! I’ll give this a shot once I get all my hardware.