Nucleo-H743 is not working with PLL1 as clock source
Nucleo-H743 is not working with PLL1 as clock source
Hello,
I spent lot of time to make running the Nucleo-H743 with PLL1 as clock source without success.
It is working with HSE or HSI without problems.
Even HSE or HSI are selected as clock source, once PLL1EN is ON, board stops working.
I believe something is wrong with "Edit Project" window.
I tried different clock values from 150 to 480MHZ and it does not work.
Attached is the cfg file. I had to make it zip as cfgsch is not allowed.
Any help is appreciated.
Regards,
Sergiu
I spent lot of time to make running the Nucleo-H743 with PLL1 as clock source without success.
It is working with HSE or HSI without problems.
Even HSE or HSI are selected as clock source, once PLL1EN is ON, board stops working.
I believe something is wrong with "Edit Project" window.
I tried different clock values from 150 to 480MHZ and it does not work.
Attached is the cfg file. I had to make it zip as cfgsch is not allowed.
Any help is appreciated.
Regards,
Sergiu
- Attachments
-
- Nucleo_H743_HSE8MHZ_PLL400Mhz.zip
- (1.35 KiB) Downloaded 96 times
-
- Posts: 135
- Joined: 02 Jan 2020 19:00
Re: Nucleo-H743 is not working with PLL1 as clock source
Maybe
<SETTING22>
<NAME>DIVMx and PLLs clock source selection</NAME>
<DESCRIPTION>HSE selected as PLL clock</DESCRIPTION>
</SETTING22>
<SETTING23>
<NAME>Prescaler for PLL1</NAME>
<DESCRIPTION>4</DESCRIPTION>
</SETTING23>
<SETTING24>
...........................................................................
<SETTING41>
<NAME>Multiplication factor for PLL1 VCO</NAME>
<DESCRIPTION>400</DESCRIPTION>
</SETTING41>
<SETTING42>
<NAME>PLL1 DIVP division factor</NAME>
<DESCRIPTION>2</DESCRIPTION>
</SETTING42>
<SETTING22>
<NAME>DIVMx and PLLs clock source selection</NAME>
<DESCRIPTION>HSE selected as PLL clock</DESCRIPTION>
</SETTING22>
<SETTING23>
<NAME>Prescaler for PLL1</NAME>
<DESCRIPTION>4</DESCRIPTION>
</SETTING23>
<SETTING24>
...........................................................................
<SETTING41>
<NAME>Multiplication factor for PLL1 VCO</NAME>
<DESCRIPTION>400</DESCRIPTION>
</SETTING41>
<SETTING42>
<NAME>PLL1 DIVP division factor</NAME>
<DESCRIPTION>2</DESCRIPTION>
</SETTING42>
Re: Nucleo-H743 is not working with PLL1 as clock source
Hello AntiMember,
I changed those settings but still not working.
My point is that regardless of PLL1 source clock selection, prescaler and divisions, as long as HSE or HSI are selected as system clock the board should work but it is working only when PLL1 is OFF.
As long as PLL1 is ON even is not selected as clock source in "System clock switch" the board stops working after re-flashing.
I'm using STM32CubeMX clock configuration and there all is shown pretty clear.
I believe something is going wrong when clock configuration registers are compiled and Mikroe team should have a look.
Sergiu
I changed those settings but still not working.
My point is that regardless of PLL1 source clock selection, prescaler and divisions, as long as HSE or HSI are selected as system clock the board should work but it is working only when PLL1 is OFF.
As long as PLL1 is ON even is not selected as clock source in "System clock switch" the board stops working after re-flashing.
I'm using STM32CubeMX clock configuration and there all is shown pretty clear.
I believe something is going wrong when clock configuration registers are compiled and Mikroe team should have a look.
Sergiu
- stefan.filipovic
- mikroElektronika team
- Posts: 1135
- Joined: 18 Dec 2018 10:30
Re: Nucleo-H743 is not working with PLL1 as clock source
Hi Sergiu,
Please refer to this topic:
viewtopic.php?f=178&t=74731
There's an issue with the system library for the H7 series in mikroPascal and mikroBasic.
Please try with the emcl file I've posted in the forum above.
Kind regards,
Please refer to this topic:
viewtopic.php?f=178&t=74731
There's an issue with the system library for the H7 series in mikroPascal and mikroBasic.
Please try with the emcl file I've posted in the forum above.
Kind regards,
Stefan Filipović
Re: Nucleo-H743 is not working with PLL1 as clock source
Hello Stefan,
The lib file __Lib_System_H7xx.emcl made the difference. Now is working properly.
The only issue is that mikroProg is still giving the error "Command not supported" so it cannot be used for programming.
Thank you for your help so far.
Regards,
Sergiu
The lib file __Lib_System_H7xx.emcl made the difference. Now is working properly.
The only issue is that mikroProg is still giving the error "Command not supported" so it cannot be used for programming.
Thank you for your help so far.
Regards,
Sergiu
- stefan.filipovic
- mikroElektronika team
- Posts: 1135
- Joined: 18 Dec 2018 10:30
Re: Nucleo-H743 is not working with PLL1 as clock source
Hi Sergiu,
Please check if the mikroProg firmware is up to date. You can do it using ST-Link Utility.
Kind regards,
Please check if the mikroProg firmware is up to date. You can do it using ST-Link Utility.
Kind regards,
Stefan Filipović
Re: Nucleo-H743 is not working with PLL1 as clock source
Hello Stefan,
I'm using the integrated STLINK-V3 from NUCLEO-H743 board which updated to latest firmware version.
Regards,
Sergiu
I'm using the integrated STLINK-V3 from NUCLEO-H743 board which updated to latest firmware version.
Regards,
Sergiu
- stefan.filipovic
- mikroElektronika team
- Posts: 1135
- Joined: 18 Dec 2018 10:30
Re: Nucleo-H743 is not working with PLL1 as clock source
Hi Sergiu,
Are you using the latest version of mikroProg Suite (v1.61)?
Make sure to run mikroProg Suite using administrator privileges (right-click on the icon -> run as administrator).
I've just tested this and have not reproduced any issue.
Kind regards,
Are you using the latest version of mikroProg Suite (v1.61)?
Make sure to run mikroProg Suite using administrator privileges (right-click on the icon -> run as administrator).
I've just tested this and have not reproduced any issue.
Kind regards,
Stefan Filipović
Re: Nucleo-H743 is not working with PLL1 as clock source
Hello Stefan,
I use mikroProg v1.61 in admin mode.
It is working OK with STLINK-V2 but with STLINK-V3 as it is in Nucleo-H743ZI2 is giving following errors:
"Command not supported" and "Target command error"
Regards,
Sergiu
I use mikroProg v1.61 in admin mode.
It is working OK with STLINK-V2 but with STLINK-V3 as it is in Nucleo-H743ZI2 is giving following errors:
"Command not supported" and "Target command error"
Regards,
Sergiu
- stefan.filipovic
- mikroElektronika team
- Posts: 1135
- Joined: 18 Dec 2018 10:30
Re: Nucleo-H743 is not working with PLL1 as clock source
Hi Sergiu,
The ST-Link v3 is not supported by the mikroProg Suite.
I didn't notice this at first glance, because I've tested it with Nucleo-H743ZI, the version with ST-Link v2.
I've sent you an email with a possible workaround, so you can try it out.
Kind regards,
The ST-Link v3 is not supported by the mikroProg Suite.
I didn't notice this at first glance, because I've tested it with Nucleo-H743ZI, the version with ST-Link v2.
I've sent you an email with a possible workaround, so you can try it out.
Kind regards,
Stefan Filipović
Re: Nucleo-H743 is not working with PLL1 as clock source
Hello Stefan,
i have the same problem when trying to connect with MikroProg to a Nucleo-H743ZI (Command not supported...).
I use V1.61.
Is there any workaround?
Regards,
Ralf
i have the same problem when trying to connect with MikroProg to a Nucleo-H743ZI (Command not supported...).
I use V1.61.
Is there any workaround?
Regards,
Ralf
Re: Nucleo-H743 is not working with PLL1 as clock source
Hello Ralf,
The simplest work around is to use STM32 ST-Link utility. You have to manually load the hex/bin file after each compilation which is pretty annoying.
That is because The Nucleo H7 board uses ST-Link V3 programmer which is not yet supported by Mikroe.
What I finally did was to attach one external dongle which works with Mikroe mikroProg.
Regards,
Sergiu
The simplest work around is to use STM32 ST-Link utility. You have to manually load the hex/bin file after each compilation which is pretty annoying.
That is because The Nucleo H7 board uses ST-Link V3 programmer which is not yet supported by Mikroe.
What I finally did was to attach one external dongle which works with Mikroe mikroProg.
Regards,
Sergiu
Re: Nucleo-H743 is not working with PLL1 as clock source
Hello Sergiu,
thanks for reply.
The solution with the dongle seem to be best for me, where to get it? From ST? Can't find it.....
Regards,
Ralf
thanks for reply.
The solution with the dongle seem to be best for me, where to get it? From ST? Can't find it.....
Regards,
Ralf
Re: Nucleo-H743 is not working with PLL1 as clock source
You can get it from Amazon or ebay:
https://www.amazon.de/-/en/Youmile-Emul ... 735&sr=8-3
Regards,
Sergiu
https://www.amazon.de/-/en/Youmile-Emul ... 735&sr=8-3
Regards,
Sergiu
Re: Nucleo-H743 is not working with PLL1 as clock source
Hi Sergiu,
thanks, found it. I was confused because of the ST Logo on it.....
We also have the MikroProg for STM32 Programmer/Debugger purchased from MikroE.
Does it not support the ST-Link V2? The pinning fits, only some adapter cables needed to CN5 of the Nucleo-H743....
Regards,
Ralf
thanks, found it. I was confused because of the ST Logo on it.....
We also have the MikroProg for STM32 Programmer/Debugger purchased from MikroE.
Does it not support the ST-Link V2? The pinning fits, only some adapter cables needed to CN5 of the Nucleo-H743....
Regards,
Ralf