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

tests: drivers: pwm: pwm_api: failed on nucleo_f207zg #35108

Closed
ABOSTM opened this issue May 11, 2021 · 0 comments · Fixed by #35433
Closed

tests: drivers: pwm: pwm_api: failed on nucleo_f207zg #35108

ABOSTM opened this issue May 11, 2021 · 0 comments · Fixed by #35433
Assignees
Labels
area: PWM Pulse Width Modulation area: Tests Issues related to a particular existing or missing test bug The issue is a bug, or the PR is fixing a bug platform: STM32 ST Micro STM32 priority: low Low impact/importance bug

Comments

@ABOSTM
Copy link
Collaborator

ABOSTM commented May 11, 2021

Describe the bug
Since introduction of pwm on nucleo_f207zg (#34348),
tests/drivers/pwm/pwm_api fails on this board.
(before #34348, test was skipped)

To Reproduce
Steps to reproduce the behavior:

  1. west build -p auto -b nucleo_f207zg tests/drivers/pwm/pwm_api
  2. west flash
  3. See error

Expected behavior
test passed

Logs and console output
*** Booting Zephyr OS build zephyr-v2.5.0-2328-g679df67940c9 ***

Running test suite pwm_basic_test
===================================================================
START - test_pwm_usec
[PWM]: 1, [period]: 2000, [pulse]: 1000
Fail to set the period and pulse width

    Assertion failed at WEST_TOPDIR/zephyr/tests/drivers/pwm/pwm_api/src/test_pwm.c:140: test_pwm_usec: test_task(DEFAULT_PWM_PORT, DEFAULT_PERIOD_USEC, DEFAULT_PULSE_USEC, UNIT_USECS) == TC_PASS is false

 FAIL - test_pwm_usec in 0.26 seconds
===================================================================
START - test_pwm_nsec
[PWM]: 1, [period]: 2000000, [pulse]: 1000000
Fail to set the period and pulse width

    Assertion failed at WEST_TOPDIR/zephyr/tests/drivers/pwm/pwm_api/src/test_pwm.c:158: test_pwm_nsec: test_task(DEFAULT_PWM_PORT, DEFAULT_PERIOD_NSEC, DEFAULT_PULSE_NSEC, UNIT_NSECS) == TC_PASS is false

 FAIL - test_pwm_nsec in 0.26 seconds
===================================================================
START - test_pwm_cycle
[PWM]: 1, [period]: 64000, [pulse]: 32000
[PWM]: 1, [period]: 64000, [pulse]: 64000
[PWM]: 1, [period]: 64000, [pulse]: 0
 PASS - test_pwm_cycle in 2.11 seconds
===================================================================
Test suite pwm_basic_test failed.
===================================================================
PROJECT EXECUTION FAILED

Environment (please complete the following information):

  • OS: Windows
  • Toolchain gnuarmemb
  • Commit SHA 679df67
@ABOSTM ABOSTM added bug The issue is a bug, or the PR is fixing a bug area: PWM Pulse Width Modulation platform: STM32 ST Micro STM32 area: Tests Issues related to a particular existing or missing test labels May 11, 2021
@erwango erwango assigned FRASTM and unassigned erwango May 11, 2021
@galak galak added the priority: low Low impact/importance bug label May 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: PWM Pulse Width Modulation area: Tests Issues related to a particular existing or missing test bug The issue is a bug, or the PR is fixing a bug platform: STM32 ST Micro STM32 priority: low Low impact/importance bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants