PIN Interrupt

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 
793件の閲覧回数
Sathiya_T
Contributor I

hi,

i am configure  PIN Interrupt in lpc55s16  (level sensitive or active level triggering) using below the registers:

Intr_No=0;

PINT->ISEL = (1<< LOW_LEVEL);

PINT->SIENR = 1UL << (uint32_t)Intr_No;

PINT->SIENF= 1UL << (uint32_t)Intr_No;

i want to configuration for using level sensitive active low, and active high

 

0 件の賞賛
返信
1 解決策
701件の閲覧回数
frank_m
Senior Contributor III

It seems you don't understand what "pin level interrupt" means in this context.
This term relates to the logic levels "H" and "L", which are defined and fixed by hardware and supply voltage. You cannot detect other voltage levels that way.

If this is your objective use an ADC, or specific external custom hardware.

元の投稿で解決策を見る

0 件の賞賛
返信
3 返答(返信)
747件の閲覧回数
Pablo_Ramos
NXP Employee
NXP Employee

The following SDK examples show you how to use the Pin interrupt & pattern match:

Pablo_Ramos_0-1713300899073.png

Hope it helps you!

 

0 件の賞賛
返信
706件の閲覧回数
Sathiya_T
Contributor I

In the SDK example pin interrupt level triggering interrurpt is worked but sometimes doesnt worked. controller not detect  varying voltage, 

using 3.3 v  controller is detect the interrupt in level triggering same LOW&HIGH.

as the same 1.2 v controller is not detected only sometimes i got interrupt.

interrupt detect voltage for controller is 0.8v but why? this not happened continue interrupt signal.

 

0 件の賞賛
返信
702件の閲覧回数
frank_m
Senior Contributor III

It seems you don't understand what "pin level interrupt" means in this context.
This term relates to the logic levels "H" and "L", which are defined and fixed by hardware and supply voltage. You cannot detect other voltage levels that way.

If this is your objective use an ADC, or specific external custom hardware.

0 件の賞賛
返信