cancel
Showing results for 
Search instead for 
Did you mean: 

DDR Utility can't turn on ddr clock

dkal
Associate III

I am testing our custom board with stm32mp153a and I have customized the DDR utility so that the uart and pmic work.  I have used the RAM timings from cubemx that kind of work with TF-a.  I have the PLL2 values that also work with TF-a.  I get a DDR Initialization KO.  Looking deeper into it, it dies when trying to turn on the DDR clock.  One thing I noticed is that the code is hard coded to use HSE when this design uses HSI for the DDR clock.  If I change it to HSI the utility gets stuck trying to print anything to UART.

1 ACCEPTED SOLUTION

Accepted Solutions
PatrickF
ST Employee

Hi @dkal 

Using DDR with HSI as root clock is not possible (even if path exist to PLLs) because HSI is not stable enough (frequency an jitter) to fit USB and DDR JEDEC requirements.

PatrickF_0-1702023597315.png

 

Regards

In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.

View solution in original post

2 REPLIES 2
PatrickF
ST Employee

Hi @dkal 

Using DDR with HSI as root clock is not possible (even if path exist to PLLs) because HSI is not stable enough (frequency an jitter) to fit USB and DDR JEDEC requirements.

PatrickF_0-1702023597315.png

 

Regards

In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.

Thank you, I got the design ioc file with HSI selected and params selected for the clock so those were the numbers I used for PLL2.  I selected oscillator for HSE in the RCC settings and found the proper params for the clock, put those in the DDR suite and I am able to run the DDR tests now.