JorgeGzm opened a new pull request, #20939:
URL: https://github.com/apache/nuttx/pull/20939

   ## Summary
   
   Fix the GD32VW55x I2C master after a NACK. The driver completed the
   transfer without flushing TDATA and without waiting for the STOP, so the
   next transfer sent a stale byte and could start on a busy bus.
   
   TDATA is now flushed and the transfer completes on STPDET, as in the
   GigaDevice firmware library and the GD32W51x driver. Also fixes an
   nxstyle indentation warning.
   
   ## Impact
   
   GD32VW55x I2C driver only.
   
   ## Testing
   
   GD32VW553K-START (`sht3x` config) with an SHT3x at 0x44: after a NACKed
   write to an absent address (`i2c set -a 0x50 -r 0x12 0x34`) the SHT3x
   reads failed before the fix and keep working after it.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to