请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
器件型号:TMS570LS3137 我们正在使用 tms570ls3137 launchpad、我们在演示板上运行示例代码、但代码在 while ((Fray_Pst->SIR_UN.SIR_UL & 0x4)= 0x0)停止; //等待 CYC 中断标志、这是什么原因?
我们已将 TJA1080A 用作 FlexRay 收发器。
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 launchpad、我们在演示板上运行示例代码、但代码在 while ((Fray_Pst->SIR_UN.SIR_UL & 0x4)= 0x0)停止; //等待 CYC 中断标志、这是什么原因?
我们已将 TJA1080A 用作 FlexRay 收发器。
并且在 CONFIG_INDIFY_NODE 函数中配置了 COLDSTART
Fr_ControllerInit(Fray_PST); // Initialize Interrupts Fray_PST->EIR_UN.EIR_UL = 0xFFFFFFFF; // Clear Error Int. Fray_PST->SIR_UN.SIR_UL = 0xFFFFFFFF; // Clear Status Int. Fray_PST->SILS_UN.SILS_UL = 0x00000000; // all Status Int. to eray_int0 Fray_PST->SIER_UN.SIER_UL = 0xFFFFFFFF; // Disable all Status Int. Fray_PST->SIES_UN.SIES_UL = 0x00000004; // Enable CYCSE Int. Fray_PST->ILE_UN.ILE_UL = 0x00000002; // enable eray_int1 Fr_AllowColdStart(Fray_PST); }