I-bit feature implementation on S12Z magniV

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

I-bit feature implementation on S12Z magniV

999件の閲覧回数
ikkishingu
Contributor II

Hello,

I have a question about S12Z MagniV(e.g.S12ZVM).

 

About interrupt, where I-bit mask/unmask feature is implemented?

On S12Z CPU? Or INT module?

I cannot find I-bit signal path on device RM and S12Z core manual.

 

Best Regards,

Ikki

ラベル(1)
0 件の賞賛
返信
3 返答(返信)

820件の閲覧回数
lama
NXP TechSupport
NXP TechSupport

Hi Ikki,

The I-bit is a part of CPU register CCR. The value of bit is connected to an interrupt module S12ZINTV0.

The picture is similar to previous MCUs, Figure 1-1 in http://www.nxp.com/files/microcontrollers/doc/ref_manual/S12INTV1.pdf

Best regards,

Ladislav

0 件の賞賛
返信

820件の閲覧回数
ikkishingu
Contributor II

Hi lama,

From your commnent, I imagine the following signal path/connection.

Ibit_mask.png

My understanding summary:
1. SEI/CLI instructions act for CCR I-bit
2. I-bit set/clear status signal is connected to INT modules
3. I-bit set/clear status signal and each peripheral interrupt signal are muxed in INT modules
  INT module judges Interrupt release or pending based on these signals and register settings

  (e.g. PRIOLVL[2:0] in S12Z INT module)
4. Output signals are connected to CPU

Is my understanding correct?
If not, could you point out the wrong point/description?

Best Regards,

Ikki

0 件の賞賛
返信

820件の閲覧回数
lama
NXP TechSupport
NXP TechSupport

Hi Ikki,

First of all I am sorry for delay because of vacation.

If I have not missed anything then your description is OK.

I have also asked Radek for double check.

BTW; I really do not understand why you need such an info. From user point of view it is enough to see it as a black box and just understand interrupt selection, nesting possibilities and setup.

Best regards,

Ladislav

0 件の賞賛
返信