3 Replies Latest reply on Aug 24, 2016 6:47 AM by jofic_334026

    I2C error = CyHalt()


      I'm using a PSoC 5LP to control a PCA functional test fixture (a.k.a. bed-of-nails). An operator can open the lid of the tester at any time during the test. I've found that if the lid is opened at exactly the right time it will cause the I2C component to error out in several different ways and I can't recover. Sometimes it ends up at CyHalt or at one of the blocking statements (i.e. the 'while' loops) in the I2C auto-generated code.


                What is the best way to clear I2C errors that may occur due to opening the lid randomly?