RTEMS | Draft: can/dcan: Add AM335x DCAN controller driver (!1341)

Pavel Pisa (@ppisa) gitlab at rtems.org
Tue Jul 7 18:07:31 UTC 2026



Merge request https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1341 was reviewed by Pavel Pisa

--
  
Pavel Pisa started a new discussion on cpukit/dev/can/dcan/dcan.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1341#note_153895

 > +    if ( rtems_can_test_bit( RTEMS_CAN_CHIP_RUNNING, &chip->flags ) ) {
 > +      dcan_process_interrupts( chip );
 > +    }

If the chip is not running then the pending Tx messages should be aborted.
```
if ( rtems_can_test_bit( RTEMS_CAN_CHIP_RUNNING, &chip->flags ) == 0 ) {
      /* Abort all filled HW buffers. */
      for ( int i = 0; i < internal->txb_prio_tail[ 0 ]; i++ ) {
        txtb_id = ctucanfd_txb_from_order( internal->txb_order, i );
```


-- 
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-aahjnejq3rcbj5j92bcz2r892-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/20260707/de6744ae/attachment-0001.htm>


More information about the bugs mailing list