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

Dual Core usage of D2A Library on Portenta H7 #112

Open
Roboteer1000 opened this issue Oct 30, 2022 · 0 comments
Open

Dual Core usage of D2A Library on Portenta H7 #112

Roboteer1000 opened this issue Oct 30, 2022 · 0 comments

Comments

@Roboteer1000
Copy link

Roboteer1000 commented Oct 30, 2022

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant