Hello,
I am trying to set up a FDCAN communication (STD Id) at a baud rate of 250 kbit/s in STM32G473RBT .
The Tx part seems to work perfectly but I have a problem at the level of the reception.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-04-14 4:51 AM
I try to just toggle a led for each received frame (STD ID).
With a logic analyser I checked the Rx pin on the Rx MCU and the frames arrive well. Hence my feeling that the problem lies at the level of the callback function where the MCU never go.
Thank you in advance for the help you will be able to give me.
Solved! Go to Solution.
- Labels:
-
FDCAN
-
STM32G4 series
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-04-15 6:46 AM
Hi,
Please send me Your project.
Which version STM32CubeIDE You use?
Best Regards,
Slawek
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-04-15 6:54 AM
hello;
i use the version 1.6.1 of STM32CubeIDE .
https://drive.google.com/drive/folders/1dFU3DTQlKSMKYTDDUaQHnbL_vToalO9Q?usp=sharing
Best Regards,
nasri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-04-15 8:36 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-04-15 11:29 PM
Hi,
Thank you so much for your help,it's work perfectly.
a question please; normally the startup file is generated automatically by STM32CUBEMX and I never touched this kind of file; how I don't have the right file?
cordially.
nasri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-04-15 11:58 PM
Hi,
Yes, this file is generated by Cubemx. I don't know what happened in Your project but in the orginal file You do not have vector for the interrupt from FDAN, plese compare both file. I just generated new project and copy file startup from new project to Your project. I tested on my MUCLEO-G474RE. This is a slight difference with Your project settings but project works normally.
Best Regards,
Slawek
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-04-16 12:40 AM
HI.
okay ;thank you for your help.
cordially.
nasri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-06-12 7:26 AM
Hi guys,
thanks you for our solution

- « Previous
-
- 1
- 2
- Next »