AnsweredAssumed Answered

K82 : access to VBAT and SYS register files

Question asked by Eugene Hiihtaja on Dec 3, 2018
Latest reply on Dec 4, 2018 by Mark Butcher

Hi !


It is not so clear everything about SYS and VBAT register files.


Are they just memory areas what mapped to memory 


0x40041000 System Register file

0x4003E000 VBAT register file




I can see this addresses in AIPS0 tables.


But can access with User privileges given to those areas ?


Also in MK82F25615.h VBAT register file defines as 8 dword long only. Should it be 32 dwords long ?



/** RFVBAT - Register Layout Typedef */
typedef struct {
__IO uint32_t REG[8]; /**< VBAT register file register, array offset: 0x0, array step: 0x4 */
} RFVBAT_Type;