You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by "jnippula (via GitHub)" <gi...@apache.org> on 2023/03/02 12:15:23 UTC

[GitHub] [nuttx] jnippula opened a new pull request, #8701: clear i2c ints before the transfer starts

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

   ## Summary
   In some state values the transfer is restarted in irq handler and the interrupts are disabled in the end of the function after the transfer is started. This may cause early interrupts to be accidentally cleared before they are handled leading timeout error. Interrupt clearing should be done before the transfer is restarted.
   
   ## Impact
   If interrupts are cleared before the transfer restart the slow bus/memory access does not affect to the timing of the start/clear operations and interrupts are not accidentally cleared.
   
   ## Testing
   Running heavy load in other operating system in dual OS setup to see there is no issues in i2c transfers.
   


-- 
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


[GitHub] [nuttx] xiaoxiang781216 merged pull request #8701: mpfs:clear i2c ints before the transfer starts

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


-- 
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