Hello,
When a win-command is used, the accessing point of tram is always same for each loop-iteration.
E.g: win .cmplx .cmplx_win .nosft, OUTPUT_RBIN_PER_CH, OR_1_64_0, OR_1_64_0, 0x1, 0x1, TR_0_162_0, .mod0, 0x0
I need to add increment for each loop-iteration, something like this:
win .cmplx .cmplx_win .nosft, OUTPUT_RBIN_PER_CH, OR_1_64_0, OR_1_64_0, 0x1, 0x1, TR_0_162_0 +increment, .mod0, 0x0
How to do it?
Hello Peter,
Is the indirect memory addressing possible for MULT_MOD = 2 (multiple coefficients)?
For that piece of line I am getting a compiler-error (see attached file):
win.ind .cmplx .cmplx_win .nosft, OUTPUT_RBIN_PER_CH, OR_1_64_0, OR_1_64_0, 0x1, 0x1, WR15, .mod0, 0x1
Hello,
The following instructions may helps
win.ind .2x .cmplx .cmplx_win .nosft, 20, WR_0, 1, 1, WR_8, .mod0, 1
the spt explorer is easier to choose the spt instruction, see attached picture
Best regards,
Peter
Hello,
the spt"Win.ind " instruction support the "indirect memory addressing", the SRC_ADD and DEST_ADD are contained in the image part and real part of work register , at the same time, the MULT_COEF_ADD can also get from either “Work register” or “twiddle Ram” . see the attached picture. if select the work register to pass the "mult_coeff_addr",the work register content can be easy to update in loop-iteration, it would satisfy your requirement.
Best regards,
Peter
Hello,
I have asked SPT expert for feedback.
Best regards,
Peter
1. Your screen-shot of docu and commands-syntax (without x) looks different then mine (see my attachment).
I am using SAF85XX .
your syntax: win.ind .2x .cmplx .cmplx_win .nosft, 20, WR_0, 1, 1, WR_8, .mod0, 1
mine syntax:win.ind .cmplx .cmplx_win .nosft, 20, WR_0x0, 0x1, 0x1, WR_8, .mod0, 0x1
2. How to open SPT-Explorer in Design Studio. Do I need extra toolbox?
Hello,
I though you were using SPT3.1 as you did not share device . my test is based on R45. SPT3.4 should be similar.
After installing "Radar extension package for SF85xx ", You can click"Window->show view->other-> spt explorer" to open SPT3.4 explorer. The SPT Explorer view displays elements in a tree format when mylibrary.psptfile is chosen in src folder of the project in the Project Explorer view or opened in the Editor area. please see the "SPT Explorer view" in S32DS help.
Best regards,
Peter