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.

MMWAVE-SDK: Communication settings between each device

Part Number: MMWAVE-SDK
Other Parts Discussed in Thread: AWR1843

Communication settings between each device

Hello, which file in the SDK should I edit when connecting the AWR1843 to each component?

ex) For I2C, edit I2C_Control etc.
In my case, I am connected to each device using the following communication formats.

I2C: LP873347RHDT
QSPI: MX25V1635FZNI
SPI: MAX4780ETE +
UART: TM4C129ENCZADT3

Also, are the above devices supported by mmWave_SDK?

  • Hi,

    Each of this peripheral has an associated driver in the mmWave SDK.

    Please see

    C:\ti\mmwave_sdk_03_05_00_04\packages\ti\drivers

    Each driver includes a unit test that can be used to understand how to use the driver.

    For I2C, SPI, UART, there interface is standard and the devices mentioned should be supported.

    For the Flash, the type of Flash must be supported in the bootloader.

    The Flash variants supported by the bootloader are documented in this application note:

    https://www.ti.com/lit/an/sprach9c/sprach9c.pdf

    Thank you

    Cesar

  • Hi, thank you for your reply.

    First of all, you need to match the device addresses of each peripheral device, right?

  • Hi,

    In the mmWave SDK demo the UART is used to communicate with PC Host. This gives an example how the UART driver is being used.

    The other drivers are used in similar way. The unit tests provide examples

    thank you

    Cesar

  • Hello, thank you for your reply.

    Is the init test you're talking about C: \ ti \ mmwave_sdk_03_05_00_04 \ packages \ ti \ drivers \ uart \ test \ xwr18xx?

  • Yes, this is the unit test.

    For uart, you also have the example of the mmWave SDK demo

    C:\ti\mmwave_sdk_03_05_00_04\packages\ti\demo\xwr18xx\mmw\mss\mss_main.c. See the uart related APIs: UART_open()..  UART_Params_init()..

    Notice that the default UART configs used are defined in the UART driver.

    mmwave_sdk_03_05_00_04\packages\ti\drivers\uart\platform\uart_xwr18xx.c

    The application will only overwrite what is needed.

    Thank you

    Cesar