Question about interrupts - MC9S08AW60

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Question about interrupts - MC9S08AW60

1,334 Views
admin
Specialist II

Hi. I'm using MC9S08AW60 MCU. I would like to ask if I'm able to use interrupts for pins that are not assigned to any "special" functions. For example, the pins PTE0 and PTE1 also function as the SCI1 Receive and Transmit interface, therefore, by checking the datasheet, I'm able to use a particular interrupt vector number (17 in this case) to activate the SCI.

 

However, the pins PTF6 and PTF7 are not connected to any "special" functions like the SCI or TPM. I've checked the pin connections already. Am I able to create an interrupt by using these 2 pins? From the datasheet, it says vector numbers 26 through 31 are unused vector space that are available for user program. Not sure if I can assign PTF6 and PTF7 to them though  

 

Added p/n to subject.

Message Edited by NLFSJ on 2009-03-19 12:35 PM
Labels (1)
0 Kudos
2 Replies

233 Views
eckhard
Contributor V

Hello,

 

you can not assign interrupt vectors. This is done in Hardware.  If you need interrupts on input pins try to use KBI ports or use the IRQ Pin and check the port pins in your IRQ isr. Maybe some external extra logic is needed for that.

 

Eckhard 

0 Kudos

233 Views
admin
Specialist II
Ic. Thx for the reply :smileyhappy:
0 Kudos