S32R45:
The s32ds project is "RSDK_offline_example".
SPT:"range_1024smp_128crp_16ch.pspt"
I try "./xxx.elf" in S32R45 linux,but It seems to be stuck with "pdma" command in "range_1024smp_128crp_16ch.pspt".
This pic have pdma.
This pic not have pdma.
Has anyone tested it successfully?
已解决! 转到解答。
Hello,
So little information has been disclosed for analysis:
Best regards,
Peter
I tried to confirm that something was wrong with PDMA:
pdma.ind .signext .16cmplx .opram2sysram .sync .notrace .nocoherent, CHANNELS_NO*OUTPUT_SAMPLES_PER_CH, RSDK_SPT_CUBE_BASE_ADDR, WR_16, 0x0, 0x1, (8*(CHIRPS_PER_FRAME - 1)), 0x8
If PDMA is not stuck,terminal will have "times:1",but there is "0".
If i change ".sync" to "async",terminal will have "times 1".So i'm sure PDMA is not stuck.
And then i change "WR_16" to "WR_11",PDMA will go on.
So i check "WR_16":
add .noshift .mod24 WR_5, #(OR_2_0_0), WR_16
use the same method I find that "WR_5" is the source
I already know which parameter is the problem.
There is PDMA command:
pdma.ind .signext .16cmplx .opram2sysram .async .notrace .nocoherent, CHANNELS_NO*OUTPUT_SAMPLES_PER_CH, RSDK_SPT_CUBE_BASE_ADDR, WR_16, 0x0, 0x1, (8*(CHIRPS_PER_FRAME - 1)), 0x8
If I replace WE_16 with WR_20.He's going to succeed.
But i still don't know why.
There is Reference Manual pic about WR_16-31: