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

Gedare Bloom (@gedare) gitlab at rtems.org
Wed Jul 8 19:22:54 UTC 2026




Gedare Bloom started a new discussion on cpukit/dev/can/dcan/dcan.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1341#note_154032

 > +    AM335x_PIN_RX_ENABLE |
 > +    AM335x_PIN_MODE_2;
 > +}
 > +
 > +/**
 > + * @brief This function enables the DCAN1 peripheral clock.
 > + *
 > + * This operation enables the AM335x DCAN1 module clock and waits until
 > + * the clock control register reports the module is enabled.
 > + *
 > + * @return 0 on success, negated ETIMEDOUT otherwise.
 > + */
 > +static int dcan1_clock_enable( void )
 > +{
 > +  uint32_t clkctrl;
 > +  int i = 100;

why 100?

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1341#note_154032
You're receiving this email because of your account on gitlab.rtems.org. Unsubscribe from this thread: https://gitlab.rtems.org/-/sent_notifications/4-2ed6t1mdgubb1lhv3arqlzlzy-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/20260708/dfad15c0/attachment-0001.htm>


More information about the bugs mailing list