-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
[BUG] /drivers/spi/spi_slave_driver.c broken - not working in master but working in old commit #13227
Comments
@FelipeMdeO in fact we cannot use SPI Tool with SPI Slave, only with SPI Master. Did you get the same example working with ESP32 using that old commit from @gustavonihei right? @fdcavalcanti @tmedicci please take a look |
Right, but we need discuss if it is an issue or a feature that we lost when power manager was added. It isn't esp32 specific. |
Hi Felipe. Not sure I get the issue. |
Exactly @fdcavalcanti, I done by @gustavonihei here: PR #3787 |
Ok, but you said it is not specific for ESP32. So I assume the same issue happens on other boards, right? So the issue is on SPI driver then? Are you proposing a fix? |
@fdcavalcanti , yes, the behavior will be the same in all boards because changes were made in So the issue is on SPI driver then? Are you proposing a fix? |
@FelipeMdeO I think it should be nice to have a SPI example, but it not necessarily means we need to have the Master and Slave working with SPI Tool. Maybe we can use the SPI Tool with the master and the create a SPI Slave to receive the data. What do you think? |
Let’s do it @acassis. |
Description / Steps to reproduce the issue
Hello all.
I cannot use spi slave in esp32 c6 dev kit.
I follower instructions in PR #3787 and using the same code in the PR I was able to reproduce PR results.
So I started track issue, and spi slave broken here, look image below:
I believe spi example cannot work using approach added in this commit because you need open spi to configure spi, what not happen when you use spi dev tool.
I tried develop app to read using open and read and it cannot work too.
On which OS does this issue occur?
[Linux]
What is the version of your OS?
Ubuntu 24
NuttX Version
master
Issue Architecture
[all]
Issue Area
[Drivers]
Verification
The text was updated successfully, but these errors were encountered: