Edit postDelete postReport this postReply with quote ECIO 24/40 PIC Problem with RX interrupt
by beckemic on Thu Dec 10, 2009 1:09 pm
Hi!
The Problem seems to be solved. But it only works if:
1. Before the interrupt is enabled the port must be read out.
2. The implemented RXINT does not work. It ...
Search found 3 matches
- Thu Dec 10, 2009 1:12 pm
- Forum: Flowcode V2 & V3
- Topic: PIC18F4620 RS232 CUSTOM INT
- Replies: 7
- Views: 7684
- Thu Dec 10, 2009 1:09 pm
- Forum: General Programming
- Topic: ECIO 24/40 PIC Problem with RX interrupt
- Replies: 0
- Views: 3505
ECIO 24/40 PIC Problem with RX interrupt
Hi!
The Problem seems to be solved. But it only works if:
1. Before the interrupt is enabled the port must be read out.
2. The implemented RXINT does not work. It must be written as a customer interrupt:
enable code:
set_bit(intcon, GIE);
set_bit(intcon, PEIE);
set_bit(pie1, RCIE);
handler ...
The Problem seems to be solved. But it only works if:
1. Before the interrupt is enabled the port must be read out.
2. The implemented RXINT does not work. It must be written as a customer interrupt:
enable code:
set_bit(intcon, GIE);
set_bit(intcon, PEIE);
set_bit(pie1, RCIE);
handler ...
- Thu Dec 10, 2009 10:01 am
- Forum: Flowcode V2 & V3
- Topic: PIC18F4620 RS232 CUSTOM INT
- Replies: 7
- Views: 7684
Re: PIC18F4620 RS232 CUSTOM INT
Hi!
I have the ECIO28 and ECIO40 MCU with PICs. I try to write the custom interrupt. But on the hardware it does not work. I think there is a problem in the chip setting. Can you tell me whether I should have a special chip setting? What else I can do wrong? The other Interrupts work well. Perhaps ...
I have the ECIO28 and ECIO40 MCU with PICs. I try to write the custom interrupt. But on the hardware it does not work. I think there is a problem in the chip setting. Can you tell me whether I should have a special chip setting? What else I can do wrong? The other Interrupts work well. Perhaps ...