Skip to content

frdm-k22f fails tests/periph_timer #19543

@maribu

Description

@maribu

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.

Metadata

Metadata

Assignees

Labels

Type: bugThe issue reports a bug / The PR fixes a bug (including spelling errors)

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions