Initialization of Reset pin for MKL15Z64VTF4 with Codewarrior (rev. 10.3) and Processor Expert

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

Initialization of Reset pin for MKL15Z64VTF4 with Codewarrior (rev. 10.3) and Processor Expert

935件の閲覧回数
sebastianoresti
Contributor I

Hello everybody,

 

I have the following specific question relevant to the way Processor Expert initializes the Reset pin for the MKL15Z64VTF4 microcontroller.

 

I want this pin to be used as Reset pin, then let Processor Expert auto-generate the code.

 

This is what I get (I am only reporting the code snippet of interest):

 

  /* PORTA_PCR20: ISF=0,MUX=7 */

  PORTA_PCR20 = (uint32_t)((PORTA_PCR20 & (uint32_t)~(uint32_t)(

                 PORT_PCR_ISF_MASK

                )) | (uint32_t)(

                 PORT_PCR_MUX(0x07)

                ));                                                 

 

which is basically equivalent to:

PORTA_PCR20 = 0x00000700;  /* ISF = 0, MUX = 7 */    <== this sets the Alternative 7 configuration

 

Now, according to the latest version of the datasheet of this microcontroller (rev. 3, 9/19/2012) available on the Freescale website, the PTA20 pin only considers the following two initialization possibilities:

 

- Default (RESET_b)

- ALT1 (PTA20)

 

Therefore, no ALT7 initialization is mentioned in the Datasheet.

 

Should the Datasheet be updated or there is an error in the Processor Expert?

 

Thanks.

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

827件の閲覧回数
Jorge_Gonzalez
NXP Employee
NXP Employee

Hello Sebastiano:

The documentation should have RESET_B in ALT7 instead of being blank. Sorry for this missing information, I have reported this. The Processor expert code is correct.

Hope this helps!

/Jorge Gonzalez

0 件の賞賛
返信

827件の閲覧回数
sebastianoresti
Contributor I

Dear Jorge,

thanks a lot for your clarification.

Kind regards,

Sebastiano

Da: Jorge_Gonzalez

Inviato: mercoledì 26 febbraio 2014 1.00

A: Restifo Sebastiano

Oggetto: Re: - Initialization of Reset pin for MKL15Z64VTF4 with Codewarrior (rev. 10.3) and Processor Expert

<https://community.freescale.com/>

Initialization of Reset pin for MKL15Z64VTF4 with Codewarrior (rev. 10.3) and Processor Expert

reply from Jorge_Gonzalez<https://community.freescale.com/people/Jorge_Gonzalez?et=watches.email.thread> in CodeWarrior Development Tools - View the full discussion<https://community.freescale.com/message/383360?et=watches.email.thread#383360>

0 件の賞賛
返信