Hello nxp technical support.
I'm using S32DS IDE version 3.6.2 and RTD version 6.0.0, I can't add the IP core of HSE in the interface of peripheral configuration, which may cause the configuration file can't generate the driver of hse_mu automatically, may I ask how to solve this problem?
BR/chenyuhang
Hi @lukaszadrapa.
Thank you for your reply, I have now installed the 6.0.0 QLP01 package and have been able to add the HSE IP core to the peripheral. I have one more question for you, I have added all the files under C:\NXP\HSE_FW_S32K344_0_2_55_0\hse_full_mem\interface to my project when I am using HSE, how should I add the Framework and services folder? (The project structure shown in the figure in the appendix is C:\NXP\S32K3_HSE_DemoExamples_1_0_0_0\S32K3_HSE_DemoExamples\Key Management\S32K344_DemoApp_SessionKeys), can I add it to the project through the peripheral configuration interface? Configuration interface to add to the project? Or do I need to manually paste these two folders into my own project? Also I read that nxp's China team has done HSE_Lib2.0, how can I get this information?
BR/chenyuhang
Hi @chenyuhang
It may happen that not all modules are included in RTD package. That’s the case of RTD 6.0.0 when Crypto driver was not available at that time. It was provided later in 6.0.0 QLP01 package:
In the release notes file, you can find that this package provides only Crypto driver, so you can install it on top of 6.0.0 package:
Regards,
Lukas
The framework is just pure C code, it’s can’t be added via the peripheral configuration interface. It should be added manually into your project.
And let me share an answer which I wrote earlier to another customer – there could be a problem with data cache:
“I can see that the framework is not completely ready for seamless implementation to RTD project. I just found out that all projects I have here have actually the cache disabled.
The framework uses an array of descriptors which are selected as needed in runtime. There’s a definition HSE_ENABLE_SHARED_MEM which can be used to force the array to shared region. However, this is not used by default and I can see that it’s not probably working because some weird address is used there.
So, take a look at implementation in hse_host.c and force the array of descriptors to no_cachable region too.”
Regarding HSE_Lib – this is a project of apps team in China and it is not publicly available. Please discuss this with local NXP FAE or distribution FAE.
Regards,
Lukas