Other Parts Discussed in Thread: UNIFLASH, MMWAVEICBOOST, IWR6843, MAX3232, MAX232
Tool/software:
Hello,
I am working with the IWR6843ISK and have flashed the Long Range People Detection pre-built binary using UniFlash. I am using the Industrial Visualizer from:radar_toolbox_2_30_00_12\tools\visualizers\Applications_Visualizer\Industrial_Visualizer
I have successfully sent the configuration file "6843_50m_2D.cfg" from:radar_toolbox_2_30_00_12\source\ti\examples\Industrial_and_Personal_Electronics\Long_Range_People_Detection\chirp_configs
The visualizer shows some detections, so the setup seems to be working. However, my goal is to get the detection data over UART so that I can process it using another MCU.
INFO [gui_parser.py:287] Connected
b'sensorStop\n'
b'Ignored: Sensor is already stopped\n'
b'\rDone\n'
b'\rmmwDemo:/>flushCfg\n'
b'Done\n'
b'\rmmwDemo:/>dfeDataOutputMode 1\n'
b'Done\n'
b'\rmmwDemo:/>channelCfg 15 7 0\n'
b'Done\n'
b'\rmmwDemo:/>adcCfg 2 1\n'
b'Done\n'
b'\rmmwDemo:/>adcbufCfg -1 0 1 1 1\n'
b'Done\n'
b'\rmmwDemo:/>profileCfg 0 60 35 6 43.0 0 0 8.241 1 125 3433 0 0 48\n'
b'Done\n'
b'\rmmwDemo:/>chirpCfg 0 0 0 0 0 0 0 1\n'
b'Done\n'
b'\rmmwDemo:/>chirpCfg 1 1 0 0 0 0 0 4\n'
b'Done\n'
b'\rmmwDemo:/>frameCfg 0 1 128 0 100 1 0\n'
b'Done\n'
b'\rmmwDemo:/>lowPower 0 0\n'
b'Done\n'
b'\rmmwDemo:/>guiMonitor -1 1 0 0 0 0 0\n'
b'Done\n'
b'\rmmwDemo:/>cfarCfg -1 0 2 8 4 3 0 10 0\n'
b'Done\n'
b'\rmmwDemo:/>cfarCfg -1 1 0 4 2 3 1 10 0\n'
b'Done\n'
b'\rmmwDemo:/>multiObjBeamForming -1 1 0.5\n'
b'Done\n'
b'\rmmwDemo:/>clutterRemoval -1 1\n'
b'Done\n'
b'\rmmwDemo:/>calibDcRangeSig -1 0 -5 8 256\n'
b'Done\n'
b'\rmmwDemo:/>extendedMaxVelocity -1 0\n'
b'Done\n'
b'\rmmwDemo:/>bpmCfg -1 0 0 1\n'
b'Done\n'
b'\rmmwDemo:/>lvdsStreamCfg -1 0 0 0\n'
b'Done\n'
b'\rmmwDemo:/>compRangeBiasAndRxChanPhase 0.0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0\n'
b'Done\n'
b'\rmmwDemo:/>measureRangeBiasAndRxChanPhase 0 1.5 0.2\n'
b'Done\n'
b'\rmmwDemo:/>CQRxSatMonitor 0 3 4 63 0\n'
b'Done\n'
b'\rmmwDemo:/>CQSigImgMonitor 0 127 4\n'
b'Done\n'
b'\rmmwDemo:/>analogMonitor 0 0\n'
b'Done\n'
b'\rmmwDemo:/>aoaFovCfg -1 -90 90 -90 90\n'
b'Done\n'
b'\rmmwDemo:/>cfarFovCfg -1 0 0 59.99\n'
b'Done\n'
b'\rmmwDemo:/>cfarFovCfg -1 1 -30 30.00\n'
b'Done\n'
b'\rmmwDemo:/>staticBoundaryBox -50 50 0.5 60 -0.5 6\n'
b'Done\n'
b'\rmmwDemo:/>boundaryBox -50 50 0.5 60 -0.5 6\n'
b'Done\n'
b'\rmmwDemo:/>gatingParam 4 6 6 6 10\n'
b'Done\n'
b'\rmmwDemo:/>stateParam 4 10 60 600 20 600\n'
b'Done\n'
b'\rmmwDemo:/>allocationParam 30 30 0.5 3 2 2\n'
b'Done\n'
b'\rmmwDemo:/>maxAcceleration 0.1 0.1 0.1\n'
b'Done\n'
b'\rmmwDemo:/>trackingCfg 1 2 250 20 78 121 99\n'
b'Done\n'
b'\rmmwDemo:/>sensorPosition 2 0 0\n'
b'Done\n'
b'\rmmwDemo:/>presenceBoundaryBox -3 3 2 6 0.5 2.5\n'
b'Done\n'
b'\rmmwDemo:/>sensorStart\n'
What I Have Tried
- I connected the configuration UART to Tera Term (baud rate: 115200) and successfully sent the configuration commands.
- I connected the data UART to another Tera Term session. However, the output appears as junk characters, regardless of the baud rate I try.
Questions:
- What is the correct baud rate and settings for receiving readable detection data over the data UART?
- What is the expected format of the UART data? Is it binary, and does it require a specific parser?
- Are there any additional steps or settings required to correctly receive and interpret the data?
- Is there a recommended example code or tool for parsing and verifying the output from the data UART?
My goal is to detect a person/moving object and send the processed data over UART to another MCU. Any guidance on how to achieve this would be greatly appreciated.
Thank you!