RTEMS | Draft: can/dcan: Add AM335x DCAN controller driver (!1341)
Ning Zhang (@River)
gitlab at rtems.org
Mon Jul 6 18:14:21 UTC 2026
Ning Zhang created a merge request: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1341
Project:Branches: River/rtems:5440-am335x-dcan to rtems/rtos/rtems:main
Author: Ning Zhang
## Summary
Add an initial AM335x DCAN controller driver for the RTEMS CAN framework.
The driver supports basic frame transmission through the RTEMS CAN TX queue and frame reception through message object interrupts. Received frames are delivered to the RTEMS CAN queue and can be read through the RTEMS CAN device interface.
The driver was tested with DCAN1 on BeagleBone Black at 125 kbit/s. The following communication paths were successfully tested: RTEMS TX to Linux SocketCAN RX, and Linux SocketCAN TX to RTEMS RX
The driver was also integrated into the RTEMS build system and built successfully for the `arm/beagleboneblack` BSP. The build completed with -Werror enabled.
## AI Details
<!--Make sure you have read our statement at https://www.rtems.org/generative-ai/-->
### Prompt used
Prompts were used to ask for explanations of the RTEMS CAN framework and SJA1000 reference driver, review suggestions for the DCAN TX/RX implementation, RTEMS coding-style and formatting guidance, build-error interpretation, and suggestions for code cleanup.
### AI model used
OpenAI ChatGPT
### How AI was used for the contribution
- [x] Formatting
- [ ] Test creation.
- [x] Code comments.
- [ ] The entire contribution was generated using AI
- [ ] AI code completion such as Copilot in VSCode.
If others were used please add below
### Access
I have not used a product that claims copyright over the generated output, and I have legitimate access to the AI tool used.
<!--Default settings, if it is a dropdown it will set after submission-->
Update #5440
--
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1341
You're receiving this email because of your account on gitlab.rtems.org. Unsubscribe from this thread: https://gitlab.rtems.org/-/sent_notifications/4-9p6c3u0cz265vveumxtvaiwde-1d/unsubscribe | Manage all notifications: https://gitlab.rtems.org/-/profile/notifications | Help: https://gitlab.rtems.org/help
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20260706/5e66bd36/attachment-0001.htm>
More information about the bugs
mailing list