Hello,
I am having trouble with my Orin (and Xavier) devkit machines when I am trying to use the UART interface to read NMEA messages from another board containing an IMU. This issue is only present on the Orin and Xavier devkits I have that are running Ubuntu 20 from JetPack 5.0.2 Runtime as I have Xavier machines which run Ubuntu 18 from JetPack 4.6.3 which do not experience the problem using the same board, wiring and UART pins.
The problem I am facing is the NMEA messages are sometimes cut off or malformed when read by the units running Ubuntu 20. This same problem is not experienced with the Ubuntu 18 units. These units have been flashed using SDK manager from a machine running Ubuntu 18 following the user guide for flashing a machine with JetPack. I have tried to disable nvgetty as a potential solution (according to this Jetson Nano how to use UART on /ttyTHS1) but this has not been effective. This data is coming in at approx. 100Hz from the other IMU board and we are reading this data in via /dev/ttyTHS0. I have included a sample of the good and bad data we have been experiencing below. This error is happening at random and does not appear to line up with any specific load being applied to the system or changes in its surroundings. Any help would be appreciated.
Example of properly formed data. Noting that each entry is on its own line with a ‘$’ in front of it
$PINVMDOP,1346.205,497051.000,1.02,0.91,0.47,0.76,0.49,0.37,0.32,U*54
$PINVMWEK,1346.205,2250*09
$PINVMIAM,1346.210,0.03589,-0.03110,-10.07874,1.94550,-0.85449,0.23651,24.88*23
$PINVMIAM,1346.220,0.00000,-0.06101,-10.08472,1.88446,-0.78583,0.41199,24.63*2B
$PINVMIAM,1346.230,0.03469,-0.06699,-10.09668,2.00653,-0.67139,0.37384,25.00*29
$PINVMIAM,1346.240,0.01675,-0.06938,-10.07874,1.86157,-0.79346,0.48065,24.82*2E
$PINVMIAM,1346.250,-0.00479,-0.07537,-10.08950,2.01416,-0.76294,0.26703,24.88*0F
$PINVMIAM,1346.260,0.02273,-0.05981,-10.08831,1.88446,-0.76294,0.28229,24.88*2E
$PINVMIAM,1346.270,0.02153,-0.05742,-10.06438,1.99127,-0.80872,0.37384,25.00*24
$PINVMIAM,1346.280,0.01196,-0.05024,-10.06079,1.97601,-0.81635,0.35858,24.88*2F
$PINVMIAM,1346.290,0.04905,-0.05144,-10.03687,1.91498,-0.77057,0.33569,25.06*2D
$PINVMIAM,1346.300,0.03708,-0.05264,-10.07634,1.99127,-0.83923,0.28229,24.69*25
$PINVMBMP,1346.305,885.37,24.25,1123.47*17
Example of malformed data. Please note the second line where the newline was not present and the data that was supposed to be on the next line is missing its ‘$’.
$PINVMDOP,4740.320,419527.000,2.17,1.85,1.13,1.60,0.93,0.74,0.56,U*50
**$PINVMWEK,4740.320,22PINVMIAM,4740.330,0.16270,-0.08374,-9.35378,1.11389,-2.28119,-0.11444,33.97*3F**
$PINVMIAM,4740.340,0.15313,-0.05981,-9.38848,1.22070,-2.36511,0.03815,33.85*14
$PINVMIAM,4740.350,0.14355,-0.06938,-9.37292,1.08337,-2.24304,0.00000,33.85*13
$PINVMIAM,4740.360,0.15193,-0.06101,-9.41479,1.07574,-2.29645,-0.03052,33.73*3A
$PINVMIAM,4740.370,0.15432,-0.06938,-9.35737,1.12915,-2.31171,-0.00763,33.97*37
$PINVMIAM,4740.380,0.15313,-0.07537,-9.34661,1.14441,-2.35748,-0.12207,33.97*3B
$PINVMIAM,4740.390,0.15671,-0.06699,-9.38608,1.19781,-2.42615,0.02289,34.03*15
$PINVMIAM,4740.400,0.17346,-0.05623,-9.37173,1.15204,-2.28119,-0.09918,33.97*32
$PINVMBMP,4740.405,902.05,32.02,969.77*2E