ZED X Camera Driver Overwriting CAN pins

Good morning,

I am working with a ZED X Camera on Jetson AGX Orin. I need to access the CAN pins on the GPIO, but I have run into an issue where modifying the configuration to allow for this in jetson-io.py causes the camera to not be detected. I can fix that issue by simply redownloading the driver, but unfortunately this removes the configuration on the CAN pins. Is there a way I can modify the driver configuration for the GPIO pins without overwriting the CSI port information?

Hi @GreenMachine ,
Can you please try the following procedure:
1 - Install the driver and reboot
2 - Execute these commands for the CAN pinmuxing:

$ sudo apt-get install busybox
$ sudo busybox devmem 0x0c303018 w 0x458 # CAN 0 din
$ sudo busybox devmem 0x0c303010 w 0x400 # CAN 0 dout
$ sudo busybox devmem 0x0c303008 w 0x458 # CAN 1 din
$ sudo busybox devmem 0x0c303000 w 0x400 # CAN 1 dout

After that the CAN bus should work. You can try and modprobe the CAN drivers then perform write and read as described here:
https://docs.nvidia.com/jetson/archives/r35.3.1/DeveloperGuide/text/HR/ControllerAreaNetworkCan.html?highlight=can%20bus#kernel-drivers