Coder Social home page Coder Social logo

Comments (3)

joshua-8 avatar joshua-8 commented on August 24, 2024

Hi Samir,
I've never used a TMC5160, but looking at the datasheet in section 23.1 Initialization Examples, it suggests that you can "query XACTUAL" with UART write: 0x05 0x01 0x21 0x6B so that's probably worth trying. How did you choose the 4 bytes in your data package?
Good luck,
joshua-8

from tmc-api.

hajilisamir avatar hajilisamir commented on August 24, 2024

Hi Joshua,

Thank you for your reply.

It is the similar message. 0x07 is the address instead of the 0x01 from the example. It is different since I have multiple steppers in my set up.

To give you more details about the issue; I have this messages sent in the past and I was able to read the signals correctly with Logic Analyzer, and since then I was working both on HW and SW, now something is up with which I don't understand, so steppers do not reply back. Could be a hardware issue. Here is an example when the stepper driver replied to the same 4 byte data package.

image

Till I confirm if it is a HW issue or not, do you have any clue what would be going wrong?
Everything else is working, I can move the motors and etc.

Thank you and best regards,
Samir

from tmc-api.

joshua-8 avatar joshua-8 commented on August 24, 2024

If the stepper responds to other commands just not x actual that's just strange and I'm sorry to say I have no other ideas.

Can you read from any registers?

from tmc-api.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.