+ Post New Thread
Results 1 to 4 of 4
  1. #1
    Member level 1
    Points: 652, Level: 5

    Join Date
    Jun 2017
    Location
    Bhubaneswar, India
    Posts
    39
    Helped
    4 / 4
    Points
    652
    Level
    5

    Problem while doing CAN communication with different transreciever

    Hello everyone,
    I am trying to establish CAN communication in between a MCP2515 standalone can controller and Internal CAN controller of TMS320F28069 microcontroller. The MCP2515 is attached with MCP2551 transreciever and TMS320F28069 is attached with SN65HVD234D. Here, MCP2551 transreciver has an operating voltage of 5V and SN65HVD234D is operating at 3.3V. I have placed a 11.0592 crystal to MCP2515 controller. And TMS320F28069 has internal clock of 10MHz and system clock of 90MHz. There is a error of 0.54% in MCP2515 when transmitting at a speed of 125kbps.

    The communication is not successful. I am confused with two things here. Is it because of the different voltage levels of the transreciever? or is it because of error percentage?

    Please, quote me if more details required.

    Thank you in advance.

    •   AltAdvertisement

        
       

  2. #2
    Super Moderator
    Points: 77,923, Level: 68
    Achievements:
    7 years registered
    Awards:
    Most Frequent Poster 3rd Helpful Member

    Join Date
    Apr 2014
    Posts
    15,796
    Helped
    3593 / 3593
    Points
    77,923
    Level
    68

    Re: Problem while doing CAN communication with different transreciever

    Hi,

    Voltage levels as well as timing simply can be measured with a scope. Do so and show us.

    Klaus
    Please don´t contact me via PM, because there is no time to respond to them. No friend requests. Thank you.


    1 members found this post helpful.

    •   AltAdvertisement

        
       

  3. #3
    Member level 1
    Points: 652, Level: 5

    Join Date
    Jun 2017
    Location
    Bhubaneswar, India
    Posts
    39
    Helped
    4 / 4
    Points
    652
    Level
    5

    Re: Problem while doing CAN communication with different transreciever

    Voltage levels as well as timing simply can be measured with a scope. Do so and show us.
    Ok. I will post the result soon after doing so with the scope.

    Thank you.



    •   AltAdvertisement

        
       

  4. #4
    Member level 1
    Points: 652, Level: 5

    Join Date
    Jun 2017
    Location
    Bhubaneswar, India
    Posts
    39
    Helped
    4 / 4
    Points
    652
    Level
    5

    Re: Problem while doing CAN communication with different transreciever

    I am sorry for the late post. The problem is solved. It was because of the bit timing. I was unable to go with the Oscilloscope because I was unable to use it properly. So, I have re searched over the internet.
    My mistake was, using Kvaser CAN Speed calculator (https://www.kvaser.com/support/calcu...ng-calculator/) to set values to the control register of TMS320F28069. There is a separate Calculator for TI microcontrollers provided by TI itself in an excel sheet.
    I have used those register values and got the result.

    Thank you for the advice.



--[[ ]]--