Skip to content
Snippets Groups Projects
  1. Jul 25, 2015
    • Erin Tomson's avatar
      Fix two bugs that can cause deadlock conditions when i2c bus errors occur. · 0bfeec7f
      Erin Tomson authored
      The first occurs when starting a read transaction from a slave that doesn't respond. The code would wait until the SB (slave on bus) bit is set in the INTFLAGS register, but when a nack occurs that never happens so we're stuck in an infinite loop. The fix is to also look for the MB flag to be set. If it is, issue a stop condition and return.
      
      The second happens when a bus error (ie, an illegal stop condition) occurs while sending data as a master. In that case we are waiting for the MB (master on bus) flag to be set. When a bus error occurs that never happens, so again we end up in an infinite loop. The fix here is to also look for the BUSERR flag to be set. If it is, return an error condition.
      0bfeec7f
  2. Jul 05, 2015
    • Cristian Maglie's avatar
      Uart: fix acknowledge of UART errors · 49fe4380
      Cristian Maglie authored
      This fix lock-ups on UART errors (for example when disconnecting
      and reconnecting RX/TX wires or if the method Serial.begin is
      called while another device is already transmitting).
      49fe4380
  3. Oct 14, 2014
  4. Oct 08, 2014
  5. Jul 25, 2014
  6. Jun 05, 2014
  7. Jun 02, 2014
  8. May 20, 2014
  9. May 19, 2014
  10. May 15, 2014
  11. May 13, 2014
  12. May 12, 2014
  13. May 09, 2014
  14. May 07, 2014
  15. May 06, 2014
  16. May 05, 2014
  17. Apr 28, 2014
  18. Apr 25, 2014
  19. Apr 24, 2014
Loading