Other Parts Discussed in Thread: TCAN4550
Tool/software: Code Composer Studio
Hello.
I'm Alex.
I've been developing product with TCAN4550 for CAN FD.
I found out value for CAN FD bit rate. But It's not to fit my specification. because My customer want CAN FD to have proper bit timing like below.
Header: 500Kbps, SP 80%, BRP 1, TQ 40, Prop + PhSeg1 31, PhSeg2 8, SJW 8.
Data: 2.0Mbps, SP 80%, SSP 80%, BRP 1, TQ 10, Prop +PhSeq1 7, PhSeg2 2, SJW 2, TDC 8TQ
So I set up register like below instead of TI example.
/* Configure the CAN bus speeds */
TCANNomTimingRaw.NominalBitRatePrescaler = 2 - 1;
TCANNomTimingRaw.NominalTimeSeg1andProp = 31 - 1;
TCANNomTimingRaw.NominalTimeSeg2 = 8 - 1;
TCANNomTimingRaw.NominalSyncJumpWidth = 8 - 1;
TCANDataTimingRaw.DataBitRatePrescaler = 2 - 1;
TCANDataTimingRaw.DataTimeSeg1andProp = 7 - 1;
TCANDataTimingRaw.DataTimeSeg2 = 2 - 1;
TCANDataTimingRaw.DataSyncJumpWidth = 2 - 1;
TCANDataTimingRaw.TDCOffset = 8 - 1;
TCANDataTimingRaw.TDCFilter = 0;
TCAN4x5x_MCAN_ConfigureNominalTiming_Raw(&TCANNomTimingRaw); // Setup nominal/arbitration bit timing
TCAN4x5x_MCAN_ConfigureDataTiming_Raw(&TCANDataTimingRaw); // Setup CAN FD timing
My Questions are
- Is it okay to put these value in TCAN4550 in order to satisfy our specification? Because I cannot find out certain application note for Bit rate.
- I'm curious about TDCFilter. According to our specification, There is no place for TDCFilter. So I put '0' into TDCFilter.
Thank you.
Best regard.