-
Notifications
You must be signed in to change notification settings - Fork 6.5k
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
tests: drivers: spi: spi_loopback: test failed since #34731 is merged #35539
Comments
Wonder if this is effectively a duplicate of #35297 |
Similar on nucleo_f413zh, I came across this while testing an SPI device. On nucleo_f413zh it is a bit different, data in RX buffer is shifted up one octet, reverting 0129884 fixes the issue.
|
I have a similar issue with the nucleo_f767zi, as seen here #35561, where @jfischer-no pointed it out. After trying out what @jfischer-no said by reverting
This is with a nucleo_f767zi.conf as a copy of nucleof746zg.conf. |
Does anyone know of a commit state where the nucleo-f103rb or nucleo-f767zi was working for SPI? I have both boards to test with, as well as the nucleo-L152. |
This commit reverted while loop on tx only. This commit solves SPI loopback failure and SPI wrong behaviour on RX. fix: * zephyrproject-rtos#35297 * zephyrproject-rtos#35539 Revert "drivers/spi: STM32: This solves SPI infinite loop on Tranceive" This reverts commit 50c2acb. Signed-off-by: Affrin Pinhero <[email protected]>
Hi @ABOSTM, Thanks for the response. I had tried the revert earlier, which had the buffer issue I mentioned. Where 013303c4 gives the same error message, but then @FRASTM in #35561 pointed out I need to connect D11 -> D12 for the loopback to work correctly (I assumed it was doing something internal). It works, now.
|
This commit reverted while loop on tx only. This commit solves SPI loopback failure and SPI wrong behaviour on RX. fix: * #35297 * #35539 Revert "drivers/spi: STM32: This solves SPI infinite loop on Tranceive" This reverts commit 50c2acb. Signed-off-by: Affrin Pinhero <[email protected]>
Fixed by #35661 |
Describe the bug
Since merge of #34731
drivers/spi: STM32: This solves SPI infinite loop on Transceive
tests/drivers/spi/spi_loopback/ is failed on
To Reproduce
Steps to reproduce the behavior:
Expected behavior
test passed
Logs and console output
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: