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.

TMDSCNCD263: EthTrcv mandatory undefined APIs inside source code of Driver

Part Number: TMDSCNCD263

Hello Team,

In MCAL_AM263x_08.06.02.01 package for EthTrcv driver , we are getting compilation issue for below APIs

 FUNC(Std_ReturnType, ETHTRCV_CODE) EthTrcv_SetTransceiverWakeupMode(uint8 TrcvIdx,EthTrcv_WakeupModeType TrcvWakeupMode);

FUNC(Std_ReturnType, ETHTRCV_CODE) EthTrcv_GetTransceiverWakeupMode(uint8 TrcvIdx,EthTrcv_WakeupModeType* TrcvWakeupModePtr);

FUNC(Std_ReturnType, ETHTRCV_CODE) EthTrcv_GetPhySignalQuality(uint8 TrcvIdx,uint32* SignalQualityPtr);

FUNC(Std_ReturnType, ETHTRCV_CODE) EthTrcv_CheckWakeup(uint8 TrcvIdx);

Atleast Dummy Definition need to be provided if functionality is not supported.

Regards,

Pradeep R

  • Hi Pradeep,

    Created a internal ticket for this https://jira.itg.ti.com/browse/MCAL-12878

    Thanks

  • Hi Pradeep,

    In the  AUTOSAR 4.3.1 EthTrcv SWS specification, it is not clearly mentioned that EthTrcv_CheckWakeup Api to be available only under some macro.

    They have specified only below information.

    [SWS_EthTrcv_00139] ⌈
    The function EthTrcv_CheckWakeup() shall be only available if EthTrcvWakeUpSupport is something else than ETHTRCV_WAKEUP_NOT_SUPPORTED. ⌋(SRS_Eth_00106)

    So we are defining dummy api like below. Please provide if you have any more details. 

    #if (ETHTRCV_WAKEUPSUPPORT_API != ETHTRCV_WAKEUP_NOT_SUPPORTED)
    FUNC(Std_ReturnType, ETHTRCV_CODE) EthTrcv_CheckWakeup(uint8 TrcvIdx)
    {
        Std_ReturnType retVal = (Std_ReturnType) E_OK;
        return retVal;
    }
    #endif /* #if (ETHTRCV_WAKEUPSUPPORT_API != ETHTRCV_WAKEUP_NOT_SUPPORTED) */

    Thanks And Regards,

    Sunil