Hi team,
As mentioned in https://e2e.ti.com/support/processors-group/processors/f/processors-forum/920090/faq-tda4vm-can-how-is-bit-rate-calculated-for-can
Nominal bit rate:0.5Mbps, data bit rate: 2Mbps. Configuration in MCAL:
92 /* Baud Rate Structure for all configsets */
93 CAN_CONFIG_DATA_SECTION_NON_CONST static Can_BaudConfigType
94 CanConfigSet_CanController_0_CanControllerBaudrateConfig_0 =
95 {
96 500U, /* in Kbps */
97 8U, /* Prop Segement value */
98 6U, /* Phase Segment 1 */
99 5U, /* Phase Segment 2 */
100 1U, /* Sync jump width */
101 19U, /* Sum of all timing parameters */
102 8U, /* Controller BRP value for Baud */
103 /* Data phase Baudrate */
104 {
105 2000U, /* in Kbps */
106 8U, /* Prop Segement value */
107 6U, /* Phase Segment 1 */
108 5U, /* Phase Segment 2 */
109 1U, /* Sync jump width */
110 19U, /* Sum of all timing parameters */
111 2U, /* Controller BRP value for Baud */
112 180U, /* Specifies the Transceiver Delay Compensation Offset in ns */
113 (boolean)TRUE, /* Specifies if the bit rate switching shall be used */
114 }
115 };
But there are still errors in receiving frames. Is there still some problems with the baud rate calculation?