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.
After I configured XRDC, I could not access HSE, and I could not read the HSE version number successfully
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
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?
When MultiCore Support is enabled I have an error
Hi @esmax ,
We doesn't support Davinci tool. We just support S32 Design Studio and EB tresos. It like that:
Best regards,
Nhi