I have a question regarding the generation of the cfg files from the pinmux spreadsheet of the NX module for JetPack 5.
We have a custom board and updated the spreadsheet to support our hardware for JP4 and we are now migrating to JP5 and using the same spreadsheet.
After generating the cfg file using the JP5 scripts, I have noticed that bit 12 (E_SCHMT) of some of the pinmux values has now been set. Also, there was one pin that we assigned as tristate for JP4 that no longer works. If I change it to a “Drive 0” then it works.
A couple of questions:
Why are these pins now assigned E_SCHMT for JP5 where they weren’t for JP4.
How can the assignment of the E_SCHMT be changed/manipulated using the spreadsheet.
I would like to know why the tristate assignment for a pin worked in JP4 and know no longer works in JP5. Is there a change in the JetPack 5 release that would prevent “some” pins from working properly in tristate?
A simple question to ask on top of MM’s above question: if the same xls spread sheet is being used as a source to generate the cfg file, then why the generated cfg file is different between JP4 and JP5? Is there some changes needed?
That command that you provided is identical to the one that we are using.
However, there are some differences in the cfg file we generate. I would like to know what has caused or would cause the addition of E_SCHMT to be set as mentioned in questions #1 and #2 that I asked in the first post.
Here is one JP5 pin that has the bit set:
pinmux.0x0c302028 = 0x00001412; # spi2_mosi_pcc2: rsvd2, tristate-enable, input-disable, io_high_voltage-disable, lpdr-disable
versus JP4:
pinmux.0x0c302028 = 0x00000412; # spi2_mosi_pcc2: rsvd2, tristate-enable, input-disable, io_high_voltage-disable, lpdr-disable
interesting, the cfg file under JP-4 and JP-5 were identical to us.
could you please modify the register value manually and re-flash the target for confirmation.
thanks
I will provide a high level view of the process we follow.
We use the excel spreadsheet to generate the dtsi files. They are copied to kernel/pinmux/t19x.
Then the following command is run to generate the .cfg:
python3 pinmux-dts2cfg.py
–pad
pad_info.txt
tegra19x-jetson_xavier_nx_module-padvoltage-default.dtsi
1.0
> tegra19x-mb1-padvoltage-p3668-a01.cfg
The generated .cfg files are copied to /bootloader/t186ref/BCT/
The p3668.conf.common is verified to have the name of the new pinmux
for PINMUX_CONFIG=“tegra19x-mb1-pinmux-p3668-a01.cfg”
Then we use the flash.sh script to flash the device:
sudo ./flash.sh jetson-xavier-nx-devkit-emmc mmcblk0p1
E_SCHMIT setting should follow PROD_SETTING, it’s por_val.txt for PROD_SETTING recommendations.
and… there’s change to update POR values, may I know which JetPack-4.x release you’re used for comparison, are you using the latest JetPack 4.6.2 release image?
moreover,
please check TRM for more details.
Enabling Schmitt provides better noise margin characteristics for the input and depending on driver’s logic threshold levels this can be enabled.