I am using Port 0 to write to an LCD and Port 1 to communicate over my RS485 network. The data on the RS485 is more important than writing to my screen. I can set my serial interrupt priority to high by setting PS = 1 but is there any way to set Port 1's priority higher than Port 0? I am using TI's MSC120Y5.
Thanks, Paul
but is there any way to set Port 1's priority higher than Port 0? HUH? the 'priority' of a port write/read is the priority of the code doing it NOT the port
Erik
Sorry Erik, that's what I meant. Is there anyway to set Port 1's ISR higher than Port 0's ISR.
any ISR can be set to any priority (1 of 2 in the 'traditional', 1 of 4 in many modern derivatives) there is (in no chip I know of) a 'port priority', the priorities are based on interrupt type.
Erik,
Again I have mislead you.
I understand there is no such thing as port priority. PS = 1 sets the serial interrupt at a high priority for both Port 0 and Port 1. I would like to know if there is anyway to set the serial interrupt generated by Port 1 higher than the serial interrupt generated by Port 0.
Have you asked TI's tech support?
It's a property of the chip - not the tools.
Thanks Andrew. That was going to be my next move. I wasn't sure if anyone here was familiar with that chip.