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.

CCS/IWR6843ISK: Config commands via UART

Anonymous
Anonymous
Part Number: IWR6843ISK
Other Parts Discussed in Thread: IWR6843, MMWAVEICBOOST

Tool/software: Code Composer Studio

Hi,

We are using an IWR6843 mmWave sensor with an MSP432E. We are having issues when sending the configuration commands via UART. The function that is being called is:

    for (command_index = 0; command_index<sizeof(CommandList)/sizeof(CommandList[0]); command_index++)
    {
        // Send command to mmwave
        UART_write(mmwaveUartHandle, CommandList[command_index], strlen(CommandList[command_index]));

        // Wait before sending next command
        Task_sleep(MMWAVE_COMMAND_DELAY / Clock_tickPeriod); ...

where CommandList contains all config commands and ends with a /sensorStart.

We see all UARTs being brought up and the scope shows the command being sent to the IWR6843. Surprinsingly, the response from the IWR6843 is a delayed version of it.

  • What response shall we expect from the mmWave sensor? We are flashing the pre-built binary file from the 68xx people count demo (industrial toolbox SDK v.4.0.1). 
  • Althoug we send the /sensorStart command, no data is seen on the MSS_LOGGER pin. We see it being 3V3 but no actual data. Shall we power cycle the sensor prior to sending de commands (press SW2 of the MMWAVEICBOOST carrier board)?
  • We have the option of sending byte-wise the commands and the parameters. Shall it be done this way instead?

Thanks for your help.

Best regards,

Mario

  • Adding the following:

    The GUI MATLAB src code shows we are waiting an echo and a "Done":

        for k=1:length(cliCfg)
            fprintf(hControlSerialPort, cliCfg{k});
            fprintf('%s\n', cliCfg{k});
            echo = fgetl(hControlSerialPort); % Get an echo of a command
            done = fgetl(hControlSerialPort); % Get "Done" 
            prompt = fread(hControlSerialPort, size(mmwDemoCliPrompt,2)); % Get the prompt back 
        end

    Where is that implemented in the MSS code? We are still not able to see the "Done" command back, only the exact same command being echoed.

    Hope this helps.

    Best regards,

    Mario

  • Mario,

    You should get "Done" or error message response for the config command

    Are you able to get it working with matlab script with UART connected to host PC. Just wanted to make sure if the binary image is good.

    Thanks

    Yogesh

  • Anonymous
    0 Anonymous in reply to Yogesh Siraswar

    Hi Yogesh,

    Yes, this in aligment with MATLAB code provided. We realized also that we were employing a binary file for ES2.0 devices (latest SDK) which is not the case. Using a previous version of it fixed this.

    At some point we saw the response "Done" from the radar chip. However, we get now a very slow XDS110 debug probing (commands are sent byte-wise and very largely spaced in time). We're investigating now this.

    I will mark this as resolved anyway.

    Thanks for your support.

    Best regards,

    Mario