How to set Interrupt on M4 Core?

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

How to set Interrupt on M4 Core?

ソリューションへジャンプ
1,149件の閲覧回数
Nouchi
Senior Contributor II

Hello,

I'm trying to set up FTM interrupt from M4 core with MQX4.0.2, I use _int_install_isr, FTM Chan interrupt flags is set, but never branch to ISR function.

Something should be enabled somewhere, but don't know what.

Emmanuel

ラベル(2)
1 解決策
949件の閲覧回数
alejandrolozan1
NXP Employee
NXP Employee

Hi,

This is a code snippet that shows how to enable an ISR. You can take a look at the BSP source code and see how they are handled in the interrupt drivers.

_int_install_isr(sci_init_ptr->ERR_VECTOR, _kuart_int_err_isr, int_io_dev_ptr);
_bsp_int_init(sci_init_ptr->ERR_VECTOR, sci_init_ptr->ERR_PRIORITY, 0, TRUE);

I hope this helps,

Alejandro

元の投稿で解決策を見る

1 返信
950件の閲覧回数
alejandrolozan1
NXP Employee
NXP Employee

Hi,

This is a code snippet that shows how to enable an ISR. You can take a look at the BSP source code and see how they are handled in the interrupt drivers.

_int_install_isr(sci_init_ptr->ERR_VECTOR, _kuart_int_err_isr, int_io_dev_ptr);
_bsp_int_init(sci_init_ptr->ERR_VECTOR, sci_init_ptr->ERR_PRIORITY, 0, TRUE);

I hope this helps,

Alejandro