XRDC clock enable

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

XRDC clock enable

跳至解决方案
1,107 次查看
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

标记 (2)
0 项奖励
回复
1 解答
1,079 次查看
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 项奖励
回复
3 回复数
1,080 次查看
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 项奖励
回复
1,071 次查看
davidtosenovjan
NXP TechSupport
NXP TechSupport
 

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

image.png

0 项奖励
回复
1,086 次查看
davidtosenovjan
NXP TechSupport
NXP TechSupport

Which specific MCU derivative is the question related to?

0 项奖励
回复