Other Parts Discussed in Thread: MMWAVEICBOOST, , IWR6843
Hi There
I have written a software package for windows and ubuntu that allows me to stream raw data from a DCA1000 into a python script using mmwave_platform toolbox pre-built binaries. It works perfectly on my personal system (laptop Windows/Ubuntu). However, the radar actually needs to be interfaced with a Nvidia Jetson AGX Orin system. My software package uses the python serial and socket libraries to communicate with the DCA1000 and IWR6843ISK +mmWaveICBOOST boards. However upon trying to use my package, which I know works with regular windows and ubuntu, with the Orin the serial interface does it work.
Some facts about the problem:
- The radar ttyACM0 and ttyACM1 appears in the /dev directory.
- The package opens the port successfully
- I am definitely using ttyACM0 which is the correct port but I have tried both anyway.
- The baudrates are correct (I've set them to 115200 on both the radar board binary and my python package)
- The package throws no erros when reading or writing. However, when trying to read a response from the device over serial, I only receive an empty bytes object and not the expected device response.
- The Orin uses Ubuntu Integra as it has a ARM core and not an x86 core which I believe is the source of the issue.
- The PySerial Library is working properly. I have verified this with another device that has Rx and Tx lines connected using a loopback script on the Orin.
- There are additional files created in /dev when the device is plugged in which might be what is causing the issue (hidraw0 and usb) but not sure.
I have an idea for a potential workaround. The loopback device I mentioned is just a ftdi232 USB to Serial (UART) converter. I thought it might be possible to connect the Orin to the radar via the Usb to Serial converter by recompiling the radar binaries to use any free pins on the mmwaveICBoost as the UART command port instead of using the radar xds110 usb port.
There are 14 JTAG pins not really being used by anything on the board. Can two of these pins be converted to just Tx and Rx pins? If this is possible can you give guidance on how the radar binary source code should be edited and recomplied in Code Composer Studio.
Best regards
Nicholas Bowden