Jetson Orin Nano Super Developer kit per cam csi pinout

Can i change csi pinout of only cam1 or cam0 while excluding other from the change? I want to connect both ToF Arducam and IMX219 cam on my jetson but when i change pinout to be imx219-a compatible (via /opt/nvidia/jetson/jetson-io.py) i lose ability to run ToF camera even though imx219 is on cam0 and ToF camera is on cam1.

*** Please note that this reply is generated by LLM automatically ***

To address your question, we need to understand how pinmux changes work on the Jetson Orin Nano and how they affect the CSI (Camera Serial Interface) pins.

The Jetson Orin Nano has a 40-pin header, and some of these pins can be configured as CSI pins. However, changing the pinmux settings can be a bit complex.

According to the provided context, there are two ways to change the pinmux settings:

  1. Update the MB1 pinmux BCT: This method involves updating the Boot Configuration Table (BCT) to change the pinmux settings. This method is more permanent and requires a reboot to take effect.
  2. Dynamically make pinmux changes: This method involves using GPIO tools to dynamically change the pinmux settings. However, this method only works for pins that meet certain conditions, such as being part of the 40-pin header, not being configured as an SFIO pin by the MB1 BCT, and being configured to be bidirectional by the MB1 BCT.

To change the CSI pinout for only cam1 or cam0, you would need to update the pinmux settings for the specific CSI pins used by those cameras. However, the provided context does not specify which pins are used by cam1 and cam0.

Assuming you have identified the CSI pins used by cam1 and cam0, you can try updating the pinmux settings using the first method (Update the MB1 pinmux BCT). This would involve generating new .dtsi files from the Jetson AGX Orin pinmux spreadsheet and updating the BCT.

However, if you want to dynamically change the pinmux settings, you would need to ensure that the CSI pins meet the conditions mentioned earlier. If they do, you can use GPIO tools to change the pinmux settings.

Regarding your specific use case, where you want to connect both ToF Arducam and IMX219 cam on your Jetson Orin Nano, and you lose the ability to run the ToF camera when you change the pinout to be IMX219 compatible, it’s likely that the pinmux settings are not being updated correctly for the ToF camera.

To resolve this issue, you would need to ensure that the pinmux settings for the ToF camera are updated correctly, while keeping the pinmux settings for the IMX219 camera unchanged. This might require creating a custom pinmux configuration that takes into account the specific requirements of both cameras.

In summary, changing the CSI pinout for only cam1 or cam0 on the Jetson Orin Nano requires updating the pinmux settings, either by updating the MB1 pinmux BCT or by dynamically making pinmux changes using GPIO tools. However, the specific steps required would depend on the details of your use case and the specific CSI pins used by the cameras.

*** Please give the thumbs up if you get answers you like. Or provide feedback to help us improve the answer. ***

Suppose you need to modify the device tree(dtbo) to support your case instead of using jetson-io.

Thanks