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

stm32 can2 not work properly #23623

Closed
dsh3755 opened this issue Mar 20, 2020 · 0 comments
Closed

stm32 can2 not work properly #23623

dsh3755 opened this issue Mar 20, 2020 · 0 comments
Labels
bug The issue is a bug, or the PR is fixing a bug

Comments

@dsh3755
Copy link

dsh3755 commented Mar 20, 2020

Describe the bug
can2 can be send message ,but can't receive message

To Reproduce
Steps to reproduce the behavior:

  1. dts file:
    &can2 {
    status = "okay";
    };
  2. board/myboard/kconfig.defconfig
    config CAN
    default y
    config CAN_2
    default y
    config CAN_STM32
    default y
  3. turn on can_shell
  4. west build -b myboard

Screenshots or console output
i can send any message to can bus use can shell, but can't receve any message(use can bus test tool).

or use zephyr/tests/drivers/can/stm32 tester:
booting Zephyr OS build zephyr-v2.2.0-503-gba0aea3cd3f4 ***
Running test suite can_driver
starting test - test_filter_handling;
Assertion failed at ../src/main.c:149: test_filter_handling: (filter_id_1 eq ual to CAN_NO_FREE_FILTER)
Filter full when overriding the first one
FAIL - test_filter_handling
Test suite can_driver failed.
PROJECT EXECUTION FAILED

Environment:

  • OS: ubuntu18.04
  • Toolchain Zephyr SDK
  • Version: v2.2 rc3
  • MCU: STM32F405RG
@dsh3755 dsh3755 added the bug The issue is a bug, or the PR is fixing a bug label Mar 20, 2020
@dsh3755 dsh3755 closed this as completed Mar 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug The issue is a bug, or the PR is fixing a bug
Projects
None yet
Development

No branches or pull requests

1 participant