S32K312 to get random numbers

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

S32K312 to get random numbers

ソリューションへジャンプ
6,761件の閲覧回数
MengWang1
Contributor I

I want a sample S32K312 to get random numbers

0 件の賞賛
返信
1 解決策
6,734件の閲覧回数
lukaszadrapa
NXP TechSupport
NXP TechSupport

Attached is the same project ported to S32K312.
What I did:
- I installed fullmem firmware 0.2.6.0 to new S32K312 board (see FW_version.jpg)
- created new application project with RTD 2.0.2.
- added HSE module
- copied hse_interface files from firmware 0.2.6.0 folder to include folder in the project
- copied files from src folder (I just had to change s32k344.h to s32k312.h in some files)
- as I already mentioned, it is either necessary to disable data cache memory or the data structures needs to be forced to noncacheable space. In this project, I disabled the data cache - see screenshot cache.jpg, I deleted D_CACHE_ENABLE in Preprocessor
- and then you can see the result in result.jpg. Random number is generated and I got HSE_SRV_RSP_OK / 0x55A5AA33

元の投稿で解決策を見る

3 返答(返信)
4,596件の閲覧回数
joma
Contributor II

Unfortunately, I can't get it to run at the moment and therefore have the following question:

What do I have to adapt so that the project works for the S32K312 with RTD 5.0.0 and S32DS 3.6?

 

I have also tried it on the basis of the HSE_Install_FW example (project in the appendix). Unfortunately, I only get HSE_SRV_RSP_NOT_ALLOWED as response.

 

Could you help?

タグ(3)
0 件の賞賛
返信
4,594件の閲覧回数
joma
Contributor II
Installed HSE FW is Version 2.40
0 件の賞賛
返信
6,735件の閲覧回数
lukaszadrapa
NXP TechSupport
NXP TechSupport

Attached is the same project ported to S32K312.
What I did:
- I installed fullmem firmware 0.2.6.0 to new S32K312 board (see FW_version.jpg)
- created new application project with RTD 2.0.2.
- added HSE module
- copied hse_interface files from firmware 0.2.6.0 folder to include folder in the project
- copied files from src folder (I just had to change s32k344.h to s32k312.h in some files)
- as I already mentioned, it is either necessary to disable data cache memory or the data structures needs to be forced to noncacheable space. In this project, I disabled the data cache - see screenshot cache.jpg, I deleted D_CACHE_ENABLE in Preprocessor
- and then you can see the result in result.jpg. Random number is generated and I got HSE_SRV_RSP_OK / 0x55A5AA33