Missing Processor Expert Component Property

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

Missing Processor Expert Component Property

ソリューションへジャンプ
2,428件の閲覧回数
PhilV
Contributor III

I am configuring a project so that it can operate on both MK60DN512VMD10, and as an alternative MK60DN512ZVMD10.

According to the 'About' in CodeWarrior I am using:

Processor Expert for MCU
Version 5.3.0
Build: b1221-0685

When I use the MK60DN512VMD10 cpu and configure an Init_ADC component type I am able to specify the Offset value, which when code generation is done produces the appropriate register setting:

Offset is present (and set to 4)Offset is present (and set to 4)

Generated code:

// from the comment block at the start of the file:

**              Compare function                           : Result < CV1
**            Offset                                       : 4
**            Voltage reference                            : Default pin pair

// then later in the Init function

  /* ADC1_OFS: ??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,OFS=4 */
  ADC1_OFS = (uint32_t)0x04UL;                  

 

However, when I switch to the MK60DN512ZVMD10 cpu the offset value is missing from the "Settings group":

'Z' cpu missing Offset'Z' cpu missing Offset

Unsurprisingly the generated code is then also missing the corresponding line from the comment block, and the actual write to the registers.

I have checked the reference manual for both CPUs and the register is present for both as far as I can tell.

Q1. Why is it missing - is this an error in the CPU definition that processor expert is using?
Q2. Are the CPU definitions in a form that can be updated? - I know some tools use xml files to control the editor fields; is there some way I can 'tell' Processor Expert that this register does exist for the 'Z' cpu?

Thanks!

ラベル(1)
0 件の賞賛
返信
1 解決策
2,369件の閲覧回数
ZhangJennie
NXP TechSupport
NXP TechSupport

HI PhilV 

I tested this with CW11.1, I couldn't reproduce it on MK60DN512ZVMD10. See below screenshot

ZhangJennie_0-1643096034600.png

 

ZhangJennie_1-1643096084266.png

 

Where is missing?

Thanks,

Jun Zhang

 

元の投稿で解決策を見る

5 返答(返信)
1,495件の閲覧回数
denial234
Contributor I

NXP is at the center of a chip supply shortage that has roiled the electronics industry for more than a year, unresolved due to soaring demand for electronic goods such as personal computers. Snags in the supply chain have crippled a wide swath of industries and hiked prices on some consumer goods.

https://customersurvey.onl/www-lowes-ca-survey/

 

0 件の賞賛
返信
2,370件の閲覧回数
ZhangJennie
NXP TechSupport
NXP TechSupport

HI PhilV 

I tested this with CW11.1, I couldn't reproduce it on MK60DN512ZVMD10. See below screenshot

ZhangJennie_0-1643096034600.png

 

ZhangJennie_1-1643096084266.png

 

Where is missing?

Thanks,

Jun Zhang

 

2,367件の閲覧回数
PhilV
Contributor III

@ZhangJennie - thanks for that, looks like I might need a CodeWarrior update, I am running CW10.2 and the Z device doesn't show it:

PhilV_0-1643096607652.png

I had assumed (apparently incorrectly!) that being an older device the support would be the same. I'll try updating and see if it 'appears'.

 

0 件の賞賛
返信
2,406件の閲覧回数
Mary11
Contributor I

Processor Expert for MCU Version 5.3.0. Build: b1221-0685. When I use the MK60DN512VMD10 cpu and configure an Init_ADC component type .

 

iMessage For Android

0 件の賞賛
返信
2,384件の閲覧回数
PhilV
Contributor III

Hi @Mary11 - Not sure what you were trying say above - looks like there was a problem posting the message?

0 件の賞賛
返信