MC9S08MP16 KBI problem

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

MC9S08MP16 KBI problem

599 Views
Maximus_KR
Contributor I

Hello.

Nowadays, i have some problem in Keyboard Interrupt function of MC9S08MP16.

The Port is PTD4/KBI3P4/PDB2OUT that is connected Hall effect sensor(open collector type).

also the Hall effect sensor input is connected to FTMCH1(to use as input capture function).

 

the problem is.

 

 - Port value is changed in debug mode well.

 - but, there's no KBI event.

   ( I already checked KBI Function by using push button switch so many times.

     I confirm, KBI initialize and setup are no problem..)

 - input capture interrupt is running well.

 

I wonder, Input capture interrupt well,,,,, but KBI no event?

 

I hope your advice..

 

Have a nice day~

 


 


Labels (1)
0 Kudos
Reply
1 Reply

373 Views
sandeepnaik
Contributor I

Have to checked for the polarity for interrupt event though this should not be a problem?

Have you acitivated pull-up resistor for that particular pin provided you are not using external pull up?

0 Kudos
Reply