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

Missing pins and wrong signal definition on STM32C0 family MCU xml files #11

Open
djiatsaf-st opened this issue Aug 7, 2024 · 0 comments

Comments

@djiatsaf-st
Copy link

Hello,
I am working on generating pincrtl.dtsi files for each STM32 family, for HAL/LL integration into the Zephyr OS ecosystem

I realized that several files of the C0 family have some issues.

There is a missing of definitions of some pins (PA9 and PA10) and also on the PA10 [PA12] remapping pin, the "RCC_MCO2" signal (if it exists) must be renamed to "RCC_MCO_2"

Expected changes :

  1. Add missing pins PA9 & PA10 and rename the RCC_MCO2 signal in the file STM32C031G(4-6)Ux.xml

    • Definition of pins PA9 and PA10 with their remapping pin like this for example: ,

    • If the signal "RCC_MCO2" is present on the pin "PA10 [PA12]", rename it to "RCC_MCO_2"

  2. Add remapping pin when defining PA9 and PA10 pins in these files:

    • STM32C031C(4-6)Tx.xml : lines 236 & 252
    • STM32C031C(4-6)Ux.xml : lines 237 & 253
    • STM32C031K(4-6)Tx.xml : lines 199 & 211
    • STM32C031K(4-6)Ux.xml : lines 198 & 210

    We should therefore have this modification:

    "PA9" -> "PA9 [PA11]"

    "PA10" -> "PA10 [PA12]"

  3. Rename "RCC_MCO2" signal to "RCC_MCO_2" on pin "PA10 [PA12]" of the following STM32C071XX mcu xml files :

    • STM32C071C8Tx.xml : line 298
    • STM32C071C8TxN.xml : line 290
    • STM32C071C8Ux.xml : line 298
    • STM32C071C8UxN.xml : line 290
    • STM32C071CBTx.xml : line 298
    • STM32C071CBTxN.xml : line 290
    • STM32C071CBUx.xml : line 298
    • STM32C071CBUxN.xml : line 290
    • STM32C071K8Tx.xml : line 242
    • STM32C071K8TxN.xml : line 238
    • STM32C071K8Ux.xml : line 242
    • STM32C071K8UxN.xml : line 238
    • STM32C071KBTx.xml : line 242
    • STM32C071KBTxN.xml : line 238
    • STM32C071KBUx.xml : line 242
    • STM32C071KBUxN.xml : line 238
    • STM32C071R8Tx.xml : line 346
    • STM32C071R8TxN.xml : line 337
    • STM32C071RBIxN.xml : line 294
    • STM32C071RBTx.xml : line 346
    • STM32C071RBTxN.xml : line 337
  4. Add missing pins PA9 & PA10, and rename the RCC_MCO2 signal in the following files of the STM32C071XX serie:

    • STM32C071F8Px.xml

    • STM32C071F8PxN.xml

    • STM32C071FBPx.xml

    • STM32C071FBPxN.xml

    • STM32C071FBYx.xml

    • STM32C071G8Ux.xml

    • STM32C071G8UxN.xml

    • STM32C071GBUx.xml

    • STM32C071GBUxN.xml

      • Definition of pins PA9 and PA10 with their remapping pin like this for example :
        ,
      • If the signal "RCC_MCO2" is present on the pin "PA10 [PA12]", rename it to "RCC_MCO_2"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant