Comments (2)
I'm also noticing that a number of buffers (GSTAT, RAMPSTAT, & ENC_STAT) are marked with 0x21: read, flag register (read to clear)
, when they're in fact write to clear flags. I would think these should be 0x23
, possibly even with the clear bits set in the tmc5160_defaultRegisterResetState
so the flags are cleared on reset.
from tmc-api.
The register permissions are fixed in 3f5aa4c
As for clearing bits on reset - we don't do that on purpose. We want the API to have as few side effects as possible, including not clearing flags automatically.
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
- Issues with reading XACTUAL from TMC5160 HOT 3
- 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.