-
Notifications
You must be signed in to change notification settings - Fork 6.8k
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
drivers: spi: Add basic support rpi-pico SPI (PrimeCell SSP PL022) #45131
Conversation
79e6546
to
c59e0ac
Compare
c59e0ac
to
eb4b68a
Compare
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.
My review for the Pico parts
Two more things:
|
Hi, @yonsch,
It is my mistakes. Just forgot it.
Set 8MHz to default. |
1d6fcfd
to
aba8ed9
Compare
@soburi Congratulations, and thank you for your patience! |
Add myself as codeowner of previously committed driver. - zephyrproject-rtos#45131 Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@fujitsu.com>
Add myself as codeowner of previously committed driver. - #45131 Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@fujitsu.com>
Add myself as codeowner of previously committed driver. - zephyrproject-rtos#45131 Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@fujitsu.com>
Add myself as codeowner of previously committed driver. - zephyrproject-rtos#45131 Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@fujitsu.com>
Add myself as codeowner of previously committed driver. - zephyrproject-rtos#45131 Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@fujitsu.com>
Add fundamental feature support for rpi-pico's SPI peripheral.
This commit implements synchronous transfer with 8bit-MSB format.
I verified my environment with two test programs.
tests/drivers/spi/spi_loopback test is work well.
(rpi_pico seems to have a problem when running device-testing by the twister,
locally build and flashing and check console output.)
And also samples/subsys/fs/fat_fs/ works.
rp2040 datasheet says the SoC has ARM PrimeCell SSP PL022 as the SPI peripheral.
So this PL022 driver implementation can compile without rpi_pico SDK.
Optional feature are not currently implemented yet.
It is work in future.
Hardware limitation: