Skip to content

Add variants Nucleo-U5A5ZJ-Q and generic U595ZITxQ,U595ZJTxQ,U599ZITx… #2725

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

patricklaf
Copy link
Contributor

This PR adds variants for the Nucleo-U5A5ZJ-Q and for generic boards based on U595ZITxQ, U595ZJTxQ, U599ZITxQ, U599ZJTxQ, U5A5ZJTxQ and U5A9ZJTxQ.

Only the Nucleo board has been tested with the CheckVariant sketch with the following result:

#####
NUM_DIGITAL_PINS = 119
NUM_ANALOG_INPUTS = 22
#####
Checking digital pins...
End check digital pins
#####
Checking analog pins definition...
End check analog pins
##### 
Checking IP instances (I2C, UART, SPI)...
End check IP instances (I2C, UART, SPI)

######################################## 
#### Test PASSED
########################################

On a real project, I2C and SPI were used with success.

@fpistm fpistm self-requested a review May 13, 2025 16:22
@fpistm fpistm added the new variant Add support of new bard label May 13, 2025
@fpistm fpistm added this to the 2.11.0 milestone May 13, 2025
@fpistm
Copy link
Member

fpistm commented May 13, 2025

Thanks @patricklaf
Will review tomorrow.

Comment on lines 14 to 15
* Automatically generated from STM32U595ZITx.xml, STM32U595ZJTx.xml
* STM32U5A5ZJTx.xml
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems not the correct PeripheralPins.h file.
Is it really needed to have a custom one ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @fpistm ,
Thanks for your review.
The variants are inspired by \U575Z(G-I)TxQ_U585ZITxQ.
The Nucleo-U5A5ZJ-Q is very similar to the Nucleo-U575ZI-Q, so I used the same layout.
BTW in the existing variants used as model, LPUART1 is not configured.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK. It is not an issue as the clock config can be redefined.
Anyway the file is not correct as it differs from the PeripheralPins.c and no pins seems to be removed.
The one from Nucleo-U575ZI-Q comments some USB pins not needed.

@github-project-automation github-project-automation bot moved this from In progress to Needs review in STM32 core based on ST HAL May 14, 2025
…U5A9ZJTxQ

Signed-off-by: patricklaf <[email protected]>
Co-authored-by: Frederic Pillon <[email protected]>
Copy link
Member

@fpistm fpistm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've replaced the PeripheralPins with the correct one. squash all and split in 2 commits.

@github-project-automation github-project-automation bot moved this from Needs review to Reviewer approved in STM32 core based on ST HAL May 14, 2025
Signed-off-by: patricklaf <[email protected]>
Co-authored-by: Frederic Pillon <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new variant Add support of new bard
Projects
Status: Reviewer approved
Development

Successfully merging this pull request may close these issues.

2 participants