cancel
Showing results for 
Search instead for 
Did you mean: 

CUBE-IDE / CubeMX Bug? Cannot setup clock for STM32N6 processor

matt-crc
Senior III

Hello,

Does anyone know how to setup the clock source for the N657 processor?  I want to use an oscillator for the HS clock input and setup HSE = Bypass clock source...

mattcrc_0-1761453972561.png

using Bypass clock it should only use PH0 (clock in) and free up the PH1 pin (clock out).  But it seems the IDE / cubeMx always wants to use both pins regardless of the clock configuration.

mattcrc_1-1761454136554.png

am I missing something or is this a bug?

thanks, Matt

 

 

7 REPLIES 7
AScha.3
Super User

Hi,

maybe small inaccuracy in Cube ,or N6 just dont switch off osz-out . (read in rm or errata...what it should do)

But it has enough other pins, so not  free up the PH1 pin is nothing to worry about. 

If you feel a post has answered your question, please click "Accept as Solution".
matt-crc
Senior III

@AScha.3 

The reason I was asking about PH1 is because I need that pin, which means there isn't enough pins... lol

 

@matt-crc 

Which cpu we talking about ?  264 pins ? and need every pin ??

If you feel a post has answered your question, please click "Accept as Solution".
matt-crc
Senior III

yes

Show your circuit... :)

If you feel a post has answered your question, please click "Accept as Solution".
matt-crc
Senior III

Hello @Ghofrane GSOURI 

Can you also address this post, this appears to be another bug with the Cube-MX software, where the clock pins are not allocated properly.  You can use the same .ioc file as the previous ticket.

Let me know if you need additional info.

thanks

Matthew

Hello @matt-crc 

I appreciate your helpful contributions.

According to RM0486 Rev 2, Section 14.6.2: External clock source (HSE bypass):PH1 (OSC_OUT) is not required for HSE bypass mode.

GhofraneGSOURI_0-1761828378560.png

Ticket 220815 has been escalated to the development team for further investigation and resolution of this behavior.

THX

Ghofrane

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.