I am porting a 16F877 code to 18F452 but
it seems my program has problems with
interrupts.
Only RB0 EXT0 interrupt enabled. I send
"ISR" string for debugging from serial port
at the start of #INT_EXT.
Program sends ISR string continuously
even the RB0 is connected to GND and there is
no level change.
What's wrong?
___________________________
This message was ported from CCS's old forum
Original Post ID: 12919
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
Re: PIC18 & Interrupt
Posted: Fri Mar 21, 2003 11:50 am
:=I am porting a 16F877 code to 18F452 but
:=it seems my program has problems with
:=interrupts.
:=
:=Only RB0 EXT0 interrupt enabled. I send
:="ISR" string for debugging from serial port
:=at the start of #INT_EXT.
:=
:=Program sends ISR string continuously
:=even the RB0 is connected to GND and there is
:=no level change.
----------------------------------------------------
I don't have PCH, so I can't help much.
What's your version of the compiler ?
In the versions list, CCS has this statement:
3.125 A problem with interrupts getting disabled is fixed
___________________________
This message was ported from CCS's old forum
Original Post ID: 12928
SBK Guest
Re: PIC18 & Interrupt
Posted: Sun Mar 23, 2003 1:06 pm
Do I have to use #INT_EXT or peripheral interrupt for
B0 interrupt on 18F452?
my version is PCW 3.148
:=----------------------------------------------------
:=
:=I don't have PCH, so I can't help much.
:=What's your version of the compiler ?
:=In the versions list, CCS has this statement:
:=
:=3.125 A problem with interrupts getting disabled is fixed
___________________________
This message was ported from CCS's old forum
Original Post ID: 12975
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum