XRDC clock enable

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

XRDC clock enable

Jump to solution
1,466 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,438 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,439 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,430 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,445 Views
davidtosenovjan
NXP TechSupport
NXP TechSupport

Which specific MCU derivative is the question related to?

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2048201%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EXRDC%20clock%20enable%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2048201%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%2C%3CBR%20%2F%3E%3CBR%20%2F%3EI'm%20using%20EB%20tresos%20with%26nbsp%3B%3CSPAN%3ERTD%204.0.0%20P20%20D2403.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3EI%20don't%20find%20in%26nbsp%3B%20MCU%20%3D%26gt%3B%20McuModeSettingConf%3D%26gt%3BMcuPeripheral%26nbsp%3BPRTN1_COFB0_CLKEN%5BREQ30%5D%20to%20enable%20the%20clock%20for%20the%20module%20%3F%3C%2FP%3E%3CP%3EHow%20can%20I%20enable%20the%20clock%20for%20XRDC%20%3F%3C%2FP%3E%3CP%3EIn%20the%20code%20when%20i%20call%20RM_init()%20I%20have%20got%20a%20hard%20fault%20in%26nbsp%3BXrdc_Ip_Init_Privileged()%3C%2FP%3E%3CBR%20%2F%3E%3CP%3ESophie%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2048993%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20XRDC%20clock%20enable%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2048993%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CDIV%20id%3D%22tinyMceEditordavidtosenovjan_0%22%20class%3D%22mceNonEditable%20lia-copypaste-placeholder%22%3E%26nbsp%3B%3C%2FDIV%3E%0A%3CP%3ENo%2C%20it%20cannot%20be%20used%20separately.%20Trying%20to%20disable%20XRDC%2C%20having%20enabled%20SEMA42%20lead%20in%20error.%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22image.png%22%20style%3D%22width%3A%20969px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22image.png%22%20style%3D%22width%3A%20969px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F325143i420C18D52BB76524%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22image.png%22%20alt%3D%22image.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2048899%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20XRDC%20clock%20enable%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2048899%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EIt's%20on%20a%20S32K358.%3C%2FP%3E%3CP%3Eafter%20further%20tests%2C%20it's%20seems%20that%20it's%20because%20i%20don't%20configure%20XRDC%20memory%20domain%20correctly.%3CBR%20%2F%3E%3CBR%20%2F%3EI%20only%20want%20to%20use%20SEMA42%2C%20and%20it's%20quite%20annoying%20because%20it's%20seems%20i%20must%20use%20XRDC%20that%20for%20now%20i%20don%22t%20need.%3CBR%20%2F%3EThere%20is%20another%20way%20to%20implement%20%22spinlock%22%20%2F%20atomic%20instruction%20on%20S32K358%20%3F%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2048896%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20XRDC%20clock%20enable%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2048896%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EWhich%20specific%20MCU%20derivative%20is%20the%20question%20related%20to%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E