ADC sample time define namings

Open
#3 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
38/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
c
Domain
embedded-iot

Research direction

Start by comparing the sample-time definitions in stm32mp2xx_hal_adc.h and stm32mp2xx_ll_adc.h with the STM32MP257 naming and values in reference manual RM0457. Determine whether the 2.5-cycle starting names match the manual; done means the discrepancy is confirmed and the affected definitions are consistently corrected or explained.

Written by the indexing model from the issue text.

Description

Hi,

I started looking at the ADC configuration for STM32MP257 and noticed that the sampling time define names looked different than in the reference manual.

Image

This is from the driver file stm32mp2xx_hal_adc.h where the sample time starts from 2.5 cycles. The same values continue in the stm32mp2xx_ll_adc.h file.

Image

And this is from the reference manual rm0457.

Is the driver file correct or has there happened naming scheme error?

Dominant language
C
Stars
17
Forks
5
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from STMicroelectronics/STM32CubeMP2

All issues in STMicroelectronics/STM32CubeMP2

Similar issues

More C issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.