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.

IWR6843AOP: SPI Usage

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

Hi,

I'm trying to use SPIA and noticed the MISO data doesn't match a bus capture.  How does the SPI API know which SPI(A/B) peripheral I want to use?  I have to run in 3PIN mode.

Regards,

-Mike

  • Hi Mike

    The SPI_Open() function uses an 'index' input parameter where this is specified. An example of this is in the spi driver test code which is in your mmwave-SDK folder at the following location:

    C:\ti\mmwave_sdk_03_05_00_04\packages\ti\drivers\spi\test\common\test_common.c

    The function Test_spiAPI_twoInstance() in line 1624 shows the inputs for leveraging two separate SPI instances.

    Regards,

    AG