Skip to main content
brian4
Associate III
August 12, 2004
Question

ST7 Lite

  • August 12, 2004
  • 14 replies
  • 1860 views
Posted on August 12, 2004 at 14:01

ST7 Lite

This topic has been closed for replies.

14 replies

brian4
brian4Author
Associate III
August 11, 2004
Posted on August 11, 2004 at 11:20

I have emailed my code to you

Many Thanks
anshul
Associate II
August 12, 2004
Posted on August 12, 2004 at 13:18

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 ]
anshul
Associate II
August 12, 2004
Posted on August 12, 2004 at 13:18

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.
brian4
brian4Author
Associate III
August 12, 2004
Posted on August 12, 2004 at 14:01

I have now sorted my problem as outlined in an email I have sent you.

Many thanks for your help