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.

TDA4VH-Q1: Use SPI on MCU2_0

Part Number: TDA4VH-Q1
Other Parts Discussed in Thread: SYSCONFIG

HI, All

My SDK version:

        linux:  ti-processor-sdk-linux-adas-j784s4-evm-09_01_00_06 

        rtos:  ti-processor-sdk-rtos-j784s4-evm-09_01_00_06

1. I found three spi examples of MCU domain in the SPI driver code(SPI_soc.c) of rtos sdk, but only two groups of SPI can be configured in the sysconfig tool.

How should they correspond here?

2. My configuration is as follows:

pinmux config:

 

code:

Does this configuration correspond correctly?

3.  After calling SPI_open interface successfully, I called SPI_transfer next.

The external chip sends messages to me at intervals of 200ms.

I call the SPI_transfer interface at intervals of 100ms, but the registered SPI_callback function is not called.

Then I find that I call the SPI_transferCancel interface after the SPI_transfer call, at which point the SPI_callback function is called, but transaction.rxBuf has no valid data.

Am I using SPI correctly?

Thanks.