PIC18F25k22 & RXINT Problem
Posted: Fri Nov 30, 2012 2:05 pm
Hi Guys,
Processor Pic18f25k22
Flowcode V5.4.00 (03.08.2012)
I have a problem relating to the RS232 communications ports and the RXINT function.
The problem I have is that the RXINT function does not seem to work on this processor in flowcode on the two communications ports, I have tested with a logic analyser and although the signals are getting to the processor the processor is not responding to the interrupt.
To test this I toggled a bit on port C (bit 1) when responding to the interrupt in the interrupt routine but clearly the interrupt is not being serviced as port C bit 1 does not toggle.
I do toggle the bit on port C before waiting for the received chars to ensure that the bit was in fact being toggled.
I’m attaching a simple program which I used to fault find along with a screen capture of the logic analyser showing that the bit is not being toggled and therefore the interrupt is not being serviced.
Could you take a look please as this problem stops me moving forward on the project?
Regards
Aj
The simple test flowcode:
Processor Pic18f25k22
Flowcode V5.4.00 (03.08.2012)
I have a problem relating to the RS232 communications ports and the RXINT function.
The problem I have is that the RXINT function does not seem to work on this processor in flowcode on the two communications ports, I have tested with a logic analyser and although the signals are getting to the processor the processor is not responding to the interrupt.
To test this I toggled a bit on port C (bit 1) when responding to the interrupt in the interrupt routine but clearly the interrupt is not being serviced as port C bit 1 does not toggle.
I do toggle the bit on port C before waiting for the received chars to ensure that the bit was in fact being toggled.
I’m attaching a simple program which I used to fault find along with a screen capture of the logic analyser showing that the bit is not being toggled and therefore the interrupt is not being serviced.
Could you take a look please as this problem stops me moving forward on the project?
Regards
Aj
The simple test flowcode: