Comments (9)
- Is the CAN bus configured to 500kbit in STM32?
- Is the STM32 clock running with external oscillator and system clock is properly set?
I'd start by verifying those.
from canopenstm32.
Hi, yes the bus CANFD is configurated to 500kbps
The running clock is HSE (25MHz) over PLL1Q to 137,5 MHz in the FDCAN1
from canopenstm32.
Your device receives some data as seen in the tool you use, but if you have a frame error, means you have data corruption. In 99.9% of the time, it is due to wrong clock.
I'd say connect logic analyzer and inspect there.
from canopenstm32.
The clock must be right, cause of the UART is correctly working. I will change the frecuency of the FDCAN and check it with logic analyzer
from canopenstm32.
I have checked the clock in the eval kit and it is correctly set to 25MHz, also the analyzer is correct working with NXP eval kit, seems like something is not working correctly in the stack
from canopenstm32.
I have just check if there is a problem of my code, and there is the same behavior in your example for the stm32h7xxx. Please can you help me with this bug?
For transmiting to the TXFIFO I need to change the TX Buffers Nbr to 8, if I dont change it the function HAL_FDCAN_AddMessageToTxFifoQ never sent nothing to the CAN bus
from canopenstm32.
Packets are going out - this you can see.
What are the data packets? Is frame error meaning invalid CANOPEN packet, or invalid CAN packet?
Fact is that stack does try to send something, and it seems CAN IP sends out something too.
What does logic analyzer say on this?
from canopenstm32.
I check that my clock for CANFD come from HSE (25MHz), is this clock correct?, also tomorrow I will check if logic analyzer told me something about the frames.
from canopenstm32.
Hi,
Today I put the logic analyzer in the smt32 device, te first frame that the program sent is the following:
It is the NMT Heartbeat according with the 0x715 identifier, my doubt is regarding the last part of the frame that the logic analyzer analise as Error. Maybe this is my problem?
Regards,
Aitor
from canopenstm32.
Related Issues (20)
- Reading of Visible String Result in SDO protocol timed out HOT 1
- HAL_FDCAN_ActivateNotification asserts HOT 1
- CUBEMX for STM32H7 initialise issue HOT 1
- Missing CO_new() in canopen_app_process ? HOT 6
- Remove the dependency on TICK timer
- Timer interrupt needs to be stopped during reset communication procedure
- Overflow flag in STM32L4xx HOT 5
- TPDO not working on STM32F1 HOT 3
- Issue with running on STM32H735-DK HOT 1
- STM32F4DISCOVERY CAN port cannot communicate HOT 3
- More just as request for help than an actual issue. HOT 1
- SDO download fails with message flood HOT 2
- connectivity issue with Nucleo-F103RB HOT 6
- node ID is not added to COB ID in EDS file HOT 4
- error handling requirement HOT 1
- STM32H735 Example Nothing after bootup Message HOT 2
- Configuring the micro as MASTER problem, CO_NMT_sendCommand() not defined. HOT 3
- STM32H735_DK Example Issue With SDO HOT 1
- How can I detect that an slave node is connected to the CAN bus before the HeartBeat message HOT 2
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 canopenstm32.