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.

Starterware/TMS570LS1227: FR network (cont')

Part Number: TMS570LS1227
Other Parts Discussed in Thread: TMS570LS20216, HALCOGEN, TMS570LS3137

Tool/software: Starterware

Have anyone implement Flexray network by TMS570LS1227?

The same flexray file are builded in TMS570LS1227/TMSLS20216, TMS570LS1227 TX null frame, but TMS570LS20216 TX slot with payload data.

All the GTU / massage RAM config  is same configuration. (Same file) 

Cluster parament in below

Parameters Val(Hex/Dec) Unit
Number of nodes in the cluster 0xF/15 #
Data rate 10 Mbps
Number of channels 2 #
Number of Microticks / cycle : pMicroPerCycle 0x186A0/100000 #
Number of sync nodes maximum in a cluster : gSyncnodeMax 0xF/15 #
Number of Macroticks / cycle : gMacroPerCycle 0x94C/2500 #
Offset Correction Start : gOffsetCorrectionStart - 1 0x947/2375d MT
Network Idle time Start : gMacroPerCycle - gdNIT - 1 0x8c9/2249 MT
Delay compensation channel A : pDelayCompensation[A] 3 μT
Delay compensation channel B : pDelayCompensation[B] 3 μT
Cluster drift damping : pClusterDriftDamping 1 μT
Decoding Correction : pDecodingCorrection 0x38/56 μT
Accepted startup range : pdAcceptedStartupRange 0xCD/205 μT
Maximum oscillator drift : pdMaxDrift 0x12dh/ μT
Static slot length : gdStaticSlot 0x96/150 MT
Number of Static slots : gNumberOfStaticSlots 0xF/15 #
Minislot length : gdMinislot 4 MT
Number of Minislots : gNumberOfMinislots 0 #
Minislot Action Point : gdMinislotActionPointOffset 2 MT
Action Point offset : gdActionPointOffset 2 MT
Maximum offset correction : pOffsetCorrectionOut 205 μT
Maximum rate correction : pRateCorrectionOut 337 μT
External offset correction control : vExternOffsetControl 0 Yes / No
External Rate Correction Control : vExternRateControl 0 Yes / No
External offset correction : pExternOffsetCorrection 0 μT
External rate correction : pExternRateCorrection 0 μT
gdSampleClockPeriod 12.5 ns
Number of samples per Microtick : pSamplesPerMicrotick 2 #
Wake up Symbol Receive Window length : gdWakeupSymbolRxWindow 0 bit times
Repetitions of Transmission of wake up pattern : pWakeupPattern 0 #
Wake up Symbol Receive Idle : gdWakeupSymbolRxIdle 0 bit times
Wake up Symbol Receive Low : gdWakeupSymbolRxLow 0 bit times
Wake up Symbol Transmit Idle : gdWakeupSymbolTxIdle 0 bit times
Wake up Symbol Transmit Low : gdWakeupSymbolTxLow 0 bit times
Static Frame data length : gPayloadLengthStatic 0x3C/60 2 bytes
Number of Coldstart attempts : gColdStartAttempts 0x1F/31 #
Passive to Active : pAllowPassiveToActive 0xF/15 #
  • Hi Zhang,

    It is pretty straight forward to port FR example for TMS570LS3137 to TMS570LS1227. Please use HALCoGen to generate initialization code, and copy FR related code to your new CCS project. LS3137 and LS1227 have the same FR module. Did you run FR demo code on LS3137?