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: mcusw MCSPI driver can not transfer long data

Part Number: TDA4VM

Hi team,

Here's an issue from the customer may need your help:

The customer encountered the following problems debugging the mcspi driver using the MCUSW_01_03_03_02_CONFIG version:
1. currently using the default configuration mode (continue, sync mode), calling mcal's mcspi0 to send and read and write short data(likes read and peripheral register) is successful, but sending long data(over 16 bytes command data), through the waveform it's found that the data be sent is not the data needed, so they would like to know how to edit driver
2. they want to modify to single/Async mode, but tried to modify the configuration, and according to the demo call spi driver failed, how to configure MCAL
3. they 're going to add the DMA module in the future, but there is no way to configure it at present, do you have any relevant solutions or demos to help us solve it?

Thanks.

Best Regards,

Cherry

  • Hello Cherry,

    1. currently using the default configuration mode (continue, sync mode), calling mcal's mcspi0 to send and read and write short data(likes read and peripheral register) is successful, but sending long data(over 16 bytes command data), through the waveform it's found that the data be sent is not the data needed, so they would like to know how to edit driver

    Can you share the command they are sending here? Is the data completely wrong, or is some correct? Is there activity in the waveform?

    2. they want to modify to single/Async mode, but tried to modify the configuration, and according to the demo call spi driver failed, how to configure MCAL

    Can you  share the configuration they made to do this? I see that it is currently supported, I can try on my side and check on my EVM.

    3. they 're going to add the DMA module in the future, but there is no way to configure it at present, do you have any relevant solutions or demos to help us solve it?

    The DMA module is supported, you can see it here in the SPI User Guide:

    https://software-dl.ti.com/jacinto7/esd/processor-sdk-rtos-jacinto7/08_00_00_12/exports/docs/mcusw/mcal_drv/docs/drv_docs/ug_spi_top.html

    Regards,

    Erick