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.

IWR1443BOOST: Level Sensing Demo: No output from MSP432 Eval kit on Serial Terminal (Putty/Teraterm)

Part Number: IWR1443BOOST
Other Parts Discussed in Thread: IWR1443, UNIFLASH, , MMWAVE-SDK

Hi,

I am using level sensing demo software supplied from below link.

www.ti.com/.../tidcde2

Hardware modification:

I have implemented below modification to IWR1443 eval kit.

Zero ohm added on R102, R9 and R164.

No HW modification had been done on MSP432 eval kit.

Software

1. I flashed below bin file to IWR1443 using Uniflash 5.0.0.2289

TI\tidcde2c\level_sense_demo\iwr1443\Debug\ level_sense_demo.bin

Output of successful flashing

[6/3/2019, 3:43:52 PM] [INFO] Cortex_R4_0: Initialization complete.

[6/3/2019, 3:43:52 PM] [INFO] Cortex_R4_0: Flashing process starting...

[6/3/2019, 3:43:52 PM] [INFO] Cortex_R4_0: Connecting to COM Port COM10...

[6/3/2019, 3:43:52 PM] [INFO] Cortex_R4_0: Reset connection to device

[6/3/2019, 3:43:52 PM] [INFO] Cortex_R4_0: Set break signal

[6/3/2019, 3:43:52 PM] [INFO] Cortex_R4_0: Connection to COM port succeeded. Flashing can proceed.

[6/3/2019, 3:43:52 PM] [INFO] Cortex_R4_0: Reading device version info...

[6/3/2019, 3:43:52 PM] [INFO] Cortex_R4_0: ** 1 files specified for flashing.

[6/3/2019, 3:43:52 PM] [INFO] Cortex_R4_0: Checking file /TI/tidcde2c/level_sense_demo/iwr1443/Debug/level_sense_demo.bin for correct header for IWR1443.

[6/3/2019, 3:43:52 PM] [INFO] Cortex_R4_0: IWR1443 device, fileType=META_IMAGE2 detected -> OK

[6/3/2019, 3:43:52 PM] [INFO] Cortex_R4_0: !! Files are valid for IWR1443.

[6/3/2019, 3:43:52 PM] [INFO] Cortex_R4_0: Format on download was specified. Formatting SFLASH storage...

[6/3/2019, 3:43:52 PM] [INFO] Cortex_R4_0: -->Erasing storage [SFLASH]

[6/3/2019, 3:43:52 PM] [INFO] Cortex_R4_0: -->Sending Erase command to device...

[6/3/2019, 3:44:05 PM] [SUCCESS] Cortex_R4_0: -->Erase storage completed successfully!

[6/3/2019, 3:44:05 PM] [INFO] Cortex_R4_0: Downloading [META_IMAGE2] size [92612]

[6/3/2019, 3:44:16 PM] [INFO] Cortex_R4_0: SUCCESS!! File type META_IMAGE2 downloaded successfully to SFLASH.

[6/3/2019, 3:44:16 PM] [INFO] Cortex_R4_0: Disconnecting from device on COM port COM10...

[6/3/2019, 3:44:16 PM] [INFO] Cortex_R4_0: Flashing instance clean-up initiated...

[6/3/2019, 3:44:16 PM] [INFO] Cortex_R4_0: Instance deinitialized!

[6/3/2019, 3:44:16 PM] [SUCCESS] Program Load completed successfully.

2.loaded below software on MSP432 EVAL kit using CCS9.0.1

TI\tidcde2c\level_sense_demo\msp432\Debug\ msp_level_sense_demo.out

3. After flashing I see below output on Putty from MSP432 eval kit

PGood Check Passed

MSP432: I2C Initialized!

MSP432: Wait for power good....

4. Now I remove SOP2 jumper from IWR1443 eval kit, Plug IWR1443 eval kit on top MSP432 eval kit, double checked connector mating to ensure boards are mated correctly. 

5. Plug USB to MSP432 eval kit: I dont see any output on Putty/Teraterm, Supplied 5V power (Round black connector) to IWR1443 eval kit, still I dont get see any output on serial terminal.

Am I missing any HW modification on either IWR1443 or MSP432 eval kit?

OR software supplied in below link isnt functional ? Can you supply working binaries to rule it out from equation?

Thanks

Mahendra

  • Hi Mahendra,

    1. As a first sanity check, could you try running the SDK out of box demo on your modified IWR1443BOOST board to ensure that it is functional? Please refer to the mmWave-SDK 2.1 user guide on how to flash and run the SDK demo using mmWave Demo Visualizer.

    2. Assuming that you've confirmed that the mmWave EVM is functional, at step 3 in your output sequence above, do you get output only up to "MSP432: Wait for power good" as you listed above? Do you not see the next 2 messages i.e. "MSP432: Power good" and "MSP432: Ready" message as shown in the Level sense design user guide (section 5.1)?

    From the MSP432 code in main_thread.c given below, the MSP waits on receiving an ACK word on the I2C interface and prints the Power good and Ready message. Not getting these output messages could point towards a connection/mating issue between the MSP432 board and the IWR1443BOOST board.

        do{
    
               uart_send_string("MSP432: Wait for power good....", UART_LF);
               usleep(1000);
               I2C_transfer(i2c, &i2cTransaction);
               usleep(1000);
    
    
           } while(rxBuffer[0] != 0xcc);
    
        uart_send_string("MSP432: Power good!", UART_LF);
        uart_send_string("MSP432: Ready!", UART_LF);

    Regards

    -Nitin

  • Hi Nitin

    I think IWR1443 eval kit is fine as I get correct distance in debug mode \TI\tidcde2c\level_sense_demo\iwr1443\Debug\level_sense_demo.xer4f.

    I do not get "MSP432: Power good" and "MSP432: Ready" message which means some interface issue between MSP432 and IWR1443. Board is mated correctly, so I dont expect any physical connection issue.

    I measured voltage at R74 and R102, both are at 2.5V, I am suspecting likely MSP432 board is not fully functional. I have ordered new MSP432 eval kit to rule out this factor.

    I can probe I2C interface on Monday to check any activity on the link.

    Has below image been tested on eval kits before?

    TI\tidcde2c\level_sense_demo\msp432\Debug\ msp_level_sense_demo.out

    Thanks

    Mahendra

  • Hi Mahendra,

    This has been tested on eval kits before so the problem might be your board. It actually might be on your IWR1443BOOST.

    Can you confirm you've made the hardware modifications in the Getting Started Guide or outline which modifications you have or have not made?

    If you have not changed the PMIC to the PMIC J variant, then you can try commenting out the #define PMIC_TYPE_J in the demmo_common.h file in the msp folder and then rebuilding BOTH the IWR (.bin) and MSP (.out) binaries.

    Let me know on both of these and we can continue the discussion.

    Cheers,

    Akash

  • Hi Akash

    I havent modified board to PMIC J version as it was not marked as mandatory change.

    I tried compiling demo images, I could generate image for IWR1443, However getting below  and some other errors for MSP432.

    "../main.c", line 55: fatal error #1965: cannot open source file "pthread.h"

    Could you generate files for me and send it across so that we could check on this hypothesis?

    Thanks

    Mahendra

  • Hi Mahendra,

    I am not seeing this issue.

    Can you confirm you are using the MSP432 SimpleLink SDK Version 1.40? Newer versions will not work.

    You should delete newer versions of the MSP432 Simple Link SDK. You should also completely delete the projects from your CCS project workspace and re-import and rebuild.

    Let me know if you are still having issues.

    Cheers,

    Akash

  • Hi Akash

    I changed to old SDK MSP432 SimpleLink SDK Version 1.40,  I see some garbage print on Putty terminal after power is applied to IWR1443 eval kit (5V through round black connector)

    IW▒

    IW▒
    IW▒
    IW▒
    IW▒
    IW▒
    IW▒
    IW▒
    IW▒
    IW▒
    IW▒
    IW▒
    IW▒
    IW▒
    IW▒
    IW▒
    IW▒
    IW▒
    IW▒
    IW▒
    IW▒
    IW▒
    IW▒
    IW▒
    IW▒

    Regards

    Mahendra

  • Hi Akash

    I bought new MSP432 eval kit and also tried with it. Below is what I get on serial terminal and keeps scrolling with the same print

    I see below print on putty terminal.

    IWR1443 Level Sensing Demo:

    Avail▒
    IWR1443 Level Sensing Demo:

    Avail▒
    IWR1443 Level Sensing Demo:

    Avail▒
    IWR1443 Level Sensing Demo:

    Avail▒
    IWR1443 Level Sensing Demo:

    Avail▒
    IWR1443 Level Sensing Demo:

    Avail▒
    IWR1443 Level Sensing Demo:

    Avail▒
    IWR1443 Level Sensing Demo:

  • Hi Mahendra,

    So it appears the next step would be to run the demo in debug mode and step through the code to find out where the code is hanging. This is discussed in the Getting Started Guide on page 40. Make sure you have flashed the board with the ccs_debug firmware first.

    Let me know if you have more questions.

    Cheers,

    Akash