Skip to main content
Associate II
April 2, 2025
Question

CubeMX octospi code generation

  • April 2, 2025
  • 1 reply
  • 443 views

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

 

1 reply

Technical Moderator
April 2, 2025

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

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.
Technical Moderator
April 3, 2025

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

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.
tzijngeAuthor
Associate II
April 7, 2025

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