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.

IWR1443: Related to UART interface

Part Number: IWR1443
Other Parts Discussed in Thread: UNIFLASH

Hi,

I am using IWR!443 in one my designs.

I don't have 2 UART's to connect to my IWR1443 IC so i have used RS232_TX and RS232_RX signals to connect from my STM32 to IWR1443.

My Question :  Is it possible to send commands (sensor configuration) and receive the sensor data on same UART port?

When i am using Eval board i am seeing it is using 2 UART's for this purpose. Please let me know how i can configure single UART port for sending configuration and receive data to/from MCU.

Thanks,

Ramya

  • Hi Ramya,

    I've asked an expert to look into this and we should have an answer for you later this week.

     

    Cheers,

    Akash

  • Hello Ramya, 

        Currently it's not supported to send the command and receive the processed data on the same COM port. 

    You would need two separate COM ports for this. 

    Thanks and regards,

    CHETHAN KUMAR Y.B.

  • Hi,

    Can we hard code the configuration information in the IWR1443 Flash and at every power on and can we receive the information the single UART port which we connected from MCU to IWR1443.

    NOTE: I have used one UART to connect  to debug connector and also MCU. I am able to program the flash. Now i will hard code all the configuration information in the flash and i will disconnect UART port from debug connector.

    I will configure same UART port to 921600 baud rate. So at every power-on of IWR 1443 i will receive data from IWR to MCU..Is this possible?

    Thanks,

    Ramya

  • Hello Ramya,

    Hard-coding the configuration in QSPI flash should be possible and you could boot the mmWave front end from the fixed configuration in default functional mode (You may have to develop your own application for this). 

    Could you please elaborate bit more on : Which interface you are using for flashing the QSPI flash? How is the flashing interface (RS232 TX/RX) interface is controlled? Are you using XDS110/ Uniflash interface to flash the QSPI flash? 

    It would be good if you could show how interfaces are connected in pictorial diagram to understand better. 

    Thanks and regards,

    CHETHAN KUMAR Y.B. 

  • Hi Chetan,

    Please find the block diagram attached.

    Connecting UART to PC using debug connector of Radar PCb i am able to program SPI flash using uniflash.

    i will be able to control power to the radar board using GPIO of MCU. So when ever i want data i will power cycle the radar PCB.

    I will hard code the configuration into radar flash and i will disconnect from debug connector i will use same UART to connect to MCU to receive the data at every power cycle. Is this possible?

    Thanks,

    Ramya

  • Ramya,

    I guess you have boot strap for configuring boot modes, i.e. for flashing (Flashing mode) you would use the debug connector to separate board which has XDS110 and connected to PC, and when you connect the Radar board to MCU board boot mode would be different (Default functional mode). 

    With this for every time if you want to change the Radar configuration, you need to change your application and hard-code your values and connect it to PC framework and flash it to QSPI flash.

    Care need to be taken in your application code you must use the Pin muxing option to mux the UART1 signal to bring out processed data.In the default application framework MSS_LOGGER (R5 Ball) i.e. MSS_UART_TX sends out the processed data. In this application framework you may need to pin mux this signal on to the UART1 interface that you are using (i.e. Ball N6) as shown below. 

    Then this scheme should work. 

    Thanks and regards,

    CHETHAN KUMAR Y.B.

  • Hello Ramya,

    Does above explanation addresses your concern? 

    Thanks and regards,

    CHETHAN KUMAR Y.B.

  • Hi Chetan,

    I have connected the two UART's as per eval board in my PCB as well.

    one UART for configuration and one for receiving the data ( MSS logger pin is connected to UART RX of MCU using jumper).

    I am not able to receive any data on this signal. Please let me know what i am missing.

    Thanks,

    Ramya

  • Hello Ramya,

        There could be many reasons... 

    Which application you have flashed on the flash? Is there modification done for the demo application?

    Which SDK you are using for running the application?

    1) Configuration used for the settings the mmWave sensors need to be checked. Do you see any error when you configure?

    2) Other difference between the hardware (Both Schematic and Layout) configuration between EVM and custom board need to be checked. 

    3) Does the same configuration pass on the TI EVM?  

    4) Do you see NERROR signal being asserted (If this is asserted then it would indicate hardware problem on the board).

    Thanks and regards,

    CHETHAN KUMAR Y.B.

  • Hello Ramya,

            Were you able to make progress on this? 

    Thanks and regards,

    CHETHAN KUMAR Y.B.

  • Hi Chetan,

    I am now able to communicate with IWR1443 using MCU. I am getting data from IWR IC. Now i have new problem.

    I am having software issues regarding the version.

    I'm using IWR1443 ES3.0 device to measure the range.  I have taken 14xx_high_accuracy lab example in Industrial Toolbox v4.0.0. SDK : MMWAVE_SDK 03_02_01_02

    While rebuilding the project from Code Composer Studio I'm getting lot of errors.

    In  Industrial Toolbox v4.0.0 labs  they have given 14xx_high_accuracy will support the IWR1443 devices. (They didn't mentioned version. Means all versions, right?). but getting error while building.

    How to solve this?

    i need run 14xx_high_accuracy lab in IWR1443 ES3.0 . Plese help me in resolving this issue.

    Thanks,

    Ramya

  • Hello Ramya,

    Glad that you ware able to communicate with the IWR chip and able to get the data from the chip. 

    For the newer problem please raise a new thread, then right experts would be able to address the issue. 

    This also helps in future for customers searching for similar problem to refer to right thread to seek solutions. 

    Thanks and best regards,

    CHETHAN KUMAR Y.B.