Comments (4)
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.
Thank you.
from csp.
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.
After many tried, the problem appear only when i add CAN2.
Actually my PIC works with CAN1, CAN3, CAN4 and UART2 ON.
from csp.
@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)
- UART Polling process problem HOT 8
- printf processing issue HOT 2
- NVM Driver Documentation missing function HOT 3
- SPI Library Documentation HOT 2
- Wrong variable usage in SPI slave tempates HOT 2
- Accessor to tickCounter in interrupt HOT 4
- exceptionsHandler.s.ftl HOT 2
- Vector Table incorrectly defined HOT 3
- Unable to update package using content manager HOT 1
- Harmony Configurator's Pin Configuration and Peripherals availability for SAMD10C14A differs from datasheet HOT 4
- PWM0_CH3 not listed in configuration for ATSAME70N19B HOT 3
- SMBus features request for PIC32MZ series devices. HOT 1
- Harmony Configurator's Pin Configuration and Peripherals availability for PIC32MK1024MCM100 differs from datasheet HOT 1
- UARTx_SerialSetup HOT 14
- Extended CAN template issue HOT 2
- PIC32MZW WTD reset clock initialisation HOT 3
- Infinite loop in SDHC driver.
- How to send and receive CAN FD Frames with more than 8 Bytes of data.
- The RTCC_TimeGet() function of plib_rtcc.c does not use a standard tm struct.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from csp.