RTEMS | stm32f4/i2c: Implement fast mode up to 400kHz in set_bitrate (!1203)

Mohamed Ayman (@mohamedayman23) gitlab at rtems.org
Thu Apr 16 08:18:49 UTC 2026




Mohamed Ayman commented on a discussion: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1203#note_148598


Hi Dr. @gedare 👋,

The fix was tested using two plain-C unit test files compiled and run on a Linux, as all registers were stubbed in software. The first file (after adding my changes) covers 30 cases across standard mode, fast mode, boundary/error conditions, and mode transitions: **all passing**. 

The second file has both the original logic code and the modified one, the original fails 11 of 13 tests, while the fixed version passes all 13, confirming the fix works without breaking anything.

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1203#note_148598
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/20260416/8aab84ca/attachment.htm>


More information about the bugs mailing list