cancel
Showing results for 
Search instead for 
Did you mean: 

CubeMX octospi code generation

tzijnge
Associate II

Hi everyone,

I noticed that CubeMX 6.14.0 ignores the octospi parameter settings. I created a new project for the NucleoU5A5 board, configured Octospi1 with a clock prescaler of 99. I notice the following behavior

  1. Generated code (CubeIDE) has a prescaler value of 1
  2. Next time I open the IOC file, the Octospi prescaler is back to 1

I didn't check other settings. I have attached my ioc file

 

Kind regards,

Timon Zijnge

 

3 REPLIES 3
Mahmoud Ben Romdhane
ST Employee

Hello @tzijnge ,

First let me thank you for posting and welcome to the ST Community.

Your request is under investigation, and I will get back to you ASAP.

Thanks.

Mahmoud

Hello @tzijnge ,

By loading the project that you have attached on the comment, I've set the clock prescaler: 99

OCTOSPI Parameters are well generated:

MahmoudBenRomdhane_0-1743674924423.png

Thanks.

Mahmoud

Hello Mahmoud,

Thanks for taking the time to investigate my issue. I'm happy to hear that you are not affected by the issue, but things still don't work for me. DO you have any suggestions for moving forward? Or any clues as to what could be the problem?

Kind regards,

Timon Zijnge