Skip to content

Conversation

@zfields
Copy link
Contributor

@zfields zfields commented Dec 8, 2025

No description provided.

@zfields zfields force-pushed the zak-heron branch 5 times, most recently from ac21877 to 016df1b Compare December 9, 2025 18:02
@fpistm fpistm self-requested a review December 9, 2025 18:46
@fpistm fpistm added this to the 2.12.0 milestone Dec 9, 2025
@fpistm fpistm added the new variant Add support of new bard label Dec 9, 2025
@zfields zfields force-pushed the zak-heron branch 10 times, most recently from 832bf50 to c25c5b3 Compare December 11, 2025 11:37
@zfields zfields marked this pull request as ready for review December 11, 2025 11:37
@zfields
Copy link
Contributor Author

zfields commented Dec 11, 2025

@fpistm Does the ST Low Power Library work with the U5?

All my tests are passing, except I cannot achieve Low Power using the same sketch I use on both the Cygnet and Swan.

Do you see anything wrong with my board configuration that would prevent me from achieving low power?

@fpistm
Copy link
Member

fpistm commented Dec 11, 2025

@fpistm Does the ST Low Power Library work with the U5?

All my tests are passing, except I cannot achieve Low Power using the same sketch I use on both the Cygnet and Swan.

Do you see anything wrong with my board configuration that would prevent me from achieving low power?

As far as I remember, yes it works. Anyway it is possible that a bug or a missing configuration exist. Like for the USB part.
Hard to review your configuration as I do not have any information on the board. My review will mainly consist to ensure it has the good format and check some specific configurations.

RCC_OscInitStruct.MSIState = RCC_MSI_ON;
RCC_OscInitStruct.MSIClockRange = RCC_MSIRANGE_0; // 100 kHz initially (will be overridden later)
RCC_OscInitStruct.MSICalibrationValue = RCC_MSICALIBRATION_DEFAULT;
RCC_OscInitStruct.HSI48State = RCC_HSI48_ON; // Critical for USB
Copy link
Member

@fpistm fpistm Dec 11, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Only if you left the CLK48 clk mux by default (HSI48).
As in your case you do not used PLL the only way is effectively HSI48 or maybe set MSK at 48000.

@github-project-automation github-project-automation bot moved this from In progress to Needs review in STM32 core based on ST HAL Dec 11, 2025
@zfields zfields force-pushed the zak-heron branch 2 times, most recently from c848f12 to d282f06 Compare December 12, 2025 02:04
@zfields zfields marked this pull request as draft December 12, 2025 22:12
@zfields
Copy link
Contributor Author

zfields commented Dec 12, 2025

Converted to a DRAFT PR.

I discovered a hardware bug during bring-up, and also just received word they are going to try a slightly different package to cost down the product.

I don't think this BSP will change much (if any), but I don't want to hurry and push support for a board that may not exist.

I should have new hardware soon, but not soon enough to hold the release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

new variant Add support of new bard

Projects

Status: Needs review

Development

Successfully merging this pull request may close these issues.

2 participants