-
Notifications
You must be signed in to change notification settings - Fork 7.4k
LPC55xxx SPI fixes #26371
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
LPC55xxx SPI fixes #26371
Conversation
dts/arm/nxp/nxp_lpc55S6x_common.dtsi
Outdated
<&gpio1 26 0>; | ||
/* The comment below will allow using GPIO CS, | ||
rather than Flexcomm SS*/ | ||
/* cs-gpios = <&gpio0 20 0>,<&gpio1 1 0>,<&gpio1 12 0>, |
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.
Are these GPIOs defined by the SoC for CS purposes?
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.
@galak Yes, these pins are mapped on SoC to be used as spi slave select. This means they are wired as CS for SPI devices on the evaluation boards.
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.
Comment about GPIO CS needs to be fixed after #26269 was merged, e.g. /* cs-gpios = <&gpio0 20 GPIO_ACTIVE_LOW>, ....*/
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.
@jfischer-phytec-iot i've updated the dts file
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.
Please remove the commit west.yaml: update hal_nxp to pull 46
@MaureenHelm cleaned up the commits |
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.
Need to rebase and fix the merge conflict
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.
Please rebase and fix the merge conflict
e17feef
to
87c7687
Compare
@MaureenHelm done! |
One more time please. :( |
Reverts part of 3722c64 commit. Reverts dummy buffer and uses NULL pointers. Signed-off-by: Andrei Gansari <[email protected]>
Flexcomm's SPI SSEL (or CS) will be held until frame end. FIFOWR[EOT] (kSPI_FrameAssert enum) is the register not set. Signed-off-by: Andrei Gansari <[email protected]>
Disables GPIO CS in order to use Flexcomm's SS as chip select issues were resolved. Signed-off-by: Andrei Gansari <[email protected]>
Okay, I dropped west.yaml commit as a newer commit is already upstream on master. |
Depends on: zephyrproject-rtos/hal_nxp#46