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?
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.
No. RTX51-Tiny uses Timer0 only - Timer1 is free. Timer1 can be used only in RTX51-Full.
RTX tiny uses timer 0. Yes I am running at two different speeds. This is why I'm using Timer 1 for UART 1 and Timer 2 for UART 0. The problem is that the microcontroller is not interrupting. It appears as if the interrupt priorities are screwed up, but I'm not exactly sure where and how they get modified or how to fix it.
Your right of course. Timer 0 is the correct timer. I don't know what I was thinking at the time. I apologize for clouding the issue. Bradford
All the interrupts enabled have a priority of 0. I know that can't be right. Somehow somewhere the priority is screwed up, and I don't know what screws it up.