1 Reply Latest reply on Apr 5, 2018 7:50 AM by e.pratt_1639216

    PSoC4200L I2C_Master issue

    user_239277322

      Hi:

        I use PCoC4248AZI to do I2C Master communication in PSoC Creator 4.2

      i can stop at get data, but then the PSoC4 is running out.

      attach is my project. i don't know why? and  if I use  PSoC Creator 3.3, it is OK.

       

       

      1.JPG

      2.JPG

        • 1. Re: PSoC4200L I2C_Master issue
          e.pratt_1639216

          When you use the debug breakpoints, the peripherals still keep running, this will cause unexpected behavior in projects that use interrupts, timers, low power modes, etc. and are being breakpoint-stopped by the debugger.

          The "IntDefaultHandler" is a function that is jumped to whenever an unhandled interrupt occurs. This could include the I2C interrupts, a timer interrupt, a watchdog timer interrupt, etc.

          Check and see that you have interrupt handlers for all interrupts you are using in your project.