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.

TDA4VM: TDA4-VH MCU SPI1 MISO COMMUNICATION ERROR

Part Number: TDA4VM

HI:

When we debug the mcu spi1 of tda4-vh, we find that tda4 cannot read the miso signal, and the value of the mcspi_rx register of mcu spi1 is 0. But it is normal to measure the MISO signal with an oscilloscope.

We are using the spi driver code of sdk8.2 pdklimian. In addition, we use the main spi5 to communicate normally, and we can successfully read the signal value of MISO.

The same driver code we used in the cross-validation of mcu spi1 and main spi5 includes slave device configuration, but the configuration base address and interrupt number of spi are different, but we use polling mode.

Let us use the results of cross-validation of mcu spi1 and main spi5 below:

(1)mcu spi1 configuration and test result

      

But we read the value of the 0x4031013c register as 0.

(2)main spi5 configuration and test result