CAN BUS TX & RX example (stm32f042g6u8) , How to create project using CUBEMX?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-05-04 12:13 PM
I try to create a project based on CAN bus but the CAN option is disable in CUBEMX ide.
*Controller - stm32f042g6u8
*Cube mx ide version - V 4.24
- i want to know how to create a CAN BUS project using cubemx & without it,
- Examples are suggested for better understanding
Solved! Go to Solution.
- Labels:
-
CAN
-
STM32CubeMX
-
STM32F0 Series
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-05-04 2:05 PM
Here is one example for STM32F0 with CAN:
I don't see any for the STM32F042, but the code should be very similar.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-05-04 2:04 PM
You can hover over something that is grayed out to find out why. In this case:
So go into SYS to swap pins, then you can enable CAN.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-05-04 2:05 PM
Here is one example for STM32F0 with CAN:
I don't see any for the STM32F042, but the code should be very similar.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-05-04 8:02 PM
Thank you very much for your input i will try as per your input.
