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.

IWR1642BOOST: VitalSignDemo- Which function send VitalStats from MSS to MATLAB UART Device

Part Number: IWR1642BOOST
Other Parts Discussed in Thread: AWR1642

Hi,

I am trying to modify the values which are being sent to the computer via UART. I believe following function is responsible to send VitalStats to the computer via UART 1

static void MmwDemo_mboxReadTask(UArg arg0, UArg arg1)

But could not find VitalStats structure definition

VitalSignsDemo_OutputStats

inside this function.

Can anyone help me to understand, how it is sending the vital data?

  • Hi Laxmi,

    I've asked a team member to look into this and someone should have an answer for you in the next few days.


    Cheers,
    Akash
  • Thanks for getting back to me. Half of this problem is solved.

    Yes, this sends final data via UART.
    static void MmwDemo_mboxReadTask(UArg arg0, UArg arg1)

    But still, I am looking to get VitalSignsDemo_OutputStats Data Structure.
  • Hello Laxmi,
    Flow of data in this demo are as followed-

    dss_main.c: After a full frame processing->MmwDemo_dssSendProcessOutputToMSS (to send object/output data to MSS over HSRAM and send message over Mailbox about HSRAM address and type of this message).

    At MSS core:
    mss_main.c: MmwDemo_mboxReadTask (mailbox read task which is interrupt at every mailbox message from DSS, here it reads the message and sends out data from HSRAM to UART).

    This is typical control flow of data communication b/w cores and outside to device, this flow is mostly same across all the application we have for AWR1642.
    And any kind of application specific data structure would be defined under **_target\common directory of any TI-Rex application. In this demo it's (VitalSignsDemo_OutputStats) defined in common\mmw_output.h.


    Regards,
    Jitendra
  • Thanks Jitendra. Do you know how can I define default UART pin to external UART Pin. Kindly, share the pin diagram and code snippet too. Thanks
  • Hi,
    UART selection and pinmux are done by the MSS in this application.
    Please look into mss_main.c: MmwDemo_mssInitTask, where
    UART_open(0: is command UART [application/UART COM port of EVM]
    UART_open(1: is logging UART [Auxiliaray COM port of EVM].

    And for pin digram please look for xWR1642BOOST EVM datasheet. These two UARTs are available on XDS110 emulator where command UART is names as RS232 Rx/Tx and other UART as MSS_LOGGER.
    www.ti.com/.../swru508b.pdf

    For further info I would recommend you to go over document/source of the application.

    Regards,
    Jitendra
  • Thanks Jitendra. I have placed R135 and now I am getting UART signal at J5-Pin13 (BSS_Logger) in my scope but I still I am not getting signal at J5-PIN9 (MSS_Logger). I have two question
    1. Is BSS_Logger signal is same as MSS_Logger?
    2. Where can I find R26 on the board? I tried but could not find. I think that is neccessary to get signal at Pin13.
  •  Hello Laxmi,

    The BSS_logger is different. The pin Jiten was referring to was MSS_Logger.

    The R26 is location is marked in the below image (circled in blue). Its near the 60pin connector of the EVM.

    Regards,

    Vivek