S32K344 Configuration of XRDC

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

S32K344 Configuration of XRDC

1,094 Views
esmax
Contributor III

Hello. We have a project based on S32K344. Everything is configured via Vector DaVinci Configurator. We have problems with spinlocks to synchronize cores. Vector said we need to configure XRDC module. Could you please tell me how to do this? We do not have this module in DaVinci Configurator project. 

0 Kudos
Reply
4 Replies

720 Views
MengWang1
Contributor I

 

After I configured XRDC, I could not access HSE, and I could not read the HSE version number successfully

0 Kudos
Reply

1,036 Views
Nhi_Nguyen
NXP Employee
NXP Employee

Hi Esmax,

There is an example that was attached to the package: Rm_Example_S32K344. You can refer to this example to see how did cores configure to access to memory regions/ peripherals. From version 300, you will not find the parameter MulticoreSupport in EB. For other modules, Multicore to support running on differences cores. For XRDC, its task is configure accessing of cores for peripherals/memory regions.

The example Rm_Example_S32K344, Domain 0 -> domain assignment: CM7_0 -> allow to access to Xrdc_0_PFLASH_0, don't allow to access to Xrdc_0_ADC_1.

If you run CM7_0 to Xrdc_0_ADC_1, you will get hardfault.

If you run CM7_1 to Xrdc_0_PFLASH_0, you will get hardfault.

Best regards,

Nhi

0 Kudos
Reply

1,053 Views
esmax
Contributor III

Hello. The problem is that OS spinlock doesn't work. Both cores can change data at any time. Do you have any detailed tutorials on how to configure XRDC for multicore systems? 

For example is this config correct?

esmax_0-1705394185515.png

When MultiCore Support is enabled I have an error  

esmax_1-1705394233120.png

 

0 Kudos
Reply

1,079 Views
Nhi_Nguyen
NXP Employee
NXP Employee

Hi @esmax ,

We doesn't support Davinci tool. We just support S32 Design Studio and EB tresos. It like that:

Nhi_Nguyen_0-1704874250281.pngNhi_Nguyen_1-1704874519823.png

Best regards,

Nhi

0 Kudos
Reply