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

TPDO and motor control conflict on B-G431B-ESC1 #76

Open
Jan57555 opened this issue Oct 23, 2024 · 1 comment
Open

TPDO and motor control conflict on B-G431B-ESC1 #76

Jan57555 opened this issue Oct 23, 2024 · 1 comment

Comments

@Jan57555
Copy link

Hi. I have a B-G431B-ESC1 and use it do drive a motor.

Now I have the following problem: when I use TPDOs, a FOC Duration Error gets triggered as soon as the MC_StartMotor1() function gets called.

I believe it has something to do with the canopen_app_interrupt() function. When deleting the canopen_app_interrupt(), no motor drive errors get triggered. But then of course TPDOs wont work anymore.

Is there a reason for this behaviour? Are these functions in conflict with each other?

Thanks for your help!

@HamedJafarzadeh
Copy link
Collaborator

Hi, you can try to reduce the the frequency of interrupt and see what happens. you might lose time accuracy on TPDO transmission.

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

2 participants