Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

STM32H743XIHx.xml has incorrect pin type and function for ANA _C pins

Đang mở
#17 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
72/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
xml
Lĩnh vực
embedded-iot

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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 &amp; (PA15_S_TIM2_ETR|PA5_S_TIM2_ETR)) &amp; !(TIM2_ETR &amp; (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.

Ngôn ngữ chính
Không có dữ liệu ngôn ngữ
Star
91
Fork
14
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của STMicroelectronics/STM32_open_pin_data

Tất cả issue của STMicroelectronics/STM32_open_pin_data

Issue tương tự

Thêm issue về Embedded & IoT

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.