-
Notifications
You must be signed in to change notification settings - Fork 8.2k
stm32: nucleo u385rg_q: fix wrong spi node assigned to arduino_spi #98361
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
Conversation
|
LGTM. @ulrich-a11-y, would you be okay to swap the order of the commits in your series? It would ensure each commit still passes the 2 modified tests. It may be handy if we later bisect into the Git revision history for some unrelated purpose. Note CI *Compliance Checks" test complains: @djiatsaf-st, are you okay with the proposed changes, to have the board default supporting Arduino interfaces and have overlay DTS files for DAC and I2C specific tests? |
|
``
Yes I am okay with these changes. Arduino uno shield by example can be used with SPI without manually wiring it up. |
73e0977 to
3f05db0
Compare
3f05db0 to
347bc4b
Compare
347bc4b to
f337da2
Compare
df2ba47 to
26ff775
Compare
Regarding |
etienne-lms
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
I don't understand why CI Compliance checks complains.
8d5b5fb
26ff775 to
8d5b5fb
Compare
etienne-lms
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For commit "tests: drivers: nucleo_u385rg_q: update i2c tests drivers".
Could you explain the rational in the commit message body? E.g.:
Enable and add pinctrl for i2c3 node and disable spi1 node since spi1 is default
enabled on that board (Arduino connector) and i2c3 pinctrl conflicts with.For commit "boards: st: nucleo_u385rg_q: change arduino_spi to spi1", could you mention in the commit message that spi3 node status property is moved in the node for consistency of node properties ordering.
Implementation LGTM.
Enable and add pinctrl for the I2C3 node, and disable the SPI1 node since it is enabled by default on this board (via the Arduino connector), which causes a conflict with the I2C3 pinctrl configuration. Signed-off-by: Ulrich KAMDEM <kamdemulricharmel@gmail.com>
According to user manual(UM3062, table 16), arduino_spi is connected to spi1 instead of spi3. Enable spi1 node and affect the SPI_NSS pin with I/O function to do the chip select. Remove i2c3 to avoid conflict with PA7 pin. Move the status property of dac1 node to maintain consistency in the ordering of node properties. NB: The SPI_NSS pin is not listed as an alternate function for SPI1 in the user manual (UM3062, Table 17). Signed-off-by: Ulrich KAMDEM <kamdemulricharmel@gmail.com>
|
@etienne-lms , the spi3 node status property is not moved. It's rather the dac1 node. |
8d5b5fb to
6ef85ec
Compare
|
etienne-lms
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Right. Thanks for the updates.
LGTM
|
@erwango , PTAL |
|
Hi @ulrich-a11-y! To celebrate this milestone and showcase your contribution, we'd love to award you the Zephyr Technical Contributor badge. If you're interested, please claim your badge by filling out this form: Claim Your Zephyr Badge. Thank you for your valuable input, and we look forward to seeing more of your contributions in the future! 🪁 |




This PR fixes an incorrect peripheral node assignment to arduino_spi and updates the board's device tree to avoid conflicts with other enabled peripheral nodes (i2c3) on PA7 pin.
Fixes: #97543