Skip to content

Dual Core usage of D2A Library on Portenta H7 #112

@Roboteer1000

Description

@Roboteer1000

Hello there,

I am using Dynamixel2Arduino (D2A) Library V. 0.6.1 and Arduino Core 3.4.1 for Portenta H7, and I am encountering an interesting issue:

  1. I can use D2A Library fine on EITHER Core M7 OR Core M4 by themselves.
  2. However, I cannot use D2A on both cores AT THE SAME TIME. The codes on both cores would compile OK, would run OK, except that ONLY M7 code would work correctly with D2A Method Calls. While M4 code would yield a COMMUNICATION error whenever M4 tried to WRITE/READ into the Dynamixel Network.

Is an issue with Mbed-OS? Or is it due to the way D2A Library had been written, i.e., for the case of a Single-Core Controller only?

Update 11/12/2022
After more tests, I am 100% sure that simple Read Present Position commands do not work when called from M4 Core (no error messages) but Write Goal Position/Velocity commands worked fine. Is this something that the user can fix?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions