cancel
Showing results for 
Search instead for 
Did you mean: 

STM32Cube Bug - FMC write recovery time

Stefano Zanotti
Associate II
Posted on July 04, 2016 at 12:50

STM32CubeMX: 4.15.1

STM32CubeF7: 1.4.0

MCU: STM32F746NGHx

In the setting:

''Configuration | FMC | SDRAM1 | SDRAM timing in memory clock cycles | Write recovery time''

the value is constrained in [3,16] (and the help agrees with that).

However, it doesn't agree with the library code (stm32f7xx_ll_fmc.h:288):

#define IS_FMC_WRITE_RECOVERY_TIME(__TIME__) (((__TIME__) > 0) && ((__TIME__) <= 16))
3 REPLIES 3
slimen
Senior
Posted on July 04, 2016 at 16:13

Hi,

From my side, I have in CubeMx: ''WriteRecoveryTime1 must be between 1 and 16'' (as shown in the attached screen).

Could you please put your screen to have more idea about these parameters and configuration's.

Regards

________________

Attachments :

Capture.JPG : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006Htov&d=%2Fa%2F0X0000000aXG%2F_F4ii7Kmf5XwOieXeGuq_vV.Kz8HNYuXSOQ5rCRHK9s&asPdf=false
Stefano Zanotti
Associate II
Posted on July 11, 2016 at 08:13

Attached is my FMC dialog. Do the limits depend on other parameters?

________________

Attachments :

bug_FMC.png : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006Htp0&d=%2Fa%2F0X0000000aXH%2F7gbBVoy979q8A.5lv9bErmMzBltJA.YlpW0lRKxpoW8&asPdf=false
stm32cube-t
Senior III
Posted on July 21, 2016 at 10:42

Dear user,

As stated in the user manual, we have the following condition:

TWR >

≥

TRAS - TRCD

Which means within STM32CubeMX user interface: the write recovery time must be greater than (Self-refresh time - Row to colum delay).

Playing with the values of self-refresh time (increase) and row to column delay (decrease) , you can reach again the lowest bound value of 1 for the Write recovery time.

Best regards