Im facing an issue were my transmissions are having the data field cut out and the TEC register counts up to the 255 limit disabling the mcan Module. we've also ran into the issue with the Transmitter Delay Compensator Registor(TDCR) where any value other than 0 would not allow the module to transmit anything.

.BaudRate = 1000000,
.BaudRateFD = 4000000,
.CanfdNormal = true,
/* CAN timing configuration */
.NominalScaler = 5,
.Segment1 = 19,
.Segment2 = 6,
.RSyncJumpwidth = 6,
/* CANFD timing configuration */
.DataScaler = 7,
.DataSegment1 = 2,
.DataSegment2 = 0,
.DataRSyncJumpwidth = 0,