Jetson AGX orin CAMERA GPIO dhange to UART

Hi,

Is it possible to configure the custom carrier board not to use the Camera function and camera connector, but to use the existing Camera GPIO function by changing the Pinmux from the GPIO to the UART function?
And if the Pinmux and Hardware are changed as above, how should the S/W be handled?

Orin Pin: L5, L48

Which pin? can it configure to UART? You can check the pinmux sheet to know it map to which UART.

Dev. kit pinmux

  1. pin #: L5 (UART4_TX) : CAM0_RST_GPIO assigned as GPIO3_PH.03
  2. pin # L48 (UART4_RX): PCIE_3V3_EN assigned as GPIO3_PH.04

I want to change the above 2 GPIO assigned pins to UART Tx and Rx pin as follows with the Pinmux file.

  1. Pin #L5 GPIO3_PH.03 to UD3_TXD
  2. Pin #L48 GPIO3_PH.04 to UD3_RXD

Question

  1. is it possible to configure these 2 pins as UART pins as above?
  2. What parts of S/W need to be changed, and is it possible to use the existing GPIO function for UART by changing S/W (Linux) and PinMux?

What’s your Jetpack version in use?

Yes, you can configure them as Uart-D in pinmux spreadsheet.
Do you have the requirement for HW flow contorl?
If so, please also configure #L4 GPIO3_PH.05 to UD3_RTS and #L49 GPIO3_PH.06 to UD3_CTS in pinmux.

In addition to the modification in pinmux spreadsheet, you should also enable the serial@3130000 node in device tree to enable UART-D.

Jetpack version: 35.4.1

  1. Flow control is not used in custom carrier boards and I assigned these flow control pin as not assigned in pinMux
  2. This UART (L5, L48 pin) serial@3130000 already.

Issue.
This UART Rx function is not working now, but
UART Tx function is working.

Question
In pinMux spreadsheet, what value should I set for “Req. Initial State” ?
Should it be “Drive 0” to “blank”?

It is set as default “Drive 0” and should it be set as blank or any other value?

Hi, KevinFFF,

The problem has been resolved.
Existing Dev. This was resolved by blocking the CAM0_RST and PCIe_3V3_EN related functions of the Linux S/W of Pin L4 (UART4_TX) and L48 (UART4_RX) used as GPIO in the kit.

Many thanks for your help.

Regards,
netkerl

1 Like

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