================================= AUTOSAR compliance ================================= Consult the Autosar_SWS_FlexRayDriver.pdf document for the sections and codes details. ================================= 8.1 Imported types [SWS_Fr_00099] partialy OK Module Dem not imported, because it needed a lot of other Autosar components to be implemented Module Std_Types imported in file Std_Types.h Std_ReturnType, - This data type size was changed from 8b to 32b to support more error user defined flags, but the E_OK and E_NOT_OK is in its original position so it should not interfere with anything. Std_VersionInfoType [SWS_Fr_00657] OK 8.2 Macro definitions [SWS_Fr_00657] OK 8.3 Type definitions [SWS_Fr_00499][SWS_Fr_00077] OK [SWS_Fr_00500] partialy OK Autosar specification was followed only for the FlexRay project so some data types from RPP library were used instead of Autosar. 8.3.1 Fr_ConfigType [SWS_Fr_00501][SWS_Fr_00648] OK [SWS_Fr_00646] FAIL Is provided by Fr_tms570.h 8.3.2 Fr_POCStateType [SWS_Fr_00505] OK FR_POCSTATE_INVALID state added 8.3.3 Fr_SlotModeType [SWS_Fr_00506] OK FR_SLOTMODE_INVALID state added [SWS_Fr_00599] FAIL Not implemented 8.3.4 Fr_ErrorModeType [SWS_Fr_00507] OK FR_ERRORMODE_INVALID state added 8.3.5 Fr_WakeupStatusType [SWS_Fr_00508] OK FR_WAKEUP_INVALID state added 8.3.6 Fr_StartupStateType [SWS_Fr_00509] OK 8.3.7 Fr_POCStatusType [SWS_Fr_00510] OK 8.3.8 Fr_TxLPduStatusType [SWS_Fr_00511] OK 8.3.9 Fr_RxLPduStatusType [SWS_Fr_00512] OK 8.3.10 Fr_ChannelType [SWS_Fr_00514] OK 8.4 Function definitions * The API functions of the Fr module shall have the return type Std_ReturnType or void (no return code). OK * If an API function of the Fr module has the return type Std_ReturnType, and if the function performs its service successfully, then it shall return E_OK otherwise E_NOT_OK. OK * If the Fr module’s environment is passing input parameters by a reference, then the Fr SWS shall use the const qualifier (const type *) to guarantee that it doesn’t change the input parameter. OK * For output parameters, a memory address to store the parameter is passed as an argument. OK * If API functions of the Fr module successfully finish (return E_OK), then all output parameters shall be written with with valid values. OK * If API functions of the Fr module erroneously finish (return E_NOT_OK), then no output parameter shall be written. Output parameters shall keep their original values in this case. OK 8.4.1 Fr_Init [SWS_Fr_00032][SWS_Fr_00137] OK [SWS_Fr_00135] partialy OK Note that development error detection is enabled by macro DET_ACTIVATED, defined in fr_tms570.c file. Development errors can not be raised, bacause the API for it is not implemented. 8.4.2 Fr_ControllerInit [SWS_Fr_00017][SWS_Fr_00148][SWS_Fr_00149][SWS_Fr_00150][SWS_Fr_00151][SWS_Fr_00152][SWS_Fr_00153][SWS_Fr_00515][SWS_Fr_00147][SWS_Fr_00647] OK [SWS_Fr_00598] FAIL Not implemented becase the Dem API is not implemented. [SWS_Fr_00143][SWS_Fr_00144] partialy OK Note that development error detection is enabled by macro DET_ACTIVATED, defined in fr_tms570.c file. Development errors can not be raised, bacause the API for it is not implemented. 8.4.3 Fr_StartCommunication [SWS_Fr_00010][SWS_Fr_00177] OK [SWS_Fr_00176] FAIL Not implemented, I don't know how to detect HW error [SWS_Fr_00173][SWS_Fr_00174][SWS_Fr_00175] partialy OK Note that development error detection is enabled by macro DET_ACTIVATED, defined in fr_tms570.c file. Development errors can not be raised, bacause the API for it is not implemented. 8.4.4 Fr_AllowColdstart [SWS_Fr_00114][SWS_Fr_00182] OK [SWS_Fr_00181] FAIL Not implemented, I don't know how to detect HW error [SWS_Fr_00178][SWS_Fr_00179][SWS_Fr_00180] partialy OK Note that development error detection is enabled by macro DET_ACTIVATED, defined in fr_tms570.c file. Development errors can not be raised, bacause the API for it is not implemented. 8.4.5 Fr_AllSlots [SWS_Fr_00516][SWS_Fr_00518][SWS_Fr_00523] OK [SWS_Fr_00520] FAIL Not implemented, I don't know how to detect HW error [SWS_Fr_00521][SWS_Fr_00522] partialy OK Note that development error detection is enabled by macro DET_ACTIVATED, defined in fr_tms570.c file. Development errors can not be raised, bacause the API for it is not implemented. 8.4.6 Fr_HaltCommunication [SWS_Fr_00014][SWS_Fr_00187][SWS_Fr_00185] OK [SWS_Fr_00186] FAIL Not implemented, I don't know how to detect HW error [SWS_Fr_00183][SWS_Fr_00184] partialy OK Note that development error detection is enabled by macro DET_ACTIVATED, defined in fr_tms570.c file. Development errors can not be raised, bacause the API for it is not implemented. 8.4.7 Fr_AbortCommunication [SWS_Fr_00011][SWS_Fr_00191] OK [SWS_Fr_00190] FAIL Not implemented, I don't know how to detect HW error [SWS_Fr_00188][SWS_Fr_00189] partialy OK Note that development error detection is enabled by macro DET_ACTIVATED, defined in fr_tms570.c file. Development errors can not be raised, bacause the API for it is not implemented. 8.4.8 Fr_SendWUP [SWS_Fr_00009][SWS_Fr_00196] OK [SWS_Fr_00195] FAIL Not implemented, I don't know how to detect HW error [SWS_Fr_00192][SWS_Fr_00193][SWS_Fr_00194] partialy OK Note that development error detection is enabled by macro DET_ACTIVATED, defined in fr_tms570.c file. Development errors can not be raised, bacause the API for it is not implemented. 8.4.9 Fr_SetWakeupChannel [SWS_Fr_00091][SWS_Fr_00202] OK [SWS_Fr_00201] FAIL Not implemented, I don't know how to detect HW error [SWS_Fr_00197][SWS_Fr_00198][SWS_Fr_00199][SWS_Fr_00200] partialy OK Note that development error detection is enabled by macro DET_ACTIVATED, defined in fr_tms570.c file. Development errors can not be raised, bacause the API for it is not implemented. 8.4.10 Fr_GetPOCStatus [SWS_Fr_00012][SWS_Fr_00217] OK [SWS_Fr_00216] FAIL Not implemented, I don't know how to detect HW error [SWS_Fr_00213][SWS_Fr_00214][SWS_Fr_00215] partialy OK Note that development error detection is enabled by macro DET_ACTIVATED, defined in fr_tms570.c file. Development errors can not be raised, bacause the API for it is not implemented. 8.4.11 Fr_TransmitTxLPdu [SWS_Fr_00092][SWS_Fr_00440][SWS_Fr_00225][SWS_Fr_00224] OK [SWS_Fr_00223] FAIL Not implemented, I don't know how to detect HW error [SWS_Fr_00218][SWS_Fr_00219][SWS_Fr_00220][SWS_Fr_00221][SWS_Fr_00222] partialy OK Note that development error detection is enabled by macro DET_ACTIVATED, defined in fr_tms570.c file. Development errors can not be raised, bacause the API for it is not implemented. 8.4.12 Fr_CancelTxLPdu [SWS_Fr_00610][SWS_Fr_00611][SWS_Fr_00612] OK [SWS_Fr_00613] FAIL Not implemented, I don't know how to detect HW error [SWS_Fr_00614][SWS_Fr_00615][SWS_Fr_00616] partialy OK Note that development error detection is enabled by macro DET_ACTIVATED, defined in fr_tms570.c file. Development errors can not be raised, bacause the API for it is not implemented. 8.4.13 Fr_ReceiveRxLPdu [SWS_Fr_00093][SWS_Fr_00233][SWS_Fr_00441][SWS_Fr_00234][SWS_Fr_00237][SWS_Fr_00239] OK [SWS_Fr_00604][SWS_Fr_00645][SWS_Fr_00605][SWS_Fr_00627][SWS_Fr_00628] FAIL Not implemented, no such configuration parameter for TMS570 [SWS_Fr_00236] FAIL/OK Not implemented, but an ordinary buffer is not receiving NULL frames and RX FIFO is configurable to receive or not to recive NULL frames, so this is rather feature than bug. [SWS_Fr_00232] FAIL Not implemented, I don't know how to detect HW error [SWS_Fr_00226][SWS_Fr_00227][SWS_Fr_00228][SWS_Fr_00229][SWS_Fr_00230][SWS_Fr_00231] partialy OK Note that development error detection is enabled by macro DET_ACTIVATED, defined in fr_tms570.c file. Development errors can not be raised, bacause the API for it is not implemented. 8.4.14 Fr_CheckTxLPduStatus [SWS_Fr_00094][SWS_Fr_00244] OK [SWS_Fr_00243] FAIL Not implemented, I don't know how to detect HW error [SWS_Fr_00606][SWS_Fr_00629][SWS_Fr_00630] FAIL Not implemented, no such configuration parameter for TMS570 [SWS_Fr_00240][SWS_Fr_00241][SWS_Fr_00242][SWS_Fr_00343] partialy OK Note that development error detection is enabled by macro DET_ACTIVATED, defined in fr_tms570.c file. Development errors can not be raised, bacause the API for it is not implemented. 8.4.15 Fr_PrepareLPdu [SWS_Fr_00107][SWS_Fr_00250] OK [SWS_Fr_00248] FAIL Not implemented, I don't know how to detect HW error [SWS_Fr_00245][SWS_Fr_00246][SWS_Fr_00247] partialy OK Note that development error detection is enabled by macro DET_ACTIVATED, defined in fr_tms570.c file. Development errors can not be raised, bacause the API for it is not implemented. 8.4.16 Fr_ReconfigLPdu [SWS_Fr_00524] partialy OK payload is not in bytes but in half-words because this is the representation in the HW cycleoffset and cycle repetition merged into cyclefiltering header crc is computed automaticaly inside the function [SWS_Fr_00525][SWS_Fr_00528][SWS_Fr_00535][SWS_Fr_00537][SWS_Fr_00527] OK [SWS_Fr_00526] partialy OK The value is not staticaly stored, it is retrieved from the node configuration parameter and the number of the buffer [SWS_Fr_00529] FAIL Not implemented, I don't know how to detect HW error [SWS_Fr_00530][SWS_Fr_00531][SWS_Fr_00532][SWS_Fr_00533][SWS_Fr_00534][SWS_Fr_00536][SWS_Fr_00538] partialy OK Note that development error detection is enabled by macro DET_ACTIVATED, defined in fr_tms570.c file. Development errors can not be raised, bacause the API for it is not implemented. [SWS_Fr_00634] FAIL Not implemented, because the parameter is not used. The CRC is calculated automaticaly in the function. 8.4.17 Fr_DisableLPdu [SWS_Fr_00539][SWS_Fr_00540][SWS_Fr_00541][SWS_Fr_00542] OK [SWS_Fr_00543] FAIL Not implemented, I don't know how to detect HW error [SWS_Fr_00544][SWS_Fr_00545][SWS_Fr_00546] partialy OK Note that development error detection is enabled by macro DET_ACTIVATED, defined in fr_tms570.c file. Development errors can not be raised, bacause the API for it is not implemented. 8.4.18 Fr_GetGlobalTime [SWS_Fr_00042][SWS_Fr_00256][SWS_Fr_00257][SWS_Fr_00044] OK [SWS_Fr_00255] FAIL Not implemented, I don't know how to detect HW error [SWS_Fr_00251][SWS_Fr_00252][SWS_Fr_00253][SWS_Fr_00254] partialy OK Note that development error detection is enabled by macro DET_ACTIVATED, defined in fr_tms570.c file. Development errors can not be raised, bacause the API for it is not implemented. 8.4.19 Fr_GetNmVector [SWS_Fr_00113][SWS_Fr_00262][SWS_Fr_00264][SWS_Fr_00263] OK [SWS_Fr_00261] FAIL Not implemented, I don't know how to detect HW error [SWS_Fr_00258][SWS_Fr_00259][SWS_Fr_00260] partialy OK Note that development error detection is enabled by macro DET_ACTIVATED, defined in fr_tms570.c file. Development errors can not be raised, bacause the API for it is not implemented. 8.4.20 Fr_GetNumOfStartupFrames [SWS_Fr_00547][SWS_Fr_00549][SWS_Fr_00550][SWS_Fr_00551][SWS_Fr_00552][SWS_Fr_00553][SWS_Fr_00554][SWS_Fr_00555] FAIL Not implemented, probably no such information is available in the HW status registers. 8.4.21 Fr_GetChannelStatus [SWS_Fr_00556][SWS_Fr_00558][SWS_Fr_00559] OK [SWS_Fr_00560] FAIL Not implemented, I don't know how to detect HW error [SWS_Fr_00561][SWS_Fr_00562][SWS_Fr_00563][SWS_Fr_00607] partialy OK Note that development error detection is enabled by macro DET_ACTIVATED, defined in fr_tms570.c file. Development errors can not be raised, bacause the API for it is not implemented. 8.4.22 Fr_GetClockCorrection [SWS_Fr_00564][SWS_Fr_00566] OK [SWS_Fr_00568] FAIL Not implemented, I don't know how to detect HW error [SWS_Fr_00569][SWS_Fr_00570][SWS_Fr_00571][SWS_Fr_00572] partialy OK Note that development error detection is enabled by macro DET_ACTIVATED, defined in fr_tms570.c file. Development errors can not be raised, bacause the API for it is not implemented. 8.4.23 Fr_GetSyncFrameList [SWS_Fr_00573][SWS_Fr_00575][SWS_Fr_00576][SWS_Fr_00577][SWS_Fr_00578] OK [SWS_Fr_00580] FAIL Not implemented, I don't know how to detect HW error [SWS_Fr_00581][SWS_Fr_00582][SWS_Fr_00583][SWS_Fr_00584][SWS_Fr_00585][SWS_Fr_00586] partialy OK Note that development error detection is enabled by macro DET_ACTIVATED, defined in fr_tms570.c file. Development errors can not be raised, bacause the API for it is not implemented. 8.4.24 Fr_GetWakeupRxStatus [SWS_Fr_00587][SWS_Fr_00588] OK [SWS_Fr_00589] FAIL Not implemented, I don't know how to detect HW error [SWS_Fr_00590][SWS_Fr_00591][SWS_Fr_00592] partialy OK Note that development error detection is enabled by macro DET_ACTIVATED, defined in fr_tms570.c file. Development errors can not be raised, bacause the API for it is not implemented. 8.4.25 Fr_SetAbsoluteTimer [SWS_Fr_00033][SWS_Fr_00273][SWS_Fr_00436] OK [SWS_Fr_00272] FAIL Not implemented, I don't know how to detect HW error [SWS_Fr_00267][SWS_Fr_00268][SWS_Fr_00269][SWS_Fr_00270][SWS_Fr_00271] partialy OK Note that development error detection is enabled by macro DET_ACTIVATED, defined in fr_tms570.c file. Development errors can not be raised, bacause the API for it is not implemented. 8.4.26 Fr_CancelAbsoluteTimer [SWS_Fr_00095][SWS_Fr_00287] OK [SWS_Fr_00286] FAIL Not implemented, I don't know how to detect HW error [SWS_Fr_00283][SWS_Fr_00284][SWS_Fr_00285] partialy OK Note that development error detection is enabled by macro DET_ACTIVATED, defined in fr_tms570.c file. Development errors can not be raised, bacause the API for it is not implemented. 8.4.27 Fr_EnableAbsoluteTimerIRQ [SWS_Fr_00034][SWS_Fr_00298] OK But global interrupt for FlexRay is still disabled (not configured) [SWS_Fr_00297] FAIL Not implemented, I don't know how to detect HW error [SWS_Fr_00294][SWS_Fr_00295][SWS_Fr_00296] partialy OK Note that development error detection is enabled by macro DET_ACTIVATED, defined in fr_tms570.c file. Development errors can not be raised, bacause the API for it is not implemented. 8.4.28 Fr_AckAbsoluteTimerIRQ [SWS_Fr_00036][SWS_Fr_00309] OK [SWS_Fr_00308] FAIL Not implemented, I don't know how to detect HW error [SWS_Fr_00305][SWS_Fr_00306][SWS_Fr_00307] partialy OK Note that development error detection is enabled by macro DET_ACTIVATED, defined in fr_tms570.c file. Development errors can not be raised, bacause the API for it is not implemented. 8.4.29 Fr_DisableAbsoluteTimerIRQ [SWS_Fr_00035] [SWS_Fr_00320]OK [SWS_Fr_00319] FAIL Not implemented, I don't know how to detect HW error [SWS_Fr_00316][SWS_Fr_00317][SWS_Fr_00318] partialy OK Note that development error detection is enabled by macro DET_ACTIVATED, defined in fr_tms570.c file. Development errors can not be raised, bacause the API for it is not implemented. 8.4.30 Fr_GetAbsoluteTimerIRQStatus [SWS_Fr_00108][SWS_Fr_00332] OK [SWS_Fr_00331] FAIL Not implemented, I don't know how to detect HW error [SWS_Fr_00327][SWS_Fr_00328][SWS_Fr_00329][SWS_Fr_00330] partialy OK Note that development error detection is enabled by macro DET_ACTIVATED, defined in fr_tms570.c file. Development errors can not be raised, bacause the API for it is not implemented. 8.4.31 Fr_GetVersionInfo [SWS_Fr_00070] OK [SWS_Fr_00340] partialy OK Note that development error detection is enabled by macro DET_ACTIVATED, defined in fr_tms570.c file. Development errors can not be raised, bacause the API for it is not implemented. 8.4.32 Fr_ReadCCConfig [SWS_Fr_00651] OK [SWS_Fr_00652] FAIL Not implemented, I don't know how to detect HW error [SWS_Fr_00653][SWS_Fr_00654][SWS_Fr_00655][SWS_Fr_00656] partialy OK Note that development error detection is enabled by macro DET_ACTIVATED, defined in fr_tms570.c file. Development errors can not be raised, bacause the API for it is not implemented. [SWS_Fr_00662][SWS_Fr_00663][SWS_Fr_00664][SWS_Fr_00665][SWS_Fr_00666] OK