-
Notifications
You must be signed in to change notification settings - Fork 8.4k
tests: drivers: clock control stm32 adc device clock setting #81089
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
Conversation
a15f2ad to
c3120bc
Compare
c3120bc to
8114c24
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's be more explicit on the clock in use
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nucleo_g071rb DTS gives SYSCLK as clock source for the ADC1
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One of these test cases doesn't have a matching test configuration and will end as dead code.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
adding #if defined(STM32_SRC_SYSCLK) and #if defined(STM32_SRC_HSI)
7ef4f1a to
9c84a43
Compare
...trol/stm32_clock_configuration/stm32_common_devices/src/test_stm32_clock_configuration_adc.c
Outdated
Show resolved
Hide resolved
Tests the ADC clock domain on the stm32g0 serie Possible ADC clock sources are SYStem clock (default) or PLL_P. No clock source HSI for the ADC tested here. Signed-off-by: Francois Ramu <[email protected]>
9c84a43 to
4283f30
Compare
|
ping @nordic-krch |
Tests the ADC clock domain on the stm32g0 serie
Possible ADC clock sources are system clock or PLL_P or HSI
Running the tests/drivers/clock_control/stm32_clock_configuration/stm32_common_devices on the nucleo_g071rb
with boards/g0_i2c1_sysclk_lptim1_lsi.overlay, can detect the ADC clock sources :