MPC5748G

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

MPC5748G

2,266件の閲覧回数
2548903578
Contributor III

I don't quite understand the ME_RUN_PC0..7 register when using MPC5748G. The routine given on the official website is to enable ME_RUN_PC0 = 0x000000fe to enable all modes, but when I look at this register, why are 0-23 bits reserved? Doesn't it make sense to write the lower eight bits? Anyone explain it, thank you very much.

4 返答(返信)

2,107件の閲覧回数
petervlna
NXP TechSupport
NXP TechSupport

Hi,

Well it is enough to set just 0x000000FC indeed.

Which will represents all modes enabled.

pastedImage_1.png

Doesn't it make sense to write the lower eight bits? Anyone explain it, thank you very much.

By writing 0x000000FC you will write the bits 24 to 29.

I do not understand where do you see the issue?

regards,

Peter

2,107件の閲覧回数
cholland
Contributor V

I often wondered that myself.

Your writing to register bits that are "read only".

The same goal could have been accomplished with a write of just 0xFC.

In this particular case, the bits are '0' and perhaps it does not matter, which is what I am assuming.

I wonder about cases where the bits are reserved? Would wringing to those bits matter?

0 件の賞賛
返信

2,107件の閲覧回数
petervlna
NXP TechSupport
NXP TechSupport

No,

once the bits are read only you cant write to them, The write will be ignored.

regards,

Peter

2,107件の閲覧回数
2548903578
Contributor III

I already understand, thank you

0 件の賞賛
返信