ddr_init takes long time on M7 core in S32G2 platform

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

ddr_init takes long time on M7 core in S32G2 platform

ソリューションへジャンプ
1,257件の閲覧回数
harry_choi
Contributor IV

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

タグ(1)
0 件の賞賛
返信
1 解決策
1,170件の閲覧回数
harry_choi
Contributor IV

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

元の投稿で解決策を見る

0 件の賞賛
返信
4 返答(返信)
1,239件の閲覧回数
Joey_z
NXP Employee
NXP Employee

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

0 件の賞賛
返信
1,214件の閲覧回数
harry_choi
Contributor IV

Hello Joey,

I used below DDR configuration in S32DS and generated ddr codes. 

harry_choi_0-1735871699488.png

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

 

 

タグ(1)
0 件の賞賛
返信
1,195件の閲覧回数
Joey_z
NXP Employee
NXP Employee

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

0 件の賞賛
返信
1,171件の閲覧回数
harry_choi
Contributor IV

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

0 件の賞賛
返信