Random number generation on S32K358
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello NXP community,
I'm currently trying to generate a random number via the HSE FW on S32K358 demo_board.
After sending the service request, the HSE FW (ab_swap) responds by HSE_SRV_RSP_NOT_SUPPORTED .
Is there any reason for that ?
Thank you for your support.
Best regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi NXP community,
The issue has been solved. It was due to data cache.
The solution is either to disable data cache or force the data structures to non_cacheable memory.
Best regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Any other suggestions ?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello @IAussman,
Any other suggestions? => In my opinion, there is no other way to resolve this issue because in the HSE FW reference manual was noted that: "The data provided by the host (including the service descriptor) must be provided from non-cacheable memory ranges."
Best regards,
Dan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I've solved the issue by flushing and deactivating the cache memory before the random number generation and reactivating it after that. Though it is not the optimal solution.
In the RTD version 1.0.0 I haven't seen this issue, I've encountered it only on RTD version 3.0.0 P01.
Best regards,

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello @IAussman,
As I know, this issue depends on the HSE FW version. Did you use the HSE FW version for K3 1.0.0 different from 3.0.0 P01?
Best regards,
Dan
