XRDC clock enable

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

XRDC clock enable

Jump to solution
1,129 Views
sobo
Contributor III

Hello,

I'm using EB tresos with RTD 4.0.0 P20 D2403.

I don't find in  MCU => McuModeSettingConf=>McuPeripheral PRTN1_COFB0_CLKEN[REQ30] to enable the clock for the module ?

How can I enable the clock for XRDC ?

In the code when i call RM_init() I have got a hard fault in Xrdc_Ip_Init_Privileged()

 

Sophie

Tags (2)
0 Kudos
Reply
1 Solution
1,101 Views
sobo
Contributor III

It's on a S32K358.

after further tests, it's seems that it's because i don't configure XRDC memory domain correctly.

I only want to use SEMA42, and it's quite annoying because it's seems i must use XRDC that for now i don"t need.
There is another way to implement "spinlock" / atomic instruction on S32K358 ?

View solution in original post

0 Kudos
Reply
3 Replies
1,102 Views
sobo
Contributor III

It's on a S32K358.

after further tests, it's seems that it's because i don't configure XRDC memory domain correctly.

I only want to use SEMA42, and it's quite annoying because it's seems i must use XRDC that for now i don"t need.
There is another way to implement "spinlock" / atomic instruction on S32K358 ?

0 Kudos
Reply
1,093 Views
davidtosenovjan
NXP TechSupport
NXP TechSupport
 

No, it cannot be used separately. Trying to disable XRDC, having enabled SEMA42 lead in error.

image.png

0 Kudos
Reply
1,108 Views
davidtosenovjan
NXP TechSupport
NXP TechSupport

Which specific MCU derivative is the question related to?

0 Kudos
Reply