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.

TMS570LS3137: SPI production error code reporting - Autosar MCAL

Part Number: TMS570LS3137


Hi,

We are using AUTOSAR MCAL 05.40.00 in our project. As per SPI user guide, we have observed that the SPI drivers can support the following errors.

But along with error type, we are also expecting the SPI channel number and Job/Sequence which has raised this fault. Based on this information, we will be performing some actions in the software.

Could you please let us know how can we get SPI channel and sequence which has raised the following faults?

  • Hello,

    The IOLPBKTSTCR register contains controls bits to induce error conditions into the module. This feature is used only for module test. All of the control/status bits in this register are valid only when the IOLPBKTSTENA field is set to Ah.

  • Hello,

    I understood that IOLPBKTSTCR can be used to inject errors in specific chip select pins.

    My question is different. I want to read the channel number and the SPI sequence which has gone faulty.

    I had a look into the MCAL driver file Spi_Dlc.c. In the function, Spi_DlcError(), different SPI faults are reported to Dem module. But there is no interface available for the application to know in which SPI channel and in which sequence the fault has happened. Please let me know if any interface is available from MCAL driver to read this information.