Clock Monitoring Unit Examples of S32K3

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

Clock Monitoring Unit Examples of S32K3

1,045 Views
P_S7
Contributor I

Hello There,

I'm looking for Clock Monitoring Unit Examples in K358. Tried seeing those in RTD, CMU features are not Implemented in the Examples. I configure these in EB Tresos Studio, I'm not sure about the correct way of enabling CMU

In MCAL MCU drivers. In Port->Mcu

1.MCU generalConfiguration:

                                                    McuEnableUSERmodeSuppoer-> Enabled

                                                    McuCmuNotification ->Enabled

 1.a)MCU ModuleConfiguration:

                                                    ClockFailure Notification-> Enabled

 

2.MCUClockSettingsconfig : Mcuclkmonitor

                                                   McuClkMonitor_0->Enabled

                                                   McuClkMonitor_1->Enabled

                                                   McuClkMonitor_2->Enabled

Still facing Some compilation switch macro errors.

CLOCK_IP_ENABLE_USER_MODE_SUPPORT,

CLOCK_IP_REGISTER_VALUES_OPTIMIZATION and

CLOCK_IP_CMU_FC_FCE_REF_CNT_LFREF_HFREF_TRUSTED_CALL.

Kindly give some suggestion on this.

 

Thanks. 

 

 

 

 

0 Kudos
Reply
3 Replies

1,023 Views
nxf78987
NXP Employee
NXP Employee

Hi P_S7,

Did you add  "MCAL_ENABLE_USER_MODE_SUPPORT" into the makefile?

nxf78987_1-1671007499084.png

Best regards,

Dan

0 Kudos
Reply

1,013 Views
P_S7
Contributor I
Hi @nxf78987,
I enabled this macro using EBT Studio.
0 Kudos
Reply

1,005 Views
nxf78987
NXP Employee
NXP Employee

Hi P_S7,

Follow the UM file, you need to add this macro to the makefile.

Best regards,

Dan

0 Kudos
Reply