I2C fallback driver bug Topic is solved

Report here problems in any of ChibiOS components. This forum is NOT for support.
zardos8
Posts: 2
Joined: Tue Oct 31, 2017 10:36 am
Been thanked: 1 time

I2C fallback driver bug  Topic is solved

Postby zardos8 » Tue Oct 31, 2017 2:09 pm

Hi,
i have communication problem with slave device using fallback (bit bang) i2c driver. After some investigations, i identified problem in i2c_lld_master_transmit_timeout function - if rxbytes != 0 master after restart condition does not send slave address with read flag. Using corrected code in attachment, problem was fixed

Chibios version - 17.6.0,
GCC version - 6.3 2017q1,
Custom board,
I2C master - STM32F030x6
I2C slave - MLX90614 with PEC using
Attachments
hal_i2c_lld.c.zip
(2.69 KiB) Downloaded 138 times

User avatar
Giovanni
Site Admin
Posts: 14444
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy
Has thanked: 1074 times
Been thanked: 921 times
Contact:

Re: I2C fallback driver bug

Postby Giovanni » Tue Oct 31, 2017 2:23 pm

Hi,

Thank you, that driver has never been tested, I had to switch to other things, so I appreciate any feedback.

Fixed as bug #900.

Giovanni


Return to “Bug Reports”

Who is online

Users browsing this forum: No registered users and 8 guests