is AppSptTramCheck(S32R274) necessary?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

is AppSptTramCheck(S32R274) necessary?

跳至解决方案
1,529 次查看
Durant-Harden-Irving
Contributor III

Hello,

AppSptTramCheck function is called by AppRadarProc(S32R274 Demo code),

My question is:

1. What does tram check mean? I can not find the details in RM.

2. Is the tram check necessary?

 

THanks!

 

MF
0 项奖励
1 解答
1,520 次查看
b41937
NXP Employee
NXP Employee

Hi.

Background: 

In order to perform FFT and beamforming, SPT kernels need auxiliary vectors such as twiddles, fft windows, steering vectors etc. These need to be given by the user/app as they are not generated inside the SPT. As an optimization proposal in the reference implementation of the SPT kernels, these vectors are transferred inside the TRAM memory of the SPT by the RsdkSptInit....  functions at the begining of the processing flow (see AppSptKernelsInit function in the app).

Answer:

Tram check functions verify that the SPT TRAM memory has not been corrupted. It is not a mandatory check for the SPT to function properly, it is a safety mechanism/check. The necessity of using this procedure is given by the safety requirements of the user application.

在原帖中查看解决方案

4 回复数
1,506 次查看
b41937
NXP Employee
NXP Employee

The API of the function is described in the RSDK User Manual. The detailed design is not available, just like every other SPT kernel, it is reference code.

0 项奖励
1,504 次查看
Durant-Harden-Irving
Contributor III

Get it, thanks!

MF
0 项奖励
1,521 次查看
b41937
NXP Employee
NXP Employee

Hi.

Background: 

In order to perform FFT and beamforming, SPT kernels need auxiliary vectors such as twiddles, fft windows, steering vectors etc. These need to be given by the user/app as they are not generated inside the SPT. As an optimization proposal in the reference implementation of the SPT kernels, these vectors are transferred inside the TRAM memory of the SPT by the RsdkSptInit....  functions at the begining of the processing flow (see AppSptKernelsInit function in the app).

Answer:

Tram check functions verify that the SPT TRAM memory has not been corrupted. It is not a mandatory check for the SPT to function properly, it is a safety mechanism/check. The necessity of using this procedure is given by the safety requirements of the user application.

1,514 次查看
Durant-Harden-Irving
Contributor III

Thanks!

And is there documents describing the detail of the TRAM check?

MF
0 项奖励