-
Notifications
You must be signed in to change notification settings - Fork 707
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
Issue with DC SYNC on SBC #893
Comments
This is the DCTime delta on the Desktop PC:
|
This is the LattePanda delta DCtime :
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello,
I am not able to get the DC Sync to work on the LattePanda board using SOEM and the red_test example.
I am using exactly the same code (red_test) for both a desktop PC and the LattePanda. The desktop PC works fine and i am able to get a stable DC SYNC0 pulse. However, on the LattePanda it never works and the DC cycle time is very jittery. Both the Desktop PC and the LattePanda are running Ubuntu OS (The LattePanda is using the real time kernel, I tried with the non real time kernel and it gave me the same behavior). I am connecting to only one DC slave on the ECAT bus and using the same cables. I setup a 1khz EtherCAT cycle time.
Note that on the Slave firmware side:
Thus I ended up with the bDcSyncActive = False on the slave side when using the LattePanda (not good) :(((
Attached the wireshark on both boards.
WIRESHARK_LOG_ECAT.zip
On the LattePanda, I noticed that the delta DCtime on each iteration of the SOEM cyclic thread (ecatthread) does not make sense (too much big variation). However it does look fine (is around the 1msec cycle time) for the Desktop PC.
Thanks for your help.
The text was updated successfully, but these errors were encountered: