This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CCS/IWR1642BOOST: Get Started with AWR1642 BOOST EVM for PPCount

Part Number: IWR1642BOOST
Other Parts Discussed in Thread: AWR1642, IWR1642

Tool/software: Code Composer Studio

Hi Sir 

We use AWR1642 ES2.0 EVM for PPcount demo. and we use mmwave_industrial_toolbox_2_5_0.

We programed pre-image and run GUI. it failed to run the demo.

We re-build the PPcount SDK and re-program the firmware. Open GUI and got below error message

dfeDataOutputMode 1
channelCfg 15 3 0
adcCfg 2 1
adcbufCfg 0 1 1 1
profileCfg 0 77 30 7 62 0 0 60 1 128 2500 0 0 30
chirpCfg 0 0 0 0 0 0 0 1
chirpCfg 1 1 0 0 0 0 0 2
frameCfg 0 1 128 0 50 1 0
lowPower 0 0
guiMonitor 1 1 0 0
cfarCfg 6 4 4 4 4 16 16 4 4 50 62 0
doaCfg 600 1875 30 1
trackingCfg 1 2 250 20 200 50 90
sensorStart
left wall: -6
R wall: 6
front wall: 6
back wall: 0
------------------
Warning: Unsuccessful read: The specified amount of data was not returned within the Timeout period..
Index exceeds matrix dimensions.

Error in main_pplcount_viz (line 513)

MATLAB:badsubscript

please advise

BR

Yimin

  • Hi Sir

    1. the SDK is mmwave_sdk_02_00_00_04

    2. The pre-image size is 480KB. Our building image is 327KB, It all failed in AWR1642 ES2.0 EVM.

    3. We try IWR1642 2.0 EVM. the result is ok. 

    please advise how to do ppcount in AWR1642 ES2.0 EVM

    BR

    Yimin

  • Hi Yimin,

    Please find one of the chirp configurations available in <Industrial_Toolbox_2.5.0>/chirps/images/People+Counting+Tracking/.  Please edit this configuration so that the line starting with lowPower reads lowPower 0 1.  This sets the device to run in lowPower mode, which is required for ES2.0 devices.

    Regards,

    Justin

  • Hi Sir

    I don't understand what you mean.

    Do you know which chirp configuration will be loaded if we use lab0011_pplcount_quickstart/pplcount_gui.exe ?

    to my understaning , it should use lab0011_pplcount_gui/mmw_pplcount_demo_default.cfg file and the the setting is lowPower 0 1.

    please advise if i am wrong.

    BR
    Yimin
  • Hi Yimin,

    When using the precompiled GUI, the GUI will send a preset configuration. By default, the mmw_pplcount_demo_default.cfg file is a copy of this, but changing the settings in this file will not change the default parameters. You will have to manually select the mmw_pplcount_demo_default.cfg file with the select file button.

    Regards,
    Justin
  • Hi Sir

    We followed the rule and it still failed in AWR1642 ES2.0 for ppcount

    Opening configuration file C:\ti\mmwave_industrial_toolbox_2_5_0\chirps\images\People+Tracking+and+Counting+Application\AWR1642_enable low power\mmw_PC_14m_OfficeSpace.cfg ...

    Opening configuration file C:\ti\mmwave_industrial_toolbox_2_5_0\chirps\images\People+Tracking+and+Counting+Application\AWR1642_enable low power\mmw_PC_14m_OfficeSpace.cfg ...

    Sending configuration from C:\ti\mmwave_industrial_toolbox_2_5_0\chirps\images\People+Tracking+and+Counting+Application\AWR1642_enable low power\mmw_PC_14m_OfficeSpace.cfg file to IWR16xx ...

      Serial Port Object : Serial-COM11

      Communication Settings

         Port:               COM11

         BaudRate:           115200

         Terminator:         'LF'

      Communication State

         Status:             open

         RecordStatus:       off

      Read/Write State

         TransferStatus:     idle

         BytesAvailable:     0

         ValuesReceived:     0

         ValuesSent:         0

    dfeDataOutputMode 1

    Warning: Unexpected Warning: A timeout occurred before the Terminator was reached.

    Warning: Unexpected Warning: A timeout occurred before the Terminator was reached.

    Warning: Unsuccessful read: The specified amount of data was not returned within the Timeout period..

    channelCfg 15 3 0

    In mmw_PC_14m_OfficeSpace.cfg

    dfeDataOutputMode 1
    channelCfg 15 3 0
    adcCfg 2 1
    adcbufCfg 0 1 1 1
    profileCfg 0 77 30 7 62 0 0 24 1 128 2500 0 0 30
    chirpCfg 0 0 0 0 0 0 0 1
    chirpCfg 1 1 0 0 0 0 0 2
    frameCfg 0 1 128 0 50 1 0
    lowPower 0 1
    guiMonitor 1 1 0 0
    cfarCfg 6 4 4 0 0 16 16 4 4 50 62 0
    doaCfg 600 1875 30 1
    SceneryParam -1 1 0.05 15
    GatingParam 4 3 2 0
    StateParam 5 5 10 100 5
    AllocationParam 100 0.01 8 1 2
    VariationParam 0.289 0.289 1.0
    trackingCfg 1 2 250 20 200 50 90
    sensorStart

    To TI expert, have you tried this experiment in your AWR1642 ES2.0 EVM ? 

    please advise 

    BR

    Yimin

  • Hi Yimin,

    I have reproduced your error on my own AWR1642 ES2.0. I was able to resolve the error by recompiling the lab in CCS then loading the new compiled binary on the device. I did not have to change any compile settings in CCS.

    Regards,
    Justin
  • Hi Yimin,

    After debug, this is the final solution:

    1. Recompile the binary on your machine. This will compile with the radarss_rprc available at <SDK_INSTALL_DIR>/firmware/radarss/xwr16xx_radarss_rprc.bin, which is required for the demo to run on AWR devices.
    2. Ensure you use a chirp configuration with lowPower 0 1.

    Regards,

    Justin