1: software: JetPack4.5_R32.5.1 hardware: custom board is the same board.
2: tx2 nx SOM + custom board: RS485 work send ok; receive ok.
3: xavier nx SOM + custom board: RS485 work send ok; receive abnormal.
-
phenomenon 1:
-
send in host pc:
» asdfghjklzxcvbnm123456789
» asdfghjklzxcvbnm123456789
» asdfghjklzxcvbnm123456789
» asdfghjklzxcvbnm123456789 -
receive in xavier nx with cutecom:
» ghjklzxcvbnm123456789 #the first packet lose some packet
» asdfghjklzxcvbnm123456789
» asdfghjklzxcvbnm123456789
» asdfghjklzxcvbnm123456789
-
-
phenomenon 2:
-
send in host pc:
» asdfghjklzxcvbnm123456789
» asdfghjklzxcvbnm123456789
» asdfghjklzxcvbnm123456789
» asdfghjklzxcvbnm123456789 -
receive in xavier nx with cutecom:
» resource temporarily unavailable #/dev/ttyTHS0 was suddenly closed
-
what i do:
1: disabled ttyTHS0 debug function refer to https://forums.developer.nvidia.com/t/how-to-disable-ttyths0-and-ttytcu0-debug-function-and-use-both-of-them-as-normal-uart-serial-port/170116, but after change, system cannot startup
2: add properity for serial@3100000 , but not work
-
/delete-property/ dma-coherent;
-
nvidia,tolerance-low-range = <0x0>;
-
nvidia,tolerance-high-range = <0x4>;
-
nvidia,adjust-baud-rates = <0x1c200 0x1c200 0x64>;
so: should i check my custom board RS485 schematic, or debug RS485 driver?