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.

MSPM0G3507: CAN

Part Number: MSPM0G3507
Other Parts Discussed in Thread: TCAN1044A-Q1, , SYSCONFIG,

Tool/software:

Hello there,

       I am trying to run CAN on LP-MSPM0G3507 with external CAN Transceiver TCAN1044A-Q1 using mcan_multi_message_tx example

My connections are as follows:

LP-MSPM0G3507 TCAN1044A
PA12 TXD
PA13 RXD
5V VCC
3.3V Vio
GND GND

CANH & CANL of the TCAN1044A is connected to the DB9 connector & am using PCAN tool to watch the transmitted data

but the data not received 
I dont know why this is happening!

  • Hello Krushna,

    Many reasons can cause this issue.

    1). You should check whether the TCAN1044A-Q1 support the CAN FD mode. Our example code in SDK uses the CAN FD mode. If the transceiver doesn't support the CAN FD mode, you should disable this mode in the Sysconfig.

    2). You should check the sampling point at first.

    Best Regards,

    Janz Bai

  • 1) TCAN1044A-Q1 supports the CAN FD mode
    2) What do you mean by "check the sampling point at first"? ?

  • Hello Krushna, 

    1). I mean that you should check whether the sampling point position of the M0 and your CAN analyzer are matched. Sampling point is the time point to read the voltage level of bus and interpret it as the value of the corresponding bit.

    If you have more questions about the sampling point, you can search it and learn the knowledge of CAN on website.

    2). What is the version of the SDK you used now, is it the latest version ?

    Best Regards,

    Janz Bai

  • I am using mspm0_sdk_2_00_01_00.

  • I got it and as I mentioned in previous response, please do this:

    1). I mean that you should check whether the sampling point position of the M0 and your CAN analyzer are matched. Sampling point is the time point to read the voltage level of bus and interpret it as the value of the corresponding bit.

    If you have more questions about the sampling point, you can search it and learn the knowledge of CAN on website.

  • this is the config I'm doing with my PCAN view to see the transmitted data.

    is there anything wrong?

  • Hello Krushna,

    Do you have another launchpad of G3507? You can use one for RX and one for TX. You can download the example code into them and check whether the CAN can work normally to further check whether the CAN transceiver and the example code are ok.

    Best Regards,

    Janz Bai

  • Hello Janz,

          I don't have another launchpad of G3507
    The only option for me is to view the received data in the PCAN view!

  • Hello Krushna,

    1). This part "Nominal..,"  corresponds to the part "Arbitration...." in the Sysconfig. You should make sure that the "Nominal bit rate" in the PCAN is the same as the "Desired Arbitration Bit rate" in the Sysconfig. And you should make sure that the "Sampling point' in the "Nominal..." part is the same as the "Actual Arbitration Sampling Point" in the Sysconfig.

    2). This part "Data..." corresponds to the part "Data..." in the Sysconfig. You should make sure that the "Data Bit rate" in the PCAN is the same as the "Desired Data Rate" in the Sysconfig. And you should make sure that the "Sampling point" in the "Data..." part is the same as the "Actual Data Sampling Point" in the Sysconfig.

    3). We team have one slides to summarize the main features of CAN, if you need, I can send it to you after I get approve from my colleague.

    4). About the LaunchPad of MSPM0G3507, You can communicate with your FAE, and he can help you to apply for the LP-G3507 from TI. Preparing more than one LaunchPad can help you better evaluate MCU in some application scenarios.

    Best Regards,

    Janz Bai

  • Thanks this resolved my issue, now I am able to transmit and receive data through CAN!

  • Sounds good, Krushna. Congratulations!