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.

IWR6843AOP: Outputing data via UART

Part Number: IWR6843AOP
Other Parts Discussed in Thread: MMWAVEICBOOST,

I am trying to send the demo code UART output packet to an external micro processor's RX pin.  Is there a recommended way to do this? We have attempted using a USB to TTL converter (taking the USB cable from the IWR into the converter) and we have also tried mounting the IWR board to the Boost and then accessing the UART TX pin on J5.  Both methods seem to not be working at this point.

  • Hello,

    Please take a look at this thread and see if this helps you with outputting data via UART. 

    https://e2e.ti.com/support/sensors-group/sensors/f/sensors-forum/1110314/iwr6843aopevm-uart-integration-and-other-communication-protocols

    Regards,

    Pedrhom Nafisi

  • Hello Pedrhom,

    It appears from the thread you linked above that RS232_RX and RS232_TX on the MMWAVEICBOOST with the IWR6843AOP mounted only relate to the 115200 data, and that the 'MSS_Logger' pin will contain the TX of the output data, with no RX, at 921600 baud. So if I understand correctly I would simply want to wire the " MSS_Logger" pin to the RX of my external processor, correct? Will the data coming from this pin be UART? I ask because in the table referenced in the link you sent it says " MSS_Logger" is LVDS_0M.

    Thank you

  • Hello Dan,

    Yes your understanding is correct. You would simply wire pin 18 which is MSS_Logger to the RX of your external processor and the incoming data is UART. LVDS_0M is pin 48 and unrelated, but I understand how the table format could lead you to wanting clarification.

    Best Regards,

    Pedrhom Nafisi

  • Thank you very much this reply was very helpful. We plan to access this pin through the boost, but we also need to be able to configure the board via the RS232 usb port. I believe the muxing scheme we want is the one on the right (40-pin) in order to have the uart data passed to the 40 pin connector. However, we have noticed this muxing scheme turns S1.5 off (so that you cannot use the usb to configure the radar). I want to make sure that it is okay to use the muxing scheme shown on the right (40-pin) with the sole change of turning S1.5 ON instead of OFF. Thank you again!

  • Hello Dan,

    Unfortunately I do not think you can use the 40-pin without S1.5 being set to off. This is because when set to on, the configuration the usage is set to the XDS110 which is the UART based QSPI flash programming and not the 40-pin connector.

    Best Regards,

    Pedrhom Nafisi

  • Is it possible to configure the board in standalone mode and then switch the mux switches to 40 pin mode (leaving power on to the boards) to effectively configure the board and switch to 40 pin mode without losing the configuration?

  • Hello,

    I have not tested this but I believe it would work, but if you do go with this path, note you most likely would also need to disable the UART in SW in order to free up the serial interface. I can assure you though that from a hardware perspective, changing those switches while leaving power on does change functionality.

    Best Regards,

    Pedrhom Nafisi

  • Is there a method that would be the intended way to send configuration to the radar when operating in 40 pin mode?

  • Hi,

    My apologies, there may have been some confusion here internally which is my fault. To be clear, you are looking to take just the Data Port and take it to the 40Pin connector but leave the CLI port (TX and RX) via the UART-USB on the MMWAVEICBOOST? 

    If you want all 3 via 40 Pin:

    Switches needed on AOP: 

    • S1.1 ON
    • S1.2 ON

    Switches needed on MMWAVEICBOST:

    • S1.2 ON
    • S1.3 OFF
    • S1.5 OFF
    • S1.7 OFF
    • S1.8 ON


    CLI TX: J5 Pin 5
    CLI RX: J5 Pin 7

    Data TX: J6 Pin 9


    CLI Port via XDS110 on MMWAVEICBOST with Data line on 40PIN:

    Switches needed on AOP: 

    • S1.1 ON
    • S1.2 ON

    Switches needed on mmWaveICBOST:

    • S1.2 ON
    • S1.3 OFF
    • S1.5 OFF

    Data TX: J6 Pin 9

    Final thoughts

    At the end off the day, the diagrams/images/tables you both have been sharing are for basic configurations (such as everything to XDS110, everything to 40pin, everything to FTDI). If you want to do more advanced configurations than these, the best method is typically to look at the schematics for the MMWAVEICBOOST and the EVM that you are using, and trace the signals backwards to determine what configuration is needed. 

    Best Regards,
    Alec