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.
HI:
We encountered the following problems debugging the mcspi driver using the MCUSW_01_03_03_02_CONFIG version:
1. We are 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 found that the data we sent is not the data we need, so we want to ask how to edit driver
2. We want to modify to (single, Async mode), but tried to modify the configuration, and according to the demo call spi driver failed, want to consult how to configure MCAL
3. We hope 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?
Thank you!
Hi,
We've got the issue and escalated to E2E for more help as the link below, please expect the response:
e2e.ti.com/.../tda4vm-mcusw-mcspi-driver-can-not-transfer-long-data
Hi,
1. We are 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 found that the data we sent is not the data we need, so we want to ask how to edit driver
Can you share the command you are sending here? Is the data completely wrong, or is some correct? Is there activity in the waveform?
2. We want to modify to (single, Async mode), but tried to modify the configuration, and according to the demo call spi driver failed, want to consult how to configure MCAL
Can you share the configuration you made to do this? We see that it is currently supported, the expert can try on his side and check on EVM.
3. We hope 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: