Other Parts Discussed in Thread: TMS570LS3137, , HALCOGEN
The TMS570LS3137 Flexray example use in TMS570LS1227 chip. can run?
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.
The TMS570LS3137 Flexray example use in TMS570LS1227 chip. can run?
The cicuit boart attech.
Totle 6 node,3 clodstart nodes, the orther are sync nodes, in application network designed .
now we try connect 2 coldstart and 1 sync node,
gPayloadLengthStatic |
MHDC.SFDL[6:0] |
3C |
gColdStartAttempts |
SUCC1.CSA[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 |
NIT |
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 |
The cicuit
Hello Change,
Your schematics look good. The configuration is not correct:
gMacroPerCycle |
GTUC2.MPC[13:0] |
4 |
The minimum macro per cycle is 10 per the flexray spec. You have 15 nodes and 15 slots for static segment, but you have only 4 macro for the whole communication cycle, how do you assign the macro to the slots?
Your communication cycle has 40000 microticks (1 ms), this means your macrotick is 250us long. The Flexray says that the minimum macrotick is 1us and maximum macrotick is 6us.
The microtick is 25ns (0.025us). And normally I configure macrotick to to 1us (40*microticks). Please correct your settings and try again. Thanks