Hi,
Can anyone provide the detailed document for Analog(/Digital) Loopback test for MibSPI (TMS570).
Thanks&Regards,
Avinash K
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 Avinash,
Please refer to 'Test Features' section under MIBSPI category in the TRM. Also, if you are using Halcogen, you can find examples of drivers to enable/disable digital/analog loopback in the mibspiEnableLoopback function.
Regards,
Praveen
Hi Praveen,
Thanks for suggesting about HALCOGEN tool.
Could you please help me get more elaborated idea about loop back test, e.g. can I induce all error at a time or I have to induce one by one, what should be the wait time to verify that error got induced etc.
Do you have any example code for that.
Thanks
Avinash
Hi,
An example code is available in example. (mibSpiDma.c) Loop back test is used in this example. You can look.
Hello Avinash,
Can you please elaborate on what kind of errors you are planning to induce? and how is it related to the loopback?
If you are looking for examples of loopback test, you can refer to the example pointed by Hans in the thread above
Regards,
Praveen
Hello Praveen/Hans,
Thanks for reply...
Here I would like to perform I/O Loopback Test ,particularly for Analog through Tx and Rx pin.
Need to Self Test the MibSPI module by Inducing Errors such as BITERR, DESYNC, PARERR, TIMEOUT, DLENERR and ERR_SCS_PIN. (Induce using IOLPBKTSTCR register)
My query is, can I induce all errors at a time or I have to induce one by one, what should be the wait time to verify that error got induced.
Regards,
Avinash
Hi ,
I have successfully implemented I/O Loopback test for Analog through TX pin and
verified the below cases,
1. Checking the Loopback Connection through the Transmit Data and Receive data (TX data == RX data).
2. Inducing ChipSelect Errors one at a time and verifying the corresponding Flag.
3. Inducing Errors such as DE-SYNC Error, Data Length Error and Timeout Error, BIT Error & Parity Error and verifying the corresponding Flags,
Note: For DE-SYNC Error,Data Length Error and Timeout Error to occur nENA pin should be functional.
Thanks for support....
Regards,
Avinash K