Giter Site home page Giter Site logo

Comments (4)

jigneshmoradiya1 avatar jigneshmoradiya1 commented on August 11, 2024

Hi,

Data Bit Timing is not correctly configured for 4000 Kbps Bit Rate because Calculated Bit Rate is 0 and Error % is 100%. CAN-FD Clock Frequency should be configured 20MHz/40MHz/80MHz as per datasheet (https://ww1.microchip.com/downloads/en/DeviceDoc/PIC32MK-GPK-MCM-with-CAN-FD-Family-DataSheet-DS60001519E.pdf, Page#463).
For example, Please find the MHC configuration for CAN-FD clock frequency 20MHz, Nominal Bit Rate 500 Kbps and Data Bit Rate 4000 Kbps as below.
image

Thank you.

from csp.

raf6410 avatar raf6410 commented on August 11, 2024

hi,

Thanks for your comment.
I tried to config 2 CAN channel with your proposal => same probleme, PIC don't start.
I use REFCLK4 to 20Mhz but nothing

from csp.

raf6410 avatar raf6410 commented on August 11, 2024

After many tried, the problem appear only when i add CAN2.
Actually my PIC works with CAN1, CAN3, CAN4 and UART2 ON.

from csp.

jigneshmoradiya1 avatar jigneshmoradiya1 commented on August 11, 2024

@raf6410 , CAN Bit Timing should be configured in MHC configuration as mentioned in above screenshot. Closing the ticket now. In case of any issue please feel free to reopen ticket.

from csp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.