STM32CubeMX Clock Configuration not generating any code for LSCO Source Mux
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-10-08 04:27 AM
Hi,
When selecting LSI as output for LSCO pin, and generating code with integrated STM32CubeMX, no output is seen on LSCO pin.
I have to manually add a call to this to see LSI on LSCO pin.
HAL_RCCEx_EnableLSCO(RCC_LSCOSOURCE_LSI);
When using MCO pin instead of LSCO pin, the code for source clock selection is generated correctly.
I'm using STM32CubeIDE v1.7.0. and STM32L432KCU MCU.
Thanks and kind regards,
Pedro.
Solved! Go to Solution.
- Labels:
-
Bug-report
-
RCC
-
STM32CubeMX
-
STM32L4 Series
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-11-29 02:35 AM
Hello @PCast.2​ ,
This issue is fixed in the latest release of STM32CubeMX ( version 6.4.0 available on https://www.st.com/en/development-tools/stm32cubemx.html).
Thanks for your contribution.
When your question is answered, please close this topic by choosing Select as Best.
Regards,
Sara.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-10-26 06:29 AM
Hello,
Which STM32CubeMX version are you using?
Best Regards,
Sara
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-10-26 06:41 AM
Hi Sara,
This is the info about STM32CubeMx version I found in .ioc file:
MxCube.Version=6.3.0
MxDb.Version=DB.6.0.30
ProjectManager.FirmwarePackage=STM32Cube FW_L4 V1.17.0
Best regards,
Pedro.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-10-26 06:45 AM
Hello again,
Could you please share with us your .ioc file?
Thanks in advance,
Sara.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-10-26 06:52 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-10-27 03:55 AM
Hi @PCast.2​ ,
Thanks for your feedback,
You are right, It seems that the STM32CubeMX does not generate the code to enable LSCO output, for now you have to add HAL_RCCEx_EnableLSCO(RCC_LSCOSOURCE_LSI); manually.
Your request have been reported internally, I'll keep you posted with the updates.
Sara.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-10-27 04:21 AM
Thank you Sara!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-11-29 02:35 AM
Hello @PCast.2​ ,
This issue is fixed in the latest release of STM32CubeMX ( version 6.4.0 available on https://www.st.com/en/development-tools/stm32cubemx.html).
Thanks for your contribution.
When your question is answered, please close this topic by choosing Select as Best.
Regards,
Sara.
