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: TDA4VM SPI data sending failed

Part Number: TDA4VM

The SDK version I am using is 07_03_00_29. When I'm using SPI, there are two problems:

1、I configured SPI0, SPI1, and SPI2 in the MAIN domain as interrupt transceiver mode, but when sending a 52-byte data packet, the sending failed, only 32 bytes were sent, (SPI configuration: SPI frame format is 8 bits, rxTrigLvl/ txTrigLvl has a size of 32)。Can you tell me how to solve this problem?

2、When I configure SPI0, SPI1, and SPI2 of the MAIN domain as DMA callback mode, I find that the DMA cached array will be delayed. When the callback function is triggered, the data I read from the DMA cached array sometimes has a packet received data. How to solve this delay problem?

Send:
[MCU2_1] 14.943093 s: SPI0: size:8 80 2f ff ff ff ff ff ff
[MCU2_1] 14.943287 s: SPI1: size:8 80 2f ff ff ff ff ff ff
[MCU2_1] 14.943448 s: SPI2: size:8 80 2f ff ff ff ff ff ff
Receive:
[MCU2_1] 14.944065 s: addr:a45fb400 SPI0: size:8 0 0 0 0 0 0 0 0
[MCU2_1] 14.944178 s: addr:a45fb900 SPI1: size:8 0 0 0 0 0 0 0 0
[MCU2_1] 14.944280 s: addr:a45fbe00 SPI2: size:8 0 0 80 2f 0 0 f3 f
Send:
[MCU2_1] 14.949071 s: SPI0: size:8 81 81 ff ff ff ff ff ff
[MCU2_1] 14.949259 s: SPI1: size:8 81 81 ff ff ff ff ff ff
[MCU2_1] 14.949425 s: SPI2: size:8 81 81 ff ff ff ff ff ff
Receive:
[MCU2_1] 14.950070 s: addr:a45fb400 SPI0: size:8 0 0 80 2f 0 0 f3 f
[MCU2_1] 14.950186 s: addr:a45fb900 SPI1: size:8 0 0 80 2f 0 0 f3 f
[MCU2_1] 14.950291 s: addr:a45fbe00 SPI2: size:8 0 0 81 81 0 8 a2 2e
Send:
[MCU2_1] 14.952167 s: SPI0: size:8 c1 81 0 19 ce a2 ff ff
[MCU2_1] 14.952359 s: SPI1: size:8 c1 81 0 19 ce a2 ff ff
[MCU2_1] 14.952522 s: SPI2: size:8 c1 81 0 19 ce a2 ff ff
Receive:
[MCU2_1] 14.953068 s: addr:a45fb400 SPI0: size:8 0 0 81 81 0 8 a2 2e
[MCU2_1] 14.953185 s: addr:a45fb900 SPI1: size:8 0 0 81 81 0 8 a2 2e
[MCU2_1] 14.953286 s: addr:a45fbe00 SPI2: size:8 0 0 c1 81 0 19 ce a2