Part Number: LAUNCHXL-F2800157
Other Parts Discussed in Thread: TMS320F2800157, TMS320F28388D, C2000WARE
Dear Support Team,
I am testing CAN-FD communication between a TI LAUNCHXL-F2800157 LaunchPad and your USB-CAN-FD analyzer.
I am facing an issue specifically when using different arbitration and data-phase bit rates with CAN-FD Bit Rate Switching (BRS).
Hardware
1. TI LaunchPad
-
Board: TI LAUNCHXL-F2800157
-
MCU: TMS320F2800157
-
Interface: MCAN / CAN-FD
-
CAN connection: CANH, CANL
2. CAN Analyzer
-
Product: Waveshare USB-CAN-FD-B
-
Serial No.: USBCANFD21250618 1464
-
Interface: CAN-FD
Test Results
The basic CAN/CAN-FD communication works when the arbitration and data bit rates are configured with the same value.
For example:
| Arbitration Bit Rate | Data Bit Rate | Result |
|---|---|---|
| 500 kbps | 500 kbps | Working |
| 1 Mbps | 1 Mbps | Working |
| 500 kbps | 1 Mbps | Not working |
| 1 Mbps | 5 Mbps | Not working |
The problem occurs when BRS is enabled and the arbitration-phase bit rate is different from the data-phase bit rate.
TI MCAN Configuration
I am using CAN-FD mode with:
txMsg[loopCnt].brs = 1U; // Bit-rate switching enabled
txMsg[loopCnt].fdf = 1U; // CAN-FD frame
The transmit message uses an 11-bit standard CAN identifier and a CAN-FD payload.
Example:
CAN ID = 0x004
Frame format = CAN-FD
BRS = Enabled
Payload = 64 bytes
The CAN-FD frame works when BRS is disabled or when both bit rates are configured the same, but communication fails when different arbitration and data-phase bit rates are used.
Issue to Be Confirmed
Could you please help confirm the following for the USB-CAN-FD-B analyzer:
-
Does the analyzer support CAN-FD Bit Rate Switching (BRS) with different arbitration and data-phase bit rates?
-
For example, is this configuration supported?
Arbitration phase = 500 kbps
Data phase = 1 Mbps
BRS = Enabled
-
What exact analyzer settings should be used for:
-
Arbitration bit rate
-
Data bit rate
-
CAN-FD mode
-
BRS
-
Sample point
-
SJW
-
Any automatic bit-timing settings
-
-
Does the analyzer require a specific CAN-FD bit-timing configuration when BRS is enabled?
-
Is there any limitation on the supported combinations of arbitration/data bit rates?
-
Does the analyzer require the data-phase bit rate to be configured separately, or is the data bit rate automatically derived from another setting?
-
Is there any firmware update available for the analyzer that addresses CAN-FD BRS or different arbitration/data bit-rate communication?
-
Could you provide a recommended working configuration for testing:
Arbitration = 500 kbps
Data = 1 Mbps
BRS = Enabled
CAN-FD = Enabled
Additional Information
The physical CAN connection has been checked and basic CAN-FD communication is working. The same analyzer communicates correctly when arbitration and data-phase bit rates are identical.
Therefore, I would like to determine whether the problem is caused by:
-
Analyzer CAN-FD/BRS configuration
-
CAN-FD bit timing
-
Sample point/SJW mismatch
-
Analyzer firmware limitation
-
TI MCAN nominal/data-phase timing configuration
-
Analyzer compatibility with the selected CAN-FD bit-rate combination
Please provide the recommended analyzer configuration and, if possible, a step-by-step procedure for testing CAN-FD BRS using different arbitration and data-phase bit rates.
