Comments (3)
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.
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.
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.
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)
- TMC6100 api is using int type assuming it's 32 bit HOT 1
- default register values don't match datasheet HOT 3
- Which document should I use under the ramp folder HOT 2
- Redefinition of ARRAY_SIZE macro HOT 1
- TMC5160 FACTORY_CONF register set to 0 during initization
- Autogenerated files in the repository HOT 1
- Ramping examples? HOT 2
- TMC429 & TMC2660
- Proposal: Create read the docs Documentation HOT 3
- Incomplete TMC2240 and TMC5240? HOT 2
- Velocity typecasting.
- Ramping down in velocity mode using TMC5160 HOT 1
- Make the SPI *_readInt and *_writeInt weak symbols
- TMC429 & TMC2660 XActual Response
- TMC-API structural migration #1 HOT 11
- #define TMC5272_MSLUT_SEL_START should be named TMC5272_MSLUT_DATA
- Some RegisterField definitions are wrong in TMC5272_HW_Abstraction.h, contains itself, must use SHIFT
- #define TMC5272_MSLUT_START_OFFSET_SIN90_FIELD wrongly defines the field value as unsigned.
- Some definitions are missing in TMC5272_HW_Abstraction.h compared to the data sheet HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tmc-api.