This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Generating interrupts in RTX51 Tiny applications

I am having problems generating serial port (RI and TI) interrupts in an application that I have.
I have two functions being running with Round Robin disabled. Both functions send signals to each other when the tasks need to switch.
I've gone through the threads, and tried to follow the instructions given when other people had similar problems, but none of that is working for me.
I am also using Timer 2 for Uart 0, and timer 1 for uart 1. Interrupt for both UARTs are enabled.
I can only set the priorities for both interrupts as high. I tried doing this but it didn't seem to help.

Any ideas, thoughts or suggestions?

Parents
  • RTX51Tiny should be using Timer1, not your UART function.
    Are you attempting to run two UARTS? If so, look again at the 'Traffic' example running a single UART with Xmit and Receive and RTX51Tiny.
    Get the example running and then just duplicate the serail functions for the second UART.
    If you are attempting to run two UARTs, use timer2 for both UARTs unless you are attempting to run at two different baud rates.

Reply
  • RTX51Tiny should be using Timer1, not your UART function.
    Are you attempting to run two UARTS? If so, look again at the 'Traffic' example running a single UART with Xmit and Receive and RTX51Tiny.
    Get the example running and then just duplicate the serail functions for the second UART.
    If you are attempting to run two UARTs, use timer2 for both UARTs unless you are attempting to run at two different baud rates.

Children