I-bit feature implementation on S12Z magniV

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

I-bit feature implementation on S12Z magniV

1,443 次查看
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 回复数

1,264 次查看
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 项奖励
回复

1,264 次查看
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 项奖励
回复

1,264 次查看
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 项奖励
回复