This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

28335 SCI,sometimes the break point made the receive unavailable?

1. SCI B of 28335, data stream is always on sending.

2. All things is OK when the CPU run without any breakpoint.

3. When set a break point, and break, run, break, run...,sometimes, the receiver will unavailable, it will not reach the break point added in the receive ISR.

4. The most important thing is,after reset the SCI B, using the SCI RST bit in the watch window of CCS, all things OK.

Why?

Thanks very much.

  • Chris,

    Breakpoints can mess with the proper operation of communications peripherals like SCI.  Try setting the SOFT and FREE bits in SCIPRI to either 10 or 11 and re-running your code.  I think you'll see this behavior clear up.

    Regards,

    Trey

  • Trey,

      Thank you very much!

      After we set the FREE and SOFT as 1, it looks like more bad, and the SCI didn't work after clear and set SWRESET.

      The additional question is , will the problem appears on the platform of 2812 or 2808? We didn't find this problem on 2812/2808(the past 4 years) before we use 28335, is it good luck to us?(EDIT:We test again, it will appears on 2812/2808, it realy good luck of us.  :P    )

      Regards,

    Chris