K82: access to System Register File and VBAT register file

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

K82: access to System Register File and VBAT register file

1,145件の閲覧回数
EugeneHiihtaja
Senior Contributor I

Hello !

Could you point me to application/examples for K82 for how-to access to

System Register File 32 byte and 128-byteVBAT register file.

Thank you !

Eugene

0 件の賞賛
返信
3 返答(返信)

1,031件の閲覧回数
EugeneHiihtaja
Senior Contributor I

Hi !

Looks like no any dependencies to RTC clock and line CLOCK_EnableClock(kCLOCK_Rtc0) is not mandatory

for read/write to those Register Files. And there are keep values over reboot operation.

But access with User priviliges cause BusFault.

How ro activate AIPSx type of restriction to those areas and have access with User privileges  and able to write protect it from Supervisor accesses ?

Regards,

Eugene

0 件の賞賛
返信

1,031件の閲覧回数
miduo
NXP Employee
NXP Employee

Hi,

You may would like to look at this post on how to access VBAT register

https://community.nxp.com/message/360029 

0 件の賞賛
返信

1,031件の閲覧回数
EugeneHiihtaja
Senior Contributor I

Hi !

Do I undestand right :

- VBAT and SR addresses window spaces mapped to AIPSx bridge areas directly

- As result access to VBAT&SR can't be protected by MPU or AIPSx bridge settings

  and it is possible to access to those spaces in User execution mode ( And Supervisor as well ) ?

- for enable access to VBAT & SR , bit29 ( RTC access control bit ) should be enabled in SIM_SCGC6 register ?

Regards,

Eugene

0 件の賞賛
返信