Re: More I2C timeout fixes [arch/arm/src/lpc17xx_40xx/lpc17_40_i2c.c]

2020-03-02 Thread Augusto Fraga Giachero
Thanks Nathan! Em seg, 2 de mar de 2020 18:07, Nathan Hartman escreveu: > On Mon, Mar 2, 2020 at 2:46 PM Augusto Fraga Giachero > wrote: > > I experienced some crashes when using I2C devices with lpc1769 micros > > (again). I found that the root cause of this behaviour is a race > > condition i

Re: More I2C timeout fixes [arch/arm/src/lpc17xx_40xx/lpc17_40_i2c.c]

2020-03-02 Thread Nathan Hartman
On Mon, Mar 2, 2020 at 2:46 PM Augusto Fraga Giachero wrote: > I experienced some crashes when using I2C devices with lpc1769 micros > (again). I found that the root cause of this behaviour is a race > condition in which nxsem_wait(&priv->wait) inside lpc17_40_i2c_start() > doesn't resume fast eno