STM32H743XIHx.xml has incorrect pin type and function for ANA _C pins
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 72/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- xml
- Domain
- embedded-iot
Research direction
Start with STM32H743XIHx.xml and compare PA0_C, PA1_C, PC2_C, and PC3_C against datasheet DS12110 Rev 11. Check related XML files for the same _C pin pattern. Done means these pins are typed as ANA and expose only their valid ADC inputs, with no alternate functions or output capability.
Written by the indexing model from the issue text.
Description
Several pins on the STM32H743XIHx family are named with _C: PA0_C, PA1_C, PC2_C, and PC3_C. The datasheet "DS12110 Rev 11" says these are of type ANA (analog-only input) and do not offer any alternate functions, only ADC inputs are possible. The XML file STM32H743XIHx.xml incorrectly suggests these are effectively identical to to their non-C counterparts with regards to the alternate functions offered:
<Pin Name="PA0_C" Position="T1" Type="I/O">
<Signal Name="ADC1_INN1"/>
<Signal Name="ADC1_INP0"/>
<Signal Name="ADC2_INN1"/>
<Signal Name="ADC2_INP0"/>
<Signal Name="ETH_CRS"/>
<Signal Name="PWR_WKUP1"/>
<Signal Name="SAI2_SD_B"/>
<Signal Name="SDMMC2_CMD"/>
<Signal Name="TIM15_BKIN"/>
<Signal Name="TIM2_CH1"/>
<Signal Name="TIM2_ETR"/>
<Signal Name="TIM5_CH1"/>
<Signal Name="TIM8_ETR"/>
<Signal Name="UART4_TX"/>
<Signal Name="USART2_CTS"/>
<Signal Name="USART2_NSS"/>
<Signal IOModes="Input,Output,Analog,EVENTOUT,EXTI" Name="GPIO"/>
<Condition Diagnostic="ETR and CH1 on the same GPIO for TIM2" Expression="(!(TIM2_CH1 & (PA15_S_TIM2_ETR|PA5_S_TIM2_ETR)) & !(TIM2_ETR & (PA15_S_TIM2_CH1|PA5_S_TIM2_CH1)))"/>
</Pin>
It also has the type as "I/O" even though output is impossible, it should probably be "ANA" instead.
I haven't checked other XML files but it's likely this affects multiple XML files.
- Dominant language
- No language data
- Stars
- 92
- Forks
- 14
- PR merge metrics
- No merged PRs in 30d
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from STMicroelectronics/STM32_open_pin_data
-
Difficulty 1/5 1-3 hours Newbie friendliness 62/100
-
Difficulty 1/5 Under an hour Newbie friendliness 58/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 48/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 50/100
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
All issues in STMicroelectronics/STM32_open_pin_data
Similar issues
-
Difficulty 1/5 Under an hour Newbie friendliness 85/100
Maintainers usually reply within 1 day
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
Copperpour/Copperpour#1105 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100