Hello Community,
I am wondering why ddr_init() takes long time on M7 core in S32G2 platform.
When I measure the time, it took about 720ms.
DDR code was generated using S32 Debug Probe on S32DS DDR configuration tool.
And the result value of ddr_init is OK.
Please let me know why it took long time in M7 core.
Thanks,
Harry
Solved! Go to Solution.
Hello Jeoy,
I had a mistake on setting DDR clock.
It is little difficult to set clock in Mcu MCAL(AUTOSAR) module.
Anyway, after I set the correct DDR clock, it took 200ms and DDR is also working.
So, I believe I can close this ticket.
Thanks,
Harry
hi,harry_choi
In order to provide you with better support, do you use custom boards? If not, is it an RDB or EVB board?
In addition, which version of RTD do you use? Can you give me more detailed information about how you configure ddr?
BR
Joey
Hello Joey,
I used below DDR configuration in S32DS and generated ddr codes.
I am developing on my custom board not on EVB using GoldVIP v1.12.0(SW32_RTD_4_4_2_0_0_D2105).
Normally how long does it take to init ddr on M7 core?
Thanks,
Harry
hi,harry_choi
Thank you for your reply.
We do not provide the initialization procedure of M core DDR, and we cannot provide you with an accurate initialization time. However, when the M core is up to 400MHz to initialize the DDR register, the time should not need as long as you mentioned, and the specific initialization performance is recommended to use debugging tools to trace debugging.
BR
Joey
Hello Jeoy,
I had a mistake on setting DDR clock.
It is little difficult to set clock in Mcu MCAL(AUTOSAR) module.
Anyway, after I set the correct DDR clock, it took 200ms and DDR is also working.
So, I believe I can close this ticket.
Thanks,
Harry