Part Number: TDA2HV
We are working on ADAS TDA2x SOC. We configured the TDA2x's SPI0 in the slave mode.We get the data on the MOSI line.But when we transmitted the data on the MISO line of TDA2x soc the data left shifted data by the one on the master side.So, for correcting this we tried the SPI's mode(0,1,2,3)But we cant get the effect in the MISO line and we cant see the effect on the CRO.
we are changing in the " mcspiPrms.spiHWCfgData.configChfmt.clockMode = MCSPI_MODE2; "parameter in the code.But it cannot be reflected in the CRO
1) Does above change is reflected in the code for changing the SPI mode?
2) Do we change the correct parameter for SPI mode?
Please suggest us the possible solution to resolve this.
Did you also change the mode on the master side? Can you please post a scope screen snapshot or draw the waveform and highlight the issue?
In reply to Stanislav Stilyanov:
We can not able to change on the master side SPI Mode.I am sending the 112 on the MISO line.
My actual issue is posted on below link e2e link.
For resolving this I am changing the SPI mode on the slave side(TDA2x Soc ).But it not affected in output. I have attached different SPI modes DSO screenshots for your information.
Please let me know if you need more information on our side.
In reply to parth Modi:
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.