Related to this post that I made a while ago, I am having a similar problem where our pinmux settings seem to be preventing access to the voltage and current monitors on the Orin NX SOM.
I am trying to read the input voltage/current to the Orin NX SOM by accessing the file path
/sys/bus/i2c/drivers/ina3221/1-0040/hwmon/hwmon3
and reading the output of /curr1_input and /curr1_input /in1_input.
After using our custom pinmux, I can access the /sys/bus/i2c/drivers/ina3221 directory but I do not see the 1-0040 directory available.
Here is what we change in our pinmux:
Signal Name | Changes Required |
---|---|
GPIO03 | Output, Drive 1 |
GPIO06 | Input, N/A |
SPI1_CS0* | Input, Int PD |
SPI1_CS1* | Input, Int PD |
UART1_RXD | Input, Int PD |
GPIO12 | Output, Drive 1 |
GPIO07 | Output, Z |
CAM1_PWDN | Output, Z |
GPIO09 | Output, Z |
GPIO01 | Output, Z |
GPIO04 | Output, Drive 1 |
GPIO05 | Output, Drive 0 |
CAM0_PWDN | Output, Drive 0 |
I2S0_SCLK | Input, Int PD |
I2S0_DOUT | Input, Int PD |
I2S0_DIN | Input, Int PU |
I2S0_FS | Input, Int PU |
DP1_AUX_P | unused_DP_AUX_CH0_P,Not Assigned |
DP1_AUX_N | unused_DP_AUX_CH0_N, Not Assigned |
DP1_HPD | unused_DP_AUX_CH0_HPD, Not Assigned |
I2S1_SCLK | Output,Drive 1 |
I2S1_DOUT | Output, Drive 1 |
Which of these changes could cause this issue? Is there any way to get access to voltage/current monitoring once the system is fully booted? If we have an assigned use for these pins, do we have to re-assign the pins whenever we want to access the voltage/current monitor?