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.

AWR1642BOOST: AWR1642BOOST

Part Number: AWR1642BOOST
Other Parts Discussed in Thread: AWR1642,

Hello,

we are trying to send the data from AWR1642 boster board over the RS232 port. We have seen that we have J6 Connector, Pin 5 & Pin 7 which is used for COM Port. , we used this pin to send the Data to another PC from the AWRBoster board. we are not able to get the data using this Port.

We are sucessfully able to get the data if we use USB cable ( emulated Command Port, DataPort ) . But we dont want to use this.

Can you please suggest how to send the data to another PC serial port using AWR1642 Boater Pack.

we also tried using the pin 9 of J5 Connector(AR_MSS_Logger ) , still we did not get the output.

appreciate your quick response

Regards,

Rajesh

  • Hi Rajesh,
    By default RS232 Rx/Tx lines are not connected to J6 header pins. For that you need to solder zero ohm resisters to R166, R169.
    Please refer assembly and schematic file to locate the resister on the board.
    Download from here: www.ti.com/.../sprr251


    Regards,
    Jitendra
  • Hello Jitendra,

    Since we wanted to take the data out from the AWR1642boster board to PC. As you mentioned we have soldered the ohm on the R169 ( which is Tx  ). The picture is attached below.

    now we have seen that we have received the data , but that data is not matching with what we receive from USB ( data Port ) .

    for example : we send the number 0 to 9 from our program  over RS232. we receive properly as 0 to 9 using USB Cable ( USER UART PORT). 

    Now we  receive the data from J6 pin number  5, we see different data all together. we are not able to correlate. The data received  0 127, 191, 247,245,243,241,239,237,255  , this is actually corresponding to  0  to 9 .

    Is there any issue still happening in hardware. I believe it is the same port which is used by USER URAT PORT

    Regards,

    Rajesh

  •  Please find the attached pic of the board after adding 0ohm 

  • How are you connecting those two lines (RS232 Rx/Tx) to PC?
    As you may need to connect these lines to UART to USB emulator.
    I have tested connecting these lines to another device (MCU) and data was received at MCU as sent.

    Regards,
    Jitendra
  • Hello,

    we have connected the Rs232 tx line to "BafoCable ( RS232 to USB cable ) " . also attached sample code which we used to send number 0 to 9 

         /* Setup the default UART Parameters */

         UART_Params_init(&uartParams);

         uartParams.clockFrequency  = gMmwMssMCB.cfg.sysClockFrequency;

         uartParams.baudRate        = gMmwMssMCB.cfg.commandBaudRate;

         uartParams.isPinMuxDone    = 1U;

     

         uartParams.writeDataMode = UART_DATA_BINARY;

         uartParams.readDataMode = UART_DATA_BINARY;

     

         /* Open the UART Instance */

         gMmwMssMCB.commandUartHandle = UART_open(0, &uartParams);

         if (gMmwMssMCB.commandUartHandle == NULL)

         {

             System_printf("Error: MMWDemoMSS Unable to open the Command UART Instance\n");

             return;

         }

        while(1)

         {

                 test =  1;

                UART_writePolling (gMmwMssMCB.commandUartHandle,(unsigned

    char*)&test,1);

                //continue;

                test =  2;

               UART_writePolling (gMmwMssMCB.commandUartHandle,

                                        (unsigned char*)&test,

                                        1);

     

               test =  3;

              UART_writePolling (gMmwMssMCB.commandUartHandle,

                                       (unsigned char*)&test,

                                       1);

     

              test =  4;

             UART_writePolling (gMmwMssMCB.commandUartHandle,

                                      (unsigned char*)&test,

                                      1);

                 test =  5;

                UART_writePolling (gMmwMssMCB.commandUartHandle,

                                         (unsigned char*)&test,

                                         1);

                test =  6;

               UART_writePolling (gMmwMssMCB.commandUartHandle,

                                        (unsigned char*)&test,

                                        1);

               test =  7;

              UART_writePolling (gMmwMssMCB.commandUartHandle,

                                       (unsigned char*)&test,

                                       1);

              test =  8;

             UART_writePolling (gMmwMssMCB.commandUartHandle,

                                      (unsigned char*)&test,

                                      1);

             test =  9;

            UART_writePolling (gMmwMssMCB.commandUartHandle,

                                     (unsigned char*)&test,

                                     1);

     

     

               test =  0;

              UART_writePolling (gMmwMssMCB.commandUartHandle,

                                       (unsigned char*)&test,

                                       1);

                 //for(i = 0; i< 9000000000;i++);

                 System_printf("UART write\n");

               }

     

     

    Regards,

    Rajesh

    can you please let us know if that 0 ohm connection which we did is correct. 

  • Hi,

    While using J5/J6 header points for RS232 Rx/Tx and MSS_Logger on AWR1642BOOST, no code required in mmw demo /application as it is same UART pins but only routed on different hardware point on EVM.

    Attached are the snapshots with the marking of resisters for J6: RS232 Rx [resistor R166], J6: RS232 Tx [resistor R169], J5: MSS_LOGGER [resistor R26] to connect external MCU for both of UART connection from AWR1642 device.  Click images to zoom-in.

    You need to remove RS232 Rx/Tx from XDS110 (as marked R129, R128) as same line is being driven by XDS110 also for UART Rx to AWR1642.

    Regards,

    Jitendra