RTEMS | bsp/aarch64/raspberrypi: Add I2C interrupt support (!682)
Christian Mauderer (@c-mauderer)
gitlab at rtems.org
Sun Aug 24 11:29:49 UTC 2025
Christian Mauderer started a new discussion on bsps/aarch64/raspberrypi/i2c/raspberrypi-i2c.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/682#note_129357
> return rv;
> }
> } else {
> +#ifdef BSP_I2C_USE_INTERRUPTS
> + while ( bus->remaining_bytes > 0 ) {
> + C_REG( bus ) |= C_INTT;
> + if ( rtems_binary_semaphore_wait_timed_ticks(&bus->sem, bus->base.timeout) !=
You enable the DONE interrupt and then wait that you receive it. But as far as I can tell, you haven't put anything into the data FIFO yet. Why do you get an interrupt at all?
--
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/682#note_129357
You're receiving this email because of your account on gitlab.rtems.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20250824/f09f9eca/attachment-0001.htm>
More information about the bugs
mailing list