2004-08-12 05:01 AM
2004-08-11 12:52 AM
That seems very surprising. Can you attach a sample of your code. Also did you check by including just simple NOP instruction in your ISR, is it working.
And by what do mean by doesn't seem to continue. Do you mean that it is juts stuck in that ISR.2004-08-11 02:20 AM
I have emailed my code to you
Many Thanks2004-08-12 04:18 AM
In your setup.asm
PADDR and PAOR registers are FFh which means you have configured all your ports as Push-pull output. If you want to use PA0 as an Interrupt then you should configure these registers as PADDR=FEh and PAOR=FFh.2004-08-12 04:18 AM
I also noticed a problem in your main.asm you have referred to PADDR this is the data direction register. I am sure you want to turn the Port pin high in that case you should access the data register, PADR
[ This message was edited by: Ansh on 12-08-2004 17:33 ]2004-08-12 05:01 AM
I have now sorted my problem as outlined in an email I have sent you.
Many thanks for your help