RIOT-OS / RIOT

RIOT - The friendly OS for IoT
https://riot-os.org
GNU Lesser General Public License v2.1
4.91k stars 1.98k forks source link

[tracking] Bugs found by the peripheral selftest #20071

Open maribu opened 11 months ago

maribu commented 11 months ago

This is intended to track bugs found by the peripheral selftest, so that the bugs are not only found but eventually also fixed :)

krzysztof-cabaj commented 11 months ago

@maribu I could provide configuration for SPI in nucleo-f070rb using ONLY datasheet - I do not have access to this board.

krzysztof-cabaj commented 10 months ago

Hmmm ... I'm looking at pinout of nucleo-l152 - and Arduino D11, D12, D13 are connected to PA7, 6 and 5. This is configured in periph_conf.h and is compatible with datasheet (page 40). What I'm missing?

maribu commented 10 months ago

Hmmm ... I'm looking at pinout of nucleo-l152 - and Arduino D11, D12, D13 are connected to PA7, 6 and 5. This is configured in periph_conf.h and is compatible with datasheet (page 40). What I'm missing?

Indeed, that looks all fine.

I guess I confused it with nucleo-l433rc which indeed has configured the incorrect bus. I'll update the tracking accordingly.

maribu commented 10 months ago

So that I have this handy later on, I paste the crucial part of the test output on the nucleo-f446re here:

Starting test for GPIO-IRQ (both-edges) at tests/periph/selftest_shield/main.c:588
FAILURE in tests/periph/selftest_shield/main.c:596
FAILURE in tests/periph/selftest_shield/main.c:601
FAILURE in tests/periph/selftest_shield/main.c:606
FAILURE in tests/periph/selftest_shield/main.c:611
FAILURE in tests/periph/selftest_shield/main.c:616
FAILURE in tests/periph/selftest_shield/main.c:628
FAILURE in tests/periph/selftest_shield/main.c:632
FAILURE in tests/periph/selftest_shield/main.c:637
FAILURE in tests/periph/selftest_shield/main.c:642
[FAILED]

Note: This failure is sporadic.