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.

IWRL6432BOOST: Send Config file/Parameter via SPI

Part Number: IWRL6432BOOST
Other Parts Discussed in Thread: MMWAVE-L-SDK

Tool/software:

Hallo TI-Experte,

Regarding my last enquiry about: sending configuration data via SPI instead of UART.

I was advised to create a task and constantly wait for upcoming information via spi.

Currently I have seen the code in the mmw_cli.c file where configurations are sent via UART. There is a cli_task(): which starts the function CLI_readLine(gCLI.cfg.UartHandle, (char *)&cmdString[0], READ_LINE_BUFSIZE); and then receives the parameters.

In principle, can I comment the implementation of the UART in this file and implement MCSPI? Can I even make such a change in just this file without disturbing the whole system?

Can you advise me on the best way to do this? How exactly should I proceed to make configuration via MCSPI?

I would appreciate your positive feedback.

Kind regards,

Ronnel

  • Hello Ronnel.

    This is definitely an acceptable way to do it.  As I mentioned in an earlier post, you can create a SPI transaction to receive SPI commands, which in this case would be the CLI commands in a formatted packet.  In the CLI_readLine, you would instead parse the SPI packet instead of the UART packet for the contents of the CLI command and then run the appropriate function.

    To understand how to setup a SPI transaction, you can refer to the SPI driver examples in the MMWAVE-L-SDK.

    Sincerely,

    Santosh