Implement CAN Communication on STM32F407 discovery board.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-05-20 2:45 AM
Implement CAN Communication on STM32F407 discovery board using register level programming.
In which we transmit some messages and receive same messages in loopback mode. Can you please write the code for this.
Solved! Go to Solution.
- Labels:
-
STM32F4 Series
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-05-20 3:47 AM - edited ‎2024-05-20 11:09 PM
Hello,
There is no CAN code example with register level. Inspiring from HAL driver will not be a hard task to do and sorry, I don't think there will be people that will do that job in your place unless he/they did it already and share it with you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-05-20 2:55 AM - edited ‎2024-05-20 2:57 AM
Hello,
Simple: you can use CAN HAL examples and test then inspire from the diver implementation and see how it was implemented. And you need to use a CAN transceiver with the F407 discovery board in normal mode. The tranceiver is not needed in loopback mode.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-05-20 3:17 AM
But I don't want to use HAL examples. I want register level programming. Could you please help me out.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-05-20 3:24 AM
I didn't say you have to use HAL, I said you can inspire from the driver implementation and the register sequence handling after testing a HAL example.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-05-20 3:37 AM
Could you give me the example code for can communication in stm32f407 board. Just using register level programming.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-05-20 3:47 AM - edited ‎2024-05-20 11:09 PM
Hello,
There is no CAN code example with register level. Inspiring from HAL driver will not be a hard task to do and sorry, I don't think there will be people that will do that job in your place unless he/they did it already and share it with you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-05-20 3:12 PM
You should be able to get some example code done for you here and even from here
TimerCallback tutorial! | UART and DMA Idle tutorial!
If you find my solution useful, please click the Accept as Solution so others see the solution.
