SPT3.1 Can I change OUTPUT Memory layout:WR_2?

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

SPT3.1 Can I change OUTPUT Memory layout:WR_2?

ソリューションへジャンプ
548件の閲覧回数
Shi_test
Contributor III

I want to change 512-128-4 OUTPUT Memory layout:WR_2.There is WR_2 :

Shi_test_0-1679910809406.png

But I got wrong result(left is WR_2,right is using WR_6 change WR_2 ):

Shi_test_1-1679910853553.png

  • That means we can't to change WR_2?

 

0 件の賞賛
返信
1 解決策
524件の閲覧回数
petervlna
NXP TechSupport
NXP TechSupport

Hello,

I am not clear what kind of memory layout you want to apply, I can only provide some advice before you provide more details:(SPT3.1 should only in S32R45.)

1. please note the parameter of the sptContext structure are loaded to WRx in order. should check that Parameters in WR_6 are valid in kernel debugging.

2. WR2 address is used as input parameter, the address of SRAM offset in WR2 will be copied to image part of WR_13, or used in WR_14. so developers should take care of these output address WRX if want apply new memory layout. as well as vector length used in the PDMA, and offset steps in WR_15. see attached picture.

3. It is not easy to modify the SPT kernel if customer is not familiar with the SPT, I recommend read the "SPT_Kernels_RRM_Design_Document.pdf "to know more about the RSDK SPT Kernel data organization and code flow. path: S32R45_RSDK__1.0.0\Docs\SPT\Kernels_data_flow\S32R45\SPT_Kernels_RRM_Design_Document.pdf.

 

Best regards,

Peter

元の投稿で解決策を見る

0 件の賞賛
返信
2 返答(返信)
525件の閲覧回数
petervlna
NXP TechSupport
NXP TechSupport

Hello,

I am not clear what kind of memory layout you want to apply, I can only provide some advice before you provide more details:(SPT3.1 should only in S32R45.)

1. please note the parameter of the sptContext structure are loaded to WRx in order. should check that Parameters in WR_6 are valid in kernel debugging.

2. WR2 address is used as input parameter, the address of SRAM offset in WR2 will be copied to image part of WR_13, or used in WR_14. so developers should take care of these output address WRX if want apply new memory layout. as well as vector length used in the PDMA, and offset steps in WR_15. see attached picture.

3. It is not easy to modify the SPT kernel if customer is not familiar with the SPT, I recommend read the "SPT_Kernels_RRM_Design_Document.pdf "to know more about the RSDK SPT Kernel data organization and code flow. path: S32R45_RSDK__1.0.0\Docs\SPT\Kernels_data_flow\S32R45\SPT_Kernels_RRM_Design_Document.pdf.

 

Best regards,

Peter

0 件の賞賛
返信
536件の閲覧回数
petervlna
NXP TechSupport
NXP TechSupport

Hello,

I have asked RADAR team for clarification.

best regards,

Peter

0 件の賞賛
返信