5744P PMC_REE_0 initial setting

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

5744P PMC_REE_0 initial setting

582 Views
fiorenzosalvag1
Contributor I

We would want to disable reset generation on HVD/LVD event, using the PMC_REE_0 register.

From the user manual we learn that the initial setup is read from Flash during boot sequence and cannot be changed thereafter.

Where is located this setting in Flash ?

Is it possible to change it ?

Labels (1)
0 Kudos
2 Replies

517 Views
fiorenzosalvag1
Contributor I

Thanks Peter, this helps a lot.

But what about the algorithm for the spread triple voting data encoding ?

9.2.1.3 Spread triple voting
DCF clients that use spread triple voting have three copies of the register which are
individually addressed and where the data is stored in three different formats.

I was not able to find anythings about it in the user manual, nor on the NXP web site.

Whit reference to PMC_REE, I want to set

bit 0 : VDD3RES_C       = 0

bit 1 : VDD3RES_H       = 0

bit 2 : VDD4RES_C       = 0

bit 3 : VDD6RES_C       = 0

bit 4 :VDD6RES_F        = 1

bit 5 : VDD6RES_IM     = 1

bit 6 : VDD6RES_ADC  =1

bit 7 : VDD6RES_0        =1

Using a Lauterbach, I have tried the following

    data.set 0x00400218 %QUAD 0x000000F000400224 ;    -> first data value : 0x0000_00F0
    data.set 0x00400220 %QUAD 0xFFFFFF0F00400228 ; -> second data value : 0xFFFF_FF0F
    data.set 0x00400228 %QUAD 0x0000007800400230 ;  -> third data value : 0x0000_0078

but now the target doesn't start anymore and the Lauterbach is no more able to attach it

0 Kudos

517 Views
petervlna
NXP TechSupport
NXP TechSupport

Hi,

The PMC_REE_0 default register content after reset is loaded from UTEST memory.

If you want to change the PMC_REE_0 register reset values, you must program DCF record accordingly.

This is described in reference manual Table 9-1. Clients which can be set by the user.

pastedImage_2.png

In order to understand how to program DCF records there is separate chapter in reference manual aimed at DCF.

Peter

0 Kudos