Skip to content

NucleoF446ze CAN Configuration bug #4763

@mr63

Description

@mr63

Note: This is just a template, so feel free to use/remove the unnecessary things

Description

  • Type: Bug
  • Priority: Blocker

Bug

Target
NucleoF446ze

Toolchain:
ARM

mbed-cli version:
146:22da

Expected behavior
Set variation of CAN for sync.

Actual behavior
When value is set it is Masked out because of wrong bit mask and has no effect. Leaving the variation to 0.
Steps to reproduce

Testing from one internal channel to another has no effect as they both use the same internal clk source and are always in sync. You must connected to external CAN source and will see that most packets are not excepted.

The problem is found in the can_api.c File line 184
inside of the can_speed function.

when psjw is set it is masked out with the wrong mask value the mask value should be set to:
0x03000000.

Thank You,
Mark


Question

How to?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions