Skip to content
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

frdm-k22f fails tests/periph_timer #19543

Open
maribu opened this issue May 3, 2023 · 0 comments
Open

frdm-k22f fails tests/periph_timer #19543

maribu opened this issue May 3, 2023 · 0 comments
Assignees
Labels
Type: bug The issue reports a bug / The PR fixes a bug (including spelling errors)

Comments

@maribu
Copy link
Member

maribu commented May 3, 2023

Description

The low power timer of the frdm-k22f fails to pass the timer tests.

Steps to reproduce the issue

make BOARD=frdm-k22f TIMER_SPEED=32768 -C tests/periph_timer flash test

Expected results

Test passes.

Actual results

READY
s
START
main(): This is RIOT! (Version: 2023.07-devel-207-g2c8fc)

Test for peripheral TIMERs

Available timers: 3

Testing TIMER_0:
TIMER_0: initialization successful
TIMER_0: stopped
TIMER_0: set channel 0 to 5000
TIMER_0: starting
TIMER_0: channel 0 fired at SW count   538343 - init:   538343

Testing TIMER_1:
TIMER_1: initialization successful
TIMER_1: stopped
TIMER_1: set channel 0 to 5000
TIMER_1: starting
TIMER_1: channel 0 fired at SW count   538343 - init:   538343

Testing TIMER_2:
TIMER_2: initialization successful
TIMER_2: stopped
TIMER_2: set channel 0 to 5000
TIMER_2: starting
TIMER_2: channel 0 fired at SW count   538475 - init:   538475
Timeout in expect script at "child.expect('TEST SUCCEEDED')" (tests/periph_timer/tests/01-run.py:21)

make: *** [/home/maribu/Repos/software/RIOT/makefiles/tests/tests.inc.mk:26: test] Error 1
make: Leaving directory '/home/maribu/Repos/software/RIOT/tests/periph_timer'

Note: This is not just a timeout. I ran the test with make term and was waiting for seconds for a timer to fire in milliseconds before giving up.

Versions

Current master.

@maribu maribu added the Type: bug The issue reports a bug / The PR fixes a bug (including spelling errors) label May 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: bug The issue reports a bug / The PR fixes a bug (including spelling errors)
Projects
None yet
Development

No branches or pull requests

2 participants