Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

H730 ADC3 Oversampling configuration bug #256

Closed
KubeckPL opened this issue Apr 19, 2023 · 6 comments
Closed

H730 ADC3 Oversampling configuration bug #256

KubeckPL opened this issue Apr 19, 2023 · 6 comments
Assignees
Labels
bug Something isn't working cube mx Issue related to the Cube MX tool rather than the firmware published within this repository

Comments

@KubeckPL
Copy link

Caution
There is an error in the oversampling configuration for the ADC3 in the H730VBT processor in the HAL library.
In the attached screenshots, I have shown the configuration in CubeMX, in the ADC3 handler, and the final values written to the ADC3 registers.
Tools used:

  • STM32CubeIDE V1.12,
  • HAL Driver version number V1.11.1

Screenshots

CubeMX ADC oversampling configuration:
obraz

MX_ADC3_Init() function:
obraz

Final value in CFGR2 register (equal to 4):
obraz

Notice
Oversampling ratios for ADC3 in the H730 MCU are predefined, so CubeMX should only propose predefined values:

obraz

@KubeckPL
Copy link
Author

The proposed solution in the MX_ADC3_Init() function - using a predefined macro:

obraz

@RJMSTM RJMSTM self-assigned this Apr 20, 2023
@RJMSTM
Copy link
Contributor

RJMSTM commented Apr 20, 2023

Hello @KubeckPL,

Thank you for this report. We will get back to you as soon as we analyze it further. This may take some time. Thank you for your comprehension.

With regards,
Rania

@RJMSTM
Copy link
Contributor

RJMSTM commented Aug 7, 2023

Hello @KubeckPL,

Could you please share the code you have used to reproduce the problem?

Regards

@RJMSTM RJMSTM added projects Projects-related (demos, applications, examples) issue or pull-request. needs clarification Needs clarification from user cube mx Issue related to the Cube MX tool rather than the firmware published within this repository labels Aug 7, 2023
@RJMSTM RJMSTM moved this from To do to Analyzed in stm32cube-mcu-fw-dashboard Aug 30, 2023
@RJMSTM
Copy link
Contributor

RJMSTM commented Jan 15, 2024

Hello @KubeckPL,
Any update please, you resolve your problem??

@KubeckPL
Copy link
Author

Hi @RJMSTM.
The bug is still present in the latest version of CubeIDE and CubeMX (V1.14) - I have just checked this.
This problem relates to the code generator built into CubeMX.

obraz

@RJMSTM
Copy link
Contributor

RJMSTM commented Jan 15, 2024

Hello @KubeckPL,

Thank you for this report. The point you reported is actually related to the CubeMX generation problem and not to the firmware published in this repository. Unfortunately, we don't treat aspect related to CubeMX tool in our GitHub repositories. They are rather treated at the STM32CubeMX dedicated page of the ST Community .

Since this issue is not directly related to the STM32Cube firmware but rather to our ecosystem, please allow me then to close this thread. Thank you for your comprehension.

With regards,

@ALABSTM ALABSTM added bug Something isn't working and removed projects Projects-related (demos, applications, examples) issue or pull-request. needs clarification Needs clarification from user labels May 27, 2024
@ALABSTM ALABSTM closed this as not planned Won't fix, can't repro, duplicate, stale May 27, 2024
stm32cube-mcu-fw-dashboard automation moved this from Analyzed to Done May 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working cube mx Issue related to the Cube MX tool rather than the firmware published within this repository
Projects
Development

No branches or pull requests

3 participants