Strictly necessary cookies are on by default and cannot be turned off. Functional, Performance and Tracking/targeting/sharing cookies can be turned on below based on your preferences (this banner will remain available for you to accept cookies). You may change your cookie settings by deleting cookies from your browser. Then this banner will appear again. You can learn more details about cookies HERE.
Strictly necessary (always on)
Functional, Performance and Tracking/targeting/sharing (default off)
I have an issue I am trying to track down and am wondering if anyone here has any insight. The entire chip (CY8C9540) crashes/resets when toggling certain input pins (P1_B6 and P1_B7). Every pin on that port is configured the same (pulled up) and are also used as inputs, but these two will periodically (roughly 50% of the time) reset the entire chip when pulled low. The other inputs work fine and as expected. The only thing I can think of is maybe the problem is related to these pins also sharing I2C address functionality, but pin A0 is pulled hard to ground, so they should be out of that picture. Has anyone else ran into this issue of have any ideas for me to try? Thanks.
Scoping the lines helped diagnose the issue. It turned out that the debounce circuit was the culprit. It was imparting too negative of a voltage for too long on those pins. On other pins, it was fine for some reason though. Removing the debounce capacitors and/or adding a series resistor to the input switch (reed style float sensor) fixed the problem.