Interrupt Lost

My device works well with UART in 57.6Kbps. But in 115.2Kbps, it seems that some data is lost. Since I do not disable interrupt in my own code, and the interrupt handler is enough fast. Is it possible the data is lost during some RTX function? And which functions will disable interrupt when they were called?
Thanks.

Parents
  • It's possible that your ISR takes too long to process the incoming char. That is, you receive more than 2 chars while processing the char that interrupted you.

    Or, you have other ISR's that delay your receive char ISR from running soon enough.

    Is your serial ISR long? Do you have other ISR's running? What chip are you using?

    - Mark

Reply
  • It's possible that your ISR takes too long to process the incoming char. That is, you receive more than 2 chars while processing the char that interrupted you.

    Or, you have other ISR's that delay your receive char ISR from running soon enough.

    Is your serial ISR long? Do you have other ISR's running? What chip are you using?

    - Mark

Children
More questions in this forum