You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by "Igor-Misic (via GitHub)" <gi...@apache.org> on 2024/04/07 14:21:47 UTC

[PR] stm32h7/stm32_i2c: fix sending large data over i2c [nuttx]

Igor-Misic opened a new pull request, #12093:
URL: https://github.com/apache/nuttx/pull/12093

   This fixes a very nasty bug in the I2C driver for STM32H7 MCUs if anyone tries sending a chunk of data larger than 255 bytes. 
   For TC interrupt to be triggered NBYTES needs to be set before RELOAD is disabled, otherwise, an interrupt will never happen, and implemented logic for handling data larger than 255 bytes will not work. 
   


-- 
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: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] stm32h7/stm32_i2c: fix sending large data over i2c [nuttx]

Posted by "acassis (via GitHub)" <gi...@apache.org>.
acassis merged PR #12093:
URL: https://github.com/apache/nuttx/pull/12093


-- 
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: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] stm32h7/stm32_i2c: fix sending large data over i2c [nuttx]

Posted by "acassis (via GitHub)" <gi...@apache.org>.
acassis commented on PR #12093:
URL: https://github.com/apache/nuttx/pull/12093#issuecomment-2041544723

   Nice finding @Igor-Misic 


-- 
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: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org