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.

IWRL1432BOOST: UPGRADE SLEEP/WAKE UP MODE

Part Number: IWRL1432BOOST
Other Parts Discussed in Thread: IWRL1432, SYSCONFIG

Tool/software:

Hello TI Team,

I’m working on the IWRL1432 board for a level sensing application and have a few questions. Could you please provide guidance on the following?

1. Sleep/Wakeup Mode

I am currently using LowpowerCfg 0, which, as I understand, keeps the device in always wakeup mode. If I want to enable sleep mode, I need to set LowpowerCfg 1.

  • Once in sleep mode, how does the device wake up?
  • I found in the documentation that UART and SPI can be used for wakeup. Could you guide me on how to implement wakeup using both UART and SPI?

2. UART Garbage Data Issue

After configuring the device through the serial monitor (including setting LowpowerCfg 0), I use the cli_write function to send data to the serial monitor. While I receive the expected output, there is additional garbage data appearing. How can I avoid this? I have attached a screenshot for reference.

3. Firmware Upgrade

I went through your SBL documentation and successfully achieved the setup. To do this, I used the S1 pins to switch between functional mode and flash mode.

Is there a way to shift from functional mode to flash mode without manually toggling the S1 pins?

4. Configuration Persistence

After power on Reset, I have to manually enter the configuration every time,

  • How to disable CLI, how to hard coded the configs in the code, where i got Json file for LEVEL SENSING.

Looking forward to your guidance.

Thanks & Regards,
Amara Rakesh

  • can anyone respond from TI Team !!

    Thanks && Regards,

    Rakesh A

  • Hi, 

    I'm looking into your query. Please allow me some time to respond back.

    Regards

  • Hello Sharan,

    Regarding Question No. 4(4. Configuration Persistence), I found some relevant information from the forums.

    I followed the suggested method and received the following log:
    "Starting the Demo with Default Configurations... channelcfg_complete"

    However, when using the cli_write function to send logs dynamically (instead of hardcoding them), the logs that were previously appearing are now missing.

    Below, I have outlined the procedure I followed. Could you review it and guide me if I made any mistakes?

    Steps Followed:

    Step 1: Enabled the QUICK EVAL option under the MPD DEMO in the sysconfig file.

    .

    Step 2: Replaced the radarCmdString with level sensing configurations in mmw_cli.c

    char* radarCmdString[MAX_RADAR_CMD] =
    {
    #if 1
    "channelCfg 1 1 0 \r\n",
    "chirpComnCfg 8 0 0 512 0 45 0 \r\n",
    "chirpTimingCfg 6 23 0 75 77 \r\n",
    "frameCfg 1 0 200 1 1000 0 \r\n",
    "guiMonitor 2 1 0 0 0 1 0 0 0 0 0 \r\n",
    "zoomCfg 16384 1 3 \r\n",
    "sigProcChainCfg 32 2 1 0 4 4 0 15 \r\n",
    "cfarCfg 2 8 4 3 0 12.0 0 0.5 0 1 1 1 \r\n",
    "aoaFovCfg -60 60 -40 40 \r\n", //check one more time diff
    "rangeSelCfg 0.0 10.0 \r\n",
    "clutterRemoval 1 \r\n",   //check this one def is there
    "compRangeBiasAndRxChanPhase 0.0 1.00000 0.00000 -1.00000 0.00000 1.00000 0.00000 -1.00000 0.00000 1.00000 0.00000 -1.00000 0.00000 \r\n",
    "adcDataSource 0 adcData_1_000.bin \r\n",
    "adcLogging 2 \r\n",
    "lowPowerCfg 0 \r\n",
    "factoryCalibCfg 1 0 40 0 0x1ff000 \r\n",
    "baudRate 115200 \r\n",
    "sensorStart 0 0 0 0 \r\n"
    #endif
    };
    Step 3: Updated the MAX_RADAR_CMD macro to 18 to match the number of configurations.
    After making these changes, I obtained the following output:
    Could you review my approach and let me know if any modifications are needed?
    Thanks && Regards
    Amara Rakesh

  • Hi,

    Please find my corresponding thoughts for your questions.

    1: I suggest you to run the power example present in the sdk first and also look at the readme file present in sdk directory for further information.

    2:, did you try mmwUartWrite function? What type of data are you sending and where are you configuring this in the code?

    3: No it's not currently possible to shift from functional to flashing without the manual toggle.

    4: What do you refer to by dynamic logs?

    Regards

  • Hello Sharan,

    I have successfully implemented solutions for questions 2, 3, and 4, and I am getting the expected output. Now, I have a doubt regarding LPDS.

    I reviewed the power example code and relevant documentation, and I also ran the example code. However, I am still unable to fully understand how LPDS works. Could you provide a detailed explanation and guide me step by step on the following:

    1. How to enable UART wake-up from Low Power Deep Sleep (LPDS) mode?
    2. How to enter LPDS mode?

    My requirement is that the device should wake up via UART, send the following data, and then enter LPDS at different intervals:

    gMmwMssMCB.cfarDetObjOut[i].y = level_meas / 10000.0; // zoom meas in meters

    Looking forward to your guidance.

    Thanks & Regards,
    Amara Rakesh

  • Hello Sharan,

    I reviewed both threads, and they appear to be addressing the same question. However, I couldn't find a clear solution.

    Could you please provide guidance on enabling LPDS and waking up the device using UART? Your insights would be highly valuable for me and others facing similar issues.

    For now, I would like to implement wake-up using the system clock. To achieve this, I have ported a few lines of power example code into my level sensing application. However, I haven’t observed any power variation, and the system consistently remains in the power_none state. I will attach the relevant code for your reference

    What modifications do I need to make to enter LPDS using the System Counter, and how can I wake up using the System Counter? I have referred to the example code—what specific code should I port, and what changes should I make in the entry hook and resume hook functions?

    Additionally, should I select the "Enable Policy" option in the Power System settings within the SysConfig file?

    Looking forward to your guidance.

    Thanks & Regards,
    Amara Rakesh

  • Hello Sharan,


      can you help me from this.

    Regards,

    Rakesh A

  • Hi,

    I'm checking this internally, allow me some time to get back.

    Regards

  • Any update Sharan ?

  • Hello Sharan,

    My team has been waiting for your response. Any updates?