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 Flexray 示例在 TMS570LS1227芯片中使用。 可以运行吗?
The2e.ti.com/.../7633.flexray.pdf
这是一家很有艺术感的酒店
在 设计的应用网络中,共6个节点、3个 clodstart 节点,或其它节点为同步节点。
现在、我们尝试连接2个冷启动和1个同步节点、
gPayloadLengthStatic |
MHDC.SFDL[6:0] |
3c |
gColdStartAttempts |
SUCC1.CSSA[4:0] |
31. |
gListenNoise |
SUCC2.LTN[3:0] |
15. |
gMacroPerCycle |
GTUC2.MPC[13:0] |
4. |
gMaxWithoutClockCorrectionFatal |
SUCC3.WCF[3:0] |
15. |
gMaxWithoutClockCorrectionPassive |
SUCC3.WCP[3:0] |
15. |
gNetworkManagementVectorLength |
NEMC.NML[3:0] |
0 |
gNumberOfMinislots |
GTUC8.NMS[12:0] |
0 |
gNumberOfStaticSlots |
GTUC7.NSS[9:0] |
15. |
OCS |
GTUC4.OCS 13.0] |
2250 |
GTUC7.SSL[9:0] |
150 |
|
gSyncNodeMax |
GTUC2.SNM[3:0] |
15. |
gdActionPointOffset |
GTUC9.APO[5:0] |
2. |
GdCASRxLowMax |
PRTC1.CASM[6:0] |
71. |
gdDynamicSlotIdlePhase |
GTUC9.DSI[1:0] |
1 |
GdMinislot |
GTUC8.MSL[5:0] |
4. |
gdMinislotActionPoint |
GTUC9.Mapo[4:0] |
2. |
尼特 |
GTUC4.nIT[13:0] |
250 |
gdSampleClockPeriod |
PRTC1.BRP[1:0 |
0 |
GdStaticSlot |
GTUC7.SSL[9:0] |
15. |
GdTSSTransmitter |
PRTC1.TSST[3:0] |
4. |
gdWakeupSymbolRxIdle |
PRTC2.RXI[5:0] |
59. |
gdWakeupSymbolRxLow |
PRTC2.RXL[5:0] |
57. |
gdWakeupSymbolRxWindow |
PRTC1.RXW[8:0] |
301. |
gdWakeupSymbolTxIdle |
PRTC2.TXI[7:0] |
180 |
gdWakeupSymbolTxLow |
PRTC2.TXL[5:0 |
60 |
pAllowHaltDueToClock |
SUCC1.HCSE |
1 |
pAllowPassiveToActive |
SUCC1.PTA[4:0] |
15. |
PChannels |
SUCC1.CCHA SUCC1.CCHB |
1 1 |
pExternOffsetCorrection (外部偏移校正) |
GTUC11.EOC [2:0] |
0 |
pExternRateCorrection |
GTUC11.ERC[2:0] |
0 |
pKeySlotUsedForSync |
SUCC1.TXSY |
1 |
pKeySlotusedForStartup |
SUCC1.TXST |
A=B=1、C=0 |
pMacroInitialOffset[A] |
GTUC3.MIOA[6:0] |
5. |
pMacroInitialOffset[B] |
GTUC3.MIOB[6:0] |
5. |
pMicroInitialOffset[A] |
GTUC3.UIOA[7:0] |
12. |
pMicroInitialOffset[B] |
GTUC3.UIOB[7:0] |
12. |
pMicroPerCycle |
GTUC1.UT[19:0] |
40000 |
电路
您好、Change、
您的原理图看起来不错。 配置不正确:
gMacroPerCycle |
GTUC2.MPC[13:0] |
4. |
根据 FlexRay 规范、每个周期的最小宏为10。 静态段有15个节点和15个插槽、但整个通信周期只有4个宏、如何将宏分配给插槽?
您的通信周期具有40000个微周期(1ms)、这意味着您的宏周期长为250us。 Flexray 指出最小宏周期为1us、最大宏周期为6us。
微周期为25ns (0.025us)。 通常我将宏周期配置为1us (40*微周期)。 请更正您的设置并重试。 谢谢